Skip to content

Commit

Permalink
ZOOKEEPER-2209 : A .NET C# version of ZooKeeper client
Browse files Browse the repository at this point in the history
  • Loading branch information
shayhatsor committed Aug 7, 2015
1 parent 859e7d6 commit fbfc9e3
Show file tree
Hide file tree
Showing 9 changed files with 179 additions and 8 deletions.
21 changes: 20 additions & 1 deletion src/csharp/SolutionVersion.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using System;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("ZooKeeper Async Client for .NET http://zookeeper.apache.org")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using System.Reflection;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("ZooKeeperNetEx.Recipes.Tests")]
Expand Down
21 changes: 20 additions & 1 deletion src/csharp/ZooKeeperNetEx.Recipes/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using System.Reflection;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

Expand Down
19 changes: 19 additions & 0 deletions src/csharp/ZooKeeperNetEx.Tests/Assert.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using org.apache.jute;

namespace org.apache.zookeeper {
Expand Down
21 changes: 20 additions & 1 deletion src/csharp/ZooKeeperNetEx.Tests/TestsSetup.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using NUnit.Framework;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using NUnit.Framework;

namespace org.apache.zookeeper
{
Expand Down
21 changes: 20 additions & 1 deletion src/csharp/ZooKeeperNetEx/utils/asyncs/AsyncLock.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using System;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using System;
using System.Threading;
using System.Threading.Tasks;

Expand Down
21 changes: 20 additions & 1 deletion src/csharp/ZooKeeperNetEx/utils/asyncs/AsyncManualResetEvent.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using System.Threading;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using System.Threading;
using System.Threading.Tasks;

namespace org.apache.utils
Expand Down
21 changes: 20 additions & 1 deletion src/csharp/ZooKeeperNetEx/zookeeper/ClientCnxn.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using System;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
Expand Down
21 changes: 20 additions & 1 deletion src/csharp/ZooKeeperNetEx/zookeeper/ZooDefs.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using System;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* All rights reserved.
*
*/
using System;
using System.Collections.Generic;
using org.apache.zookeeper.data;

Expand Down

0 comments on commit fbfc9e3

Please sign in to comment.