You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by ve...@apache.org on 2012/08/02 18:18:12 UTC
svn commit: r1368576 [3/4] - in /incubator/etch/trunk:
binding-cpp/runtime/src/main/transport/
binding-csharp/runtime/src/main/csharp/Properties/ examples/helloworld/
examples/helloworld/c/ examples/helloworld/c/src/
examples/helloworld/c/src/main/ exa...
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldClientProj/HelloWorldClientProj.csproj (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/HelloWorldClientProj.csproj)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldClientProj/HelloWorldClientProj.csproj?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldClientProj/HelloWorldClientProj.csproj&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/HelloWorldClientProj.csproj&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/HelloWorldClientProj.csproj (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldClientProj/HelloWorldClientProj.csproj Thu Aug 2 16:18:09 2012
@@ -1,117 +1,117 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- * 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. *
- -->
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * 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. *
+ -->
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{615F95F2-A645-4BF1-8367-91756BE89514}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>org.apache.etch.examples.helloworld</RootNamespace>
- <AssemblyName>HelloWorldClient</AssemblyName>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldClient.cs">
- <Link>BaseHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldServer.cs">
- <Link>BaseHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorld.cs">
- <Link>HelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldClient.cs">
- <Link>HelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldHelper.cs">
- <Link>HelloWorldHelper.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldServer.cs">
- <Link>HelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorld.cs">
- <Link>RemoteHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldClient.cs">
- <Link>RemoteHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldServer.cs">
- <Link>RemoteHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorld.cs">
- <Link>StubHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorldClient.cs">
- <Link>StubHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorldServer.cs">
- <Link>StubHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\ValueFactoryHelloWorld.cs">
- <Link>ValueFactoryHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\org.apache.etch.examples.helloworld\ImplHelloWorldClient.cs">
- <Link>ImplHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\org.apache.etch.examples.helloworld\ImplHelloWorldServer.cs">
- <Link>ImplHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\org.apache.etch.examples.helloworld\MainHelloWorldClient.cs">
- <Link>MainHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\..\..\..\..\binding-csharp\runtime\src\main\csharp\EtchProj.csproj">
- <Project>{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}</Project>
- <Name>EtchProj</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.50727</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{615F95F2-A645-4BF1-8367-91756BE89514}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>org.apache.etch.examples.helloworld</RootNamespace>
+ <AssemblyName>HelloWorldClient</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldClient.cs">
+ <Link>BaseHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldServer.cs">
+ <Link>BaseHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorld.cs">
+ <Link>HelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldClient.cs">
+ <Link>HelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldHelper.cs">
+ <Link>HelloWorldHelper.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldServer.cs">
+ <Link>HelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorld.cs">
+ <Link>RemoteHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldClient.cs">
+ <Link>RemoteHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldServer.cs">
+ <Link>RemoteHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorld.cs">
+ <Link>StubHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorldClient.cs">
+ <Link>StubHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorldServer.cs">
+ <Link>StubHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\ValueFactoryHelloWorld.cs">
+ <Link>ValueFactoryHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\org.apache.etch.examples.helloworld\ImplHelloWorldClient.cs">
+ <Link>ImplHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\org.apache.etch.examples.helloworld\ImplHelloWorldServer.cs">
+ <Link>ImplHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\org.apache.etch.examples.helloworld\MainHelloWorldClient.cs">
+ <Link>MainHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\..\..\binding-csharp\runtime\src\main\csharp\EtchProj.csproj">
+ <Project>{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}</Project>
+ <Name>EtchProj</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldClientProj/Properties/AssemblyInfo.cs (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/Properties/AssemblyInfo.cs)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldClientProj/Properties/AssemblyInfo.cs?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldClientProj/Properties/AssemblyInfo.cs&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/Properties/AssemblyInfo.cs&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/Properties/AssemblyInfo.cs (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldClientProj/Properties/AssemblyInfo.cs Thu Aug 2 16:18:09 2012
@@ -1,48 +1,48 @@
-// 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. *
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("HelloWorld Client")]
-[assembly: AssemblyDescription("HelloWorld Client Executable")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Apache Software Foundation")]
-[assembly: AssemblyProduct("Apache Etch (incubating)")]
-[assembly: AssemblyCopyright("Copyright ? Apache Software Foundation 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("7369eb5c-6f20-4f29-866b-204e95bdb5cd")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("0.0.0.1")]
-[assembly: AssemblyFileVersion("0.0.0.1")]
+// 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. *
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("HelloWorld Client")]
+[assembly: AssemblyDescription("HelloWorld Client Executable")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Apache Software Foundation")]
+[assembly: AssemblyProduct("Apache Etch (incubating)")]
+[assembly: AssemblyCopyright("Copyright ? Apache Software Foundation 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("7369eb5c-6f20-4f29-866b-204e95bdb5cd")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+[assembly: AssemblyVersion("0.0.0.1")]
+[assembly: AssemblyFileVersion("0.0.0.1")]
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/.gitignore (from r1368575, incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/.gitignore)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/.gitignore?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/.gitignore&p1=incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/.gitignore&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/.gitignore (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/.gitignore Thu Aug 2 16:18:09 2012
@@ -1,2 +1,3 @@
-obj
-bin
+obj
+bin
+
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/HelloWorldListenerProj.csproj (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldListenerProj/HelloWorldListenerProj.csproj)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/HelloWorldListenerProj.csproj?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/HelloWorldListenerProj.csproj&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldListenerProj/HelloWorldListenerProj.csproj&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldListenerProj/HelloWorldListenerProj.csproj (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/HelloWorldListenerProj.csproj Thu Aug 2 16:18:09 2012
@@ -1,114 +1,114 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- * 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. *
- -->
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * 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. *
+ -->
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{9FD2F8D3-12C5-4C1A-AB14-437559A7E0F8}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>etch.examples.helloworld</RootNamespace>
- <AssemblyName>HelloWorldListener</AssemblyName>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldClient.cs">
- <Link>BaseHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldServer.cs">
- <Link>BaseHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorld.cs">
- <Link>HelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldClient.cs">
- <Link>HelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldHelper.cs">
- <Link>HelloWorldHelper.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldServer.cs">
- <Link>HelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorld.cs">
- <Link>RemoteHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldClient.cs">
- <Link>RemoteHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldServer.cs">
- <Link>RemoteHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorld.cs">
- <Link>StubHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorldClient.cs">
- <Link>StubHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorldServer.cs">
- <Link>StubHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\ValueFactoryHelloWorld.cs">
- <Link>ValueFactoryHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\org.apache.etch.examples.helloworld\ImplHelloWorldServer.cs">
- <Link>ImplHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\org.apache.etch.examples.helloworld\MainHelloWorldListener.cs">
- <Link>MainHelloWorldListener.cs</Link>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\..\..\..\..\binding-csharp\runtime\src\main\csharp\EtchProj.csproj">
- <Project>{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}</Project>
- <Name>EtchProj</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.50727</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{9FD2F8D3-12C5-4C1A-AB14-437559A7E0F8}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>etch.examples.helloworld</RootNamespace>
+ <AssemblyName>HelloWorldListener</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldClient.cs">
+ <Link>BaseHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldServer.cs">
+ <Link>BaseHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorld.cs">
+ <Link>HelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldClient.cs">
+ <Link>HelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldHelper.cs">
+ <Link>HelloWorldHelper.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldServer.cs">
+ <Link>HelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorld.cs">
+ <Link>RemoteHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldClient.cs">
+ <Link>RemoteHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldServer.cs">
+ <Link>RemoteHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorld.cs">
+ <Link>StubHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorldClient.cs">
+ <Link>StubHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorldServer.cs">
+ <Link>StubHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\ValueFactoryHelloWorld.cs">
+ <Link>ValueFactoryHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\org.apache.etch.examples.helloworld\ImplHelloWorldServer.cs">
+ <Link>ImplHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\org.apache.etch.examples.helloworld\MainHelloWorldListener.cs">
+ <Link>MainHelloWorldListener.cs</Link>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\..\..\binding-csharp\runtime\src\main\csharp\EtchProj.csproj">
+ <Project>{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}</Project>
+ <Name>EtchProj</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/Properties/AssemblyInfo.cs (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldListenerProj/Properties/AssemblyInfo.cs)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/Properties/AssemblyInfo.cs?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/Properties/AssemblyInfo.cs&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldListenerProj/Properties/AssemblyInfo.cs&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldListenerProj/Properties/AssemblyInfo.cs (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/HelloWorldListenerProj/Properties/AssemblyInfo.cs Thu Aug 2 16:18:09 2012
@@ -1,48 +1,48 @@
-// 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. *
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("HelloWorld Listener")]
-[assembly: AssemblyDescription("HelloWorld Listener Executable")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Apache Software Foundation")]
-[assembly: AssemblyProduct("Apache Etch (incubating)")]
-[assembly: AssemblyCopyright("Copyright ? Apache Software Foundation 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("c74cf3bd-758b-4e40-9537-e1793f0fdcce")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("0.0.0.1")]
-[assembly: AssemblyFileVersion("0.0.0.1")]
+// 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. *
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("HelloWorld Listener")]
+[assembly: AssemblyDescription("HelloWorld Listener Executable")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Apache Software Foundation")]
+[assembly: AssemblyProduct("Apache Etch (incubating)")]
+[assembly: AssemblyCopyright("Copyright ? Apache Software Foundation 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("c74cf3bd-758b-4e40-9537-e1793f0fdcce")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+[assembly: AssemblyVersion("0.0.0.1")]
+[assembly: AssemblyFileVersion("0.0.0.1")]
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/ImplHelloWorldClient.cs (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/ImplHelloWorldClient.cs)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/ImplHelloWorldClient.cs?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/ImplHelloWorldClient.cs&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/ImplHelloWorldClient.cs&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/ImplHelloWorldClient.cs (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/ImplHelloWorldClient.cs Thu Aug 2 16:18:09 2012
@@ -1,46 +1,46 @@
-// 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.
-//
-using System;
-
-
-
-using org.apache.etch.examples.helloworld.types.HelloWorld;
-
-///<summary>Your custom implementation of BaseHelloWorldClient. Add methods here to provide
-///implementation of messages from the server. </summary>
-namespace org.apache.etch.examples.helloworld
-{
- ///<summary>Implementation for ImplHelloWorldClient</summary>
- public class ImplHelloWorldClient : BaseHelloWorldClient
- {
- /// <summary>Constructs the ImplHelloWorldClient.</summary>
- /// <param name="server">a connection to the server session. Use this to
- /// send a message to the server.</param>
- public ImplHelloWorldClient(RemoteHelloWorldServer server)
- {
- this.server = server;
- }
-
- /// <summary>A connection to the server session. Use this to
- /// send a message to the server.</summary>
- private readonly RemoteHelloWorldServer server;
-
- // TODO: Implement delegates or provide implementation of HelloWorldClient
- // messages from the server
- }
-}
+// 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.
+//
+using System;
+
+
+
+using org.apache.etch.examples.helloworld.types.HelloWorld;
+
+///<summary>Your custom implementation of BaseHelloWorldClient. Add methods here to provide
+///implementation of messages from the server. </summary>
+namespace org.apache.etch.examples.helloworld
+{
+ ///<summary>Implementation for ImplHelloWorldClient</summary>
+ public class ImplHelloWorldClient : BaseHelloWorldClient
+ {
+ /// <summary>Constructs the ImplHelloWorldClient.</summary>
+ /// <param name="server">a connection to the server session. Use this to
+ /// send a message to the server.</param>
+ public ImplHelloWorldClient(RemoteHelloWorldServer server)
+ {
+ this.server = server;
+ }
+
+ /// <summary>A connection to the server session. Use this to
+ /// send a message to the server.</summary>
+ private readonly RemoteHelloWorldServer server;
+
+ // TODO: Implement delegates or provide implementation of HelloWorldClient
+ // messages from the server
+ }
+}
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/ImplHelloWorldServer.cs (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/ImplHelloWorldServer.cs)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/ImplHelloWorldServer.cs?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/ImplHelloWorldServer.cs&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/ImplHelloWorldServer.cs&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/ImplHelloWorldServer.cs (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/ImplHelloWorldServer.cs Thu Aug 2 16:18:09 2012
@@ -1,51 +1,51 @@
-// 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.
-//
-
-using System;
-
-
-
-using org.apache.etch.examples.helloworld.types.HelloWorld;
-
-///<summary>Your custom implementation of BaseHelloWorldServer. Add methods here to provide
-///implementation of messages from the client. </summary>
-namespace org.apache.etch.examples.helloworld
-{
- ///<summary>Implementation for ImplHelloWorldServer</summary>
- public class ImplHelloWorldServer : BaseHelloWorldServer
- {
- /// <summary>Constructs the ImplHelloWorldServer.</summary>
- /// <param name="client">a connection to the client session. Use this to
- /// send a message to the client.</param>
- public ImplHelloWorldServer(RemoteHelloWorldClient client)
- {
- this.client = client;
- }
-
- /// <summary>A connection to the client session. Use this to
- /// send a message to the client.</summary>
- private readonly RemoteHelloWorldClient client;
-
- public override string say_hello (
- org.apache.etch.examples.helloworld.types.HelloWorld.user to_whom
- )
- {
- return "Hello " + to_whom.name;
- }
- }
-}
+// 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.
+//
+
+using System;
+
+
+
+using org.apache.etch.examples.helloworld.types.HelloWorld;
+
+///<summary>Your custom implementation of BaseHelloWorldServer. Add methods here to provide
+///implementation of messages from the client. </summary>
+namespace org.apache.etch.examples.helloworld
+{
+ ///<summary>Implementation for ImplHelloWorldServer</summary>
+ public class ImplHelloWorldServer : BaseHelloWorldServer
+ {
+ /// <summary>Constructs the ImplHelloWorldServer.</summary>
+ /// <param name="client">a connection to the client session. Use this to
+ /// send a message to the client.</param>
+ public ImplHelloWorldServer(RemoteHelloWorldClient client)
+ {
+ this.client = client;
+ }
+
+ /// <summary>A connection to the client session. Use this to
+ /// send a message to the client.</summary>
+ private readonly RemoteHelloWorldClient client;
+
+ public override string say_hello (
+ org.apache.etch.examples.helloworld.types.HelloWorld.user to_whom
+ )
+ {
+ return "Hello " + to_whom.name;
+ }
+ }
+}
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/MainHelloWorldClient.cs (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/MainHelloWorldClient.cs)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/MainHelloWorldClient.cs?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/MainHelloWorldClient.cs&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/MainHelloWorldClient.cs&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/MainHelloWorldClient.cs (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/MainHelloWorldClient.cs Thu Aug 2 16:18:09 2012
@@ -1,57 +1,57 @@
-// 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.
-//
-
-using System;
-
-using org.apache.etch.examples.helloworld.types.HelloWorld;
-
-namespace org.apache.etch.examples.helloworld
-{
- ///<summary>Main implementation for HelloWorldClient.</summary>
- public class MainHelloWorldClient : HelloWorldHelper.HelloWorldClientFactory
- {
- ///<summary>Main for HelloWorldClient</summary>
- ///<param name="args">Command Line Arguments</param>
- public static void Main(String[] args)
- {
- // TODO: Change to correct URI
- //string uri = "udp://127.0.0.1:4001";
- string uri = "tcp://127.0.0.1:4001";
-
- RemoteHelloWorldServer server = HelloWorldHelper.NewServer( uri, null, new MainHelloWorldClient());
-
- // Connect to the service
- server._StartAndWaitUp( 4000 );
-
- org.apache.etch.examples.helloworld.types.HelloWorld.user theUser = new user(5,"User");
- string s = server.say_hello(theUser);
- Console.Write(s);
-
- // Disconnect from the service
- server._StopAndWaitDown( 4000 );
- }
-
- ///<summary>Return a new instance of HelloWorldClient.</summary>
- ///<param name="server">Reference to remote service</param>
- ///<returns>Client Implementation</returns>
- public HelloWorldClient NewHelloWorldClient( RemoteHelloWorldServer server )
- {
- return new ImplHelloWorldClient( server );
- }
- }
-}
+// 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.
+//
+
+using System;
+
+using org.apache.etch.examples.helloworld.types.HelloWorld;
+
+namespace org.apache.etch.examples.helloworld
+{
+ ///<summary>Main implementation for HelloWorldClient.</summary>
+ public class MainHelloWorldClient : HelloWorldHelper.HelloWorldClientFactory
+ {
+ ///<summary>Main for HelloWorldClient</summary>
+ ///<param name="args">Command Line Arguments</param>
+ public static void Main(String[] args)
+ {
+ // TODO: Change to correct URI
+ //string uri = "udp://127.0.0.1:4001";
+ string uri = "tcp://127.0.0.1:4001";
+
+ RemoteHelloWorldServer server = HelloWorldHelper.NewServer( uri, null, new MainHelloWorldClient());
+
+ // Connect to the service
+ server._StartAndWaitUp( 4000 );
+
+ org.apache.etch.examples.helloworld.types.HelloWorld.user theUser = new user(5,"User");
+ string s = server.say_hello(theUser);
+ Console.Write(s);
+
+ // Disconnect from the service
+ server._StopAndWaitDown( 4000 );
+ }
+
+ ///<summary>Return a new instance of HelloWorldClient.</summary>
+ ///<param name="server">Reference to remote service</param>
+ ///<returns>Client Implementation</returns>
+ public HelloWorldClient NewHelloWorldClient( RemoteHelloWorldServer server )
+ {
+ return new ImplHelloWorldClient( server );
+ }
+ }
+}
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/MainHelloWorldListener.cs (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/MainHelloWorldListener.cs)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/MainHelloWorldListener.cs?p2=incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/MainHelloWorldListener.cs&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/MainHelloWorldListener.cs&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/org.apache.etch.examples.helloworld/MainHelloWorldListener.cs (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/main/org.apache.etch.examples.helloworld/MainHelloWorldListener.cs Thu Aug 2 16:18:09 2012
@@ -1,52 +1,52 @@
-// 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.
-//
-using System;
-
-using Org.Apache.Etch.Bindings.Csharp.Support;
-using Org.Apache.Etch.Bindings.Csharp.Util;
-
-using org.apache.etch.examples.helloworld.types.HelloWorld;
-
-namespace org.apache.etch.examples.helloworld
-{
- ///<summary>Main implementation for HelloWorldListener.</summary>
- public class MainHelloWorldListener : HelloWorldHelper.HelloWorldServerFactory
- {
- ///<summary>Main for HelloWorldListener.</summary>
- ///<param name="args">Command Line Arguments</param>
- public static void Main(String[] args)
- {
- // TODO: Change to correct URI
- //string uri = "udp://127.0.0.1:4001";
- string uri = "tcp://127.0.0.1:4001";
-
- ServerFactory listener = HelloWorldHelper.NewListener( uri, null, new MainHelloWorldListener());
-
- // Start the Listener
- listener.TransportControl( TransportConsts.START_AND_WAIT_UP, 400000 );
- }
-
- ///<summary>Return a new instance of HelloWorldServer.</summary>
- ///<param name="client">Reference to remote service</param>
- ///<returns>Server Implementation</returns>
- public HelloWorldServer NewHelloWorldServer( RemoteHelloWorldClient client )
- {
- return new ImplHelloWorldServer( client );
- }
- }
-}
+// 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.
+//
+using System;
+
+using Org.Apache.Etch.Bindings.Csharp.Support;
+using Org.Apache.Etch.Bindings.Csharp.Util;
+
+using org.apache.etch.examples.helloworld.types.HelloWorld;
+
+namespace org.apache.etch.examples.helloworld
+{
+ ///<summary>Main implementation for HelloWorldListener.</summary>
+ public class MainHelloWorldListener : HelloWorldHelper.HelloWorldServerFactory
+ {
+ ///<summary>Main for HelloWorldListener.</summary>
+ ///<param name="args">Command Line Arguments</param>
+ public static void Main(String[] args)
+ {
+ // TODO: Change to correct URI
+ //string uri = "udp://127.0.0.1:4001";
+ string uri = "tcp://127.0.0.1:4001";
+
+ ServerFactory listener = HelloWorldHelper.NewListener( uri, null, new MainHelloWorldListener());
+
+ // Start the Listener
+ listener.TransportControl( TransportConsts.START_AND_WAIT_UP, 400000 );
+ }
+
+ ///<summary>Return a new instance of HelloWorldServer.</summary>
+ ///<param name="client">Reference to remote service</param>
+ ///<returns>Server Implementation</returns>
+ public HelloWorldServer NewHelloWorldServer( RemoteHelloWorldClient client )
+ {
+ return new ImplHelloWorldServer( client );
+ }
+ }
+}
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/.gitignore (from r1368575, incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/.gitignore)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/.gitignore?p2=incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/.gitignore&p1=incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/.gitignore&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/main/csharp/HelloWorldClientProj/.gitignore (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/.gitignore Thu Aug 2 16:18:09 2012
@@ -1,2 +1,2 @@
-obj
-bin
+obj
+bin
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/HelloWorldTestProj.csproj (from r1368575, incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/HelloWorldTestProj.csproj)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/HelloWorldTestProj.csproj?p2=incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/HelloWorldTestProj.csproj&p1=incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/HelloWorldTestProj.csproj&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/HelloWorldTestProj.csproj (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/HelloWorldTestProj.csproj Thu Aug 2 16:18:09 2012
@@ -1,129 +1,129 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- * 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. *
- -->
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * 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. *
+ -->
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{E3676B8F-6BBB-4A7E-A48F-74BBB694F6B2}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>HelloWorldTestProj</RootNamespace>
- <AssemblyName>HelloWorldTestProj</AssemblyName>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.50727</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{E3676B8F-6BBB-4A7E-A48F-74BBB694F6B2}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>HelloWorldTestProj</RootNamespace>
+ <AssemblyName>HelloWorldTestProj</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
<Reference Include="nunit.framework, Version=2.5.9.10348, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<HintPath>$(NUNIT_HOME)\bin\net-2.0\nunit.framework.dll</HintPath>
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldClient.cs">
- <Link>BaseHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldServer.cs">
- <Link>BaseHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorld.cs">
- <Link>HelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldClient.cs">
- <Link>HelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldHelper.cs">
- <Link>HelloWorldHelper.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\HelloWorldServer.cs">
- <Link>HelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorld.cs">
- <Link>RemoteHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldClient.cs">
- <Link>RemoteHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldServer.cs">
- <Link>RemoteHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorld.cs">
- <Link>StubHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorldClient.cs">
- <Link>StubHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\StubHelloWorldServer.cs">
- <Link>StubHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.examples.helloworld\ValueFactoryHelloWorld.cs">
- <Link>ValueFactoryHelloWorld.cs</Link>
- </Compile>
- <Compile Include="..\..\..\main\csharp\org.apache.etch.examples.helloworld\ImplHelloWorldClient.cs">
- <Link>ImplHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\main\csharp\org.apache.etch.examples.helloworld\ImplHelloWorldServer.cs">
- <Link>ImplHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\main\csharp\org.apache.etch.examples.helloworld\MainHelloWorldClient.cs">
- <Link>MainHelloWorldClient.cs</Link>
- </Compile>
- <Compile Include="..\..\..\main\csharp\org.apache.etch.examples.helloworld\MainHelloWorldListener.cs">
- <Link>MainHelloWorldListener.cs</Link>
- </Compile>
- <Compile Include="..\org.apache.etch.examples.helloworld\TestHelloWorldServer.cs">
- <Link>TestHelloWorldServer.cs</Link>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\..\..\..\..\binding-csharp\runtime\src\main\csharp\EtchProj.csproj">
- <Project>{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}</Project>
- <Name>EtchProj</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
+ <SpecificVersion>False</SpecificVersion>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldClient.cs">
+ <Link>BaseHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\BaseHelloWorldServer.cs">
+ <Link>BaseHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorld.cs">
+ <Link>HelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldClient.cs">
+ <Link>HelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldHelper.cs">
+ <Link>HelloWorldHelper.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\HelloWorldServer.cs">
+ <Link>HelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorld.cs">
+ <Link>RemoteHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldClient.cs">
+ <Link>RemoteHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\RemoteHelloWorldServer.cs">
+ <Link>RemoteHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorld.cs">
+ <Link>StubHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorldClient.cs">
+ <Link>StubHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\StubHelloWorldServer.cs">
+ <Link>StubHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\..\target\generated-sources\csharp\org.apache.etch.examples.helloworld\ValueFactoryHelloWorld.cs">
+ <Link>ValueFactoryHelloWorld.cs</Link>
+ </Compile>
+ <Compile Include="..\..\main\org.apache.etch.examples.helloworld\ImplHelloWorldClient.cs">
+ <Link>ImplHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\main\org.apache.etch.examples.helloworld\ImplHelloWorldServer.cs">
+ <Link>ImplHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="..\..\main\org.apache.etch.examples.helloworld\MainHelloWorldClient.cs">
+ <Link>MainHelloWorldClient.cs</Link>
+ </Compile>
+ <Compile Include="..\..\main\org.apache.etch.examples.helloworld\MainHelloWorldListener.cs">
+ <Link>MainHelloWorldListener.cs</Link>
+ </Compile>
+ <Compile Include="..\org.apache.etch.examples.helloworld\TestHelloWorldServer.cs">
+ <Link>TestHelloWorldServer.cs</Link>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\..\..\binding-csharp\runtime\src\main\csharp\EtchProj.csproj">
+ <Project>{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}</Project>
+ <Name>EtchProj</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/Properties/AssemblyInfo.cs (from r1368575, incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/Properties/AssemblyInfo.cs)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/Properties/AssemblyInfo.cs?p2=incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/Properties/AssemblyInfo.cs&p1=incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/Properties/AssemblyInfo.cs&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/test/csharp/HelloWorldTestProj/Properties/AssemblyInfo.cs (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/test/HelloWorldTestProj/Properties/AssemblyInfo.cs Thu Aug 2 16:18:09 2012
@@ -1,50 +1,50 @@
-// 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. *
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("HelloWorldTestProj")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Apache Software Foundation")]
-[assembly: AssemblyProduct("Apache Etch (incubating)")]
-[assembly: AssemblyCopyright("Copyright ? Apache Software Foundation 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("281472ff-b634-4e2a-93dd-9591e7b875f6")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+// 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. *
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("HelloWorldTestProj")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Apache Software Foundation")]
+[assembly: AssemblyProduct("Apache Etch (incubating)")]
+[assembly: AssemblyCopyright("Copyright ? Apache Software Foundation 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("281472ff-b634-4e2a-93dd-9591e7b875f6")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
Copied: incubator/etch/trunk/examples/helloworld/csharp/src/test/org.apache.etch.examples.helloworld/TestHelloWorldServer.cs (from r1368575, incubator/etch/trunk/examples/helloworld/src/test/csharp/org.apache.etch.examples.helloworld/TestHelloWorldServer.cs)
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/helloworld/csharp/src/test/org.apache.etch.examples.helloworld/TestHelloWorldServer.cs?p2=incubator/etch/trunk/examples/helloworld/csharp/src/test/org.apache.etch.examples.helloworld/TestHelloWorldServer.cs&p1=incubator/etch/trunk/examples/helloworld/src/test/csharp/org.apache.etch.examples.helloworld/TestHelloWorldServer.cs&r1=1368575&r2=1368576&rev=1368576&view=diff
==============================================================================
--- incubator/etch/trunk/examples/helloworld/src/test/csharp/org.apache.etch.examples.helloworld/TestHelloWorldServer.cs (original)
+++ incubator/etch/trunk/examples/helloworld/csharp/src/test/org.apache.etch.examples.helloworld/TestHelloWorldServer.cs Thu Aug 2 16:18:09 2012
@@ -1,99 +1,99 @@
-// $Id: TestHelloWorldServer.cs 743358 2009-02-11 15:18:15Z sccomer $
-//
-// 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.
-//
-using System;
-using Org.Apache.Etch.Bindings.Csharp.Support;
-using Org.Apache.Etch.Bindings.Csharp.Util;
-using NUnit.Framework;
-using org.apache.etch.examples.helloworld.types.HelloWorld;
-
-namespace org.apache.etch.examples.helloworld
-{
-
- /// <summary>
- /// Unit Tests to test HelloWorld
- /// </summary>
- ///
- [TestFixture]
- public class TestHelloWorldServer
- {
- private static RemoteHelloWorldServer server;
-
- private static ServerFactory listener;
-
- [TestFixtureSetUp]
- public void StartListener()
- {
- String uri = "tcp://localhost:4010";
-
- MainHelloWorldListener implFactory = new MainHelloWorldListener();
- listener = HelloWorldHelper.NewListener(uri, null, implFactory);
-
- listener.TransportControl(TransportConsts.START_AND_WAIT_UP, 4000);
-
- Console.WriteLine("Listener Started");
-
- }
-
- [SetUp]
- public void MakeConnection()
- {
- String uri = "tcp://localhost:4010";
-
- MainHelloWorldClient client = new MainHelloWorldClient();
- server = HelloWorldHelper.NewServer(uri, null, client);
-
- server._StartAndWaitUp(4000);
- }
-
- [Test]
- public void CheckConnection()
- {
- Assert.IsNotNull(server);
- }
-
- [Test]
- public void TestSayHallo()
- {
- org.apache.etch.examples.helloworld.types.HelloWorld.user theUser = new user(15,"Test");
- string s = server.say_hello(theUser);
- Assert.AreEqual(s, "Hello Test");
- }
-
- [TearDown]
- public void CloseConnection()
- {
- if (server != null)
- {
- server._Stop();
- }
- }
-
- [TestFixtureTearDown]
- public void StopListener()
- {
- if (listener != null)
- {
- listener.TransportControl(TransportConsts.STOP_AND_WAIT_DOWN, 4000);
- listener = null;
- }
- }
-
- }
-}
+// $Id: TestHelloWorldServer.cs 743358 2009-02-11 15:18:15Z sccomer $
+//
+// 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.
+//
+using System;
+using Org.Apache.Etch.Bindings.Csharp.Support;
+using Org.Apache.Etch.Bindings.Csharp.Util;
+using NUnit.Framework;
+using org.apache.etch.examples.helloworld.types.HelloWorld;
+
+namespace org.apache.etch.examples.helloworld
+{
+
+ /// <summary>
+ /// Unit Tests to test HelloWorld
+ /// </summary>
+ ///
+ [TestFixture]
+ public class TestHelloWorldServer
+ {
+ private static RemoteHelloWorldServer server;
+
+ private static ServerFactory listener;
+
+ [TestFixtureSetUp]
+ public void StartListener()
+ {
+ String uri = "tcp://localhost:4010";
+
+ MainHelloWorldListener implFactory = new MainHelloWorldListener();
+ listener = HelloWorldHelper.NewListener(uri, null, implFactory);
+
+ listener.TransportControl(TransportConsts.START_AND_WAIT_UP, 4000);
+
+ Console.WriteLine("Listener Started");
+
+ }
+
+ [SetUp]
+ public void MakeConnection()
+ {
+ String uri = "tcp://localhost:4010";
+
+ MainHelloWorldClient client = new MainHelloWorldClient();
+ server = HelloWorldHelper.NewServer(uri, null, client);
+
+ server._StartAndWaitUp(4000);
+ }
+
+ [Test]
+ public void CheckConnection()
+ {
+ Assert.IsNotNull(server);
+ }
+
+ [Test]
+ public void TestSayHallo()
+ {
+ org.apache.etch.examples.helloworld.types.HelloWorld.user theUser = new user(15,"Test");
+ string s = server.say_hello(theUser);
+ Assert.AreEqual(s, "Hello Test");
+ }
+
+ [TearDown]
+ public void CloseConnection()
+ {
+ if (server != null)
+ {
+ server._Stop();
+ }
+ }
+
+ [TestFixtureTearDown]
+ public void StopListener()
+ {
+ if (listener != null)
+ {
+ listener.TransportControl(TransportConsts.STOP_AND_WAIT_DOWN, 4000);
+ listener = null;
+ }
+ }
+
+ }
+}