diff options
58 files changed, 138 insertions, 30943 deletions
diff --git a/cs/test/Ice/adapterDeactivation/adapterDeactivation.csproj b/cs/test/Ice/adapterDeactivation/adapterDeactivation.csproj index 692fcf1367e..2ad10babad3 100644 --- a/cs/test/Ice/adapterDeactivation/adapterDeactivation.csproj +++ b/cs/test/Ice/adapterDeactivation/adapterDeactivation.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -108,7 +108,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/adapterDeactivation/generated/sl/.gitignore b/cs/test/Ice/adapterDeactivation/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/adapterDeactivation/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/ami/ami.csproj b/cs/test/Ice/ami/ami.csproj index 9ad592fd1ff..70c5fc4c222 100644 --- a/cs/test/Ice/ami/ami.csproj +++ b/cs/test/Ice/ami/ami.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/ami/generated/sl/.gitignore b/cs/test/Ice/ami/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/ami/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/binding/binding.csproj b/cs/test/Ice/binding/binding.csproj index 75ea7a82cb0..48b6a2f87da 100644 --- a/cs/test/Ice/binding/binding.csproj +++ b/cs/test/Ice/binding/binding.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/binding/generated/sl/.gitignore b/cs/test/Ice/binding/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/binding/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/defaultValue/defaultValue.csproj b/cs/test/Ice/defaultValue/defaultValue.csproj index 6f760aa275e..53da3a88fcc 100644 --- a/cs/test/Ice/defaultValue/defaultValue.csproj +++ b/cs/test/Ice/defaultValue/defaultValue.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/defaultValue/generated/sl/.gitignore b/cs/test/Ice/defaultValue/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/defaultValue/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/dictMapping/dictMapping.csproj b/cs/test/Ice/dictMapping/dictMapping.csproj index c7160aad350..8921cc2fd5f 100644 --- a/cs/test/Ice/dictMapping/dictMapping.csproj +++ b/cs/test/Ice/dictMapping/dictMapping.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Twoways.cs" /> <Compile Include="TwowaysAMI.cs" /> @@ -112,7 +112,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/dictMapping/generated/sl/.gitignore b/cs/test/Ice/dictMapping/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/dictMapping/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/dispatcher/dispatcher.csproj b/cs/test/Ice/dispatcher/dispatcher.csproj index d5773d8467c..30aed9f7d40 100644 --- a/cs/test/Ice/dispatcher/dispatcher.csproj +++ b/cs/test/Ice/dispatcher/dispatcher.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -75,7 +75,7 @@ <DependentUpon>App.xaml</DependentUpon> </Compile> <Compile Include="Dispatcher.cs" /> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -110,7 +110,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/dispatcher/generated/sl/.gitignore b/cs/test/Ice/dispatcher/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/dispatcher/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/enums/AppManifest.xaml b/cs/test/Ice/enums/AppManifest.xaml index 006e6f19047..21baba2d0e4 100644 --- a/cs/test/Ice/enums/AppManifest.xaml +++ b/cs/test/Ice/enums/AppManifest.xaml @@ -16,4 +16,4 @@ <AssemblyPart x:Name="Ice" Source="Ice.dll" /> <AssemblyPart x:Name="TestCommon" Source="TestCommon.dll" /> </Deployment.Parts> -</Deployment> +</Deployment>
\ No newline at end of file diff --git a/cs/test/Ice/enums/Test.cs b/cs/test/Ice/enums/Test.cs deleted file mode 100644 index 6f0b35f822a..00000000000 --- a/cs/test/Ice/enums/Test.cs +++ /dev/null @@ -1,2036 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2012 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** -// -// Ice version 3.5b -// -// <auto-generated> -// -// Generated from file `Test.ice' -// -// Warning: do not edit this file. -// -// </auto-generated> -// - - -using _System = global::System; -using _Microsoft = global::Microsoft; - -#pragma warning disable 1591 - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class ByteConst1 - { - public const byte value = 10; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class ShortConst1 - { - public const short value = 20; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class IntConst1 - { - public const int value = 30; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class LongConst1 - { - public const long value = 40L; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class ByteConst2 - { - public const byte value = 126; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class ShortConst2 - { - public const short value = 32766; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class IntConst2 - { - public const int value = 2147483647; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class LongConst2 - { - public const long value = 2147483646L; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public enum ByteEnum - { - benum1 = 0, - benum2 = 1, - benum3 = 10, - benum4 = 11, - benum5 = 20, - benum6 = 21, - benum7 = 30, - benum8 = 31, - benum9 = 40, - benum10 = 41, - benum11 = 126 - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class ByteEnumHelper - { - public static void write(Ice.OutputStream outS__, Test.ByteEnum v__) - { - if((int)v__ < 0 || (int)v__ > 126) - { - throw new Ice.MarshalException("enumerator out of range"); - } - outS__.writeEnum((int)v__, 126); - } - - public static Test.ByteEnum read(Ice.InputStream inS__) - { - Test.ByteEnum v__; - v__ = (Test.ByteEnum)inS__.readEnum(126); - if((int)v__ < 0 || (int)v__ > 126) - { - throw new Ice.MarshalException("enumerator out of range"); - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public enum ShortEnum - { - senum1 = 3, - senum2 = 4, - senum3 = 10, - senum4 = 11, - senum5 = 20, - senum6 = 21, - senum7 = 30, - senum8 = 31, - senum9 = 40, - senum10 = 41, - senum11 = 32766 - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class ShortEnumHelper - { - public static void write(Ice.OutputStream outS__, Test.ShortEnum v__) - { - if((int)v__ < 3 || (int)v__ > 32766) - { - throw new Ice.MarshalException("enumerator out of range"); - } - outS__.writeEnum((int)v__, 32766); - } - - public static Test.ShortEnum read(Ice.InputStream inS__) - { - Test.ShortEnum v__; - v__ = (Test.ShortEnum)inS__.readEnum(32766); - if((int)v__ < 3 || (int)v__ > 32766) - { - throw new Ice.MarshalException("enumerator out of range"); - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public enum IntEnum - { - ienum1 = 0, - ienum2 = 1, - ienum3 = 10, - ienum4 = 11, - ienum5 = 20, - ienum6 = 21, - ienum7 = 30, - ienum8 = 31, - ienum9 = 40, - ienum10 = 41, - ienum11 = 2147483647, - ienum12 = 2147483646 - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class IntEnumHelper - { - public static void write(Ice.OutputStream outS__, Test.IntEnum v__) - { - if((int)v__ < 0 || (int)v__ > 2147483647) - { - throw new Ice.MarshalException("enumerator out of range"); - } - outS__.writeEnum((int)v__, 2147483647); - } - - public static Test.IntEnum read(Ice.InputStream inS__) - { - Test.IntEnum v__; - v__ = (Test.IntEnum)inS__.readEnum(2147483647); - if((int)v__ < 0 || (int)v__ > 2147483647) - { - throw new Ice.MarshalException("enumerator out of range"); - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public enum SimpleEnum - { - red, - green, - blue - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class SimpleEnumHelper - { - public static void write(Ice.OutputStream outS__, Test.SimpleEnum v__) - { - if((int)v__ < 0 || (int)v__ > 2) - { - throw new Ice.MarshalException("enumerator out of range"); - } - outS__.writeEnum((int)v__, 2); - } - - public static Test.SimpleEnum read(Ice.InputStream inS__) - { - Test.SimpleEnum v__; - v__ = (Test.SimpleEnum)inS__.readEnum(2); - if((int)v__ < 0 || (int)v__ > 2) - { - throw new Ice.MarshalException("enumerator out of range"); - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class TestIntfHelper - { - public TestIntfHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.TestIntf>("::Test::TestIntf"); - } - - public static void write(Ice.OutputStream outS__, TestIntf v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.TestIntf value - { - get - { - return (Test.TestIntf)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.TestIntf> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial interface TestIntf : Ice.Object, TestIntfOperations_, TestIntfOperationsNC_ - { - } -} - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_TestIntf_opByte(Test.ByteEnum ret__, Test.ByteEnum b2); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_TestIntf_opShort(Test.ShortEnum ret__, Test.ShortEnum s2); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_TestIntf_opInt(Test.IntEnum ret__, Test.IntEnum i2); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_TestIntf_opSimple(Test.SimpleEnum ret__, Test.SimpleEnum s2); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_TestIntf_shutdown(); -} - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface TestIntfPrx : Ice.ObjectPrx - { - Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2); - Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_TestIntf_opByte> begin_opByte(Test.ByteEnum b1); - Ice.AsyncResult<Test.Callback_TestIntf_opByte> begin_opByte(Test.ByteEnum b1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opByte(Test.ByteEnum b1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opByte(Test.ByteEnum b1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Test.ByteEnum end_opByte(out Test.ByteEnum b2, Ice.AsyncResult r__); - - Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2); - Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_TestIntf_opShort> begin_opShort(Test.ShortEnum s1); - Ice.AsyncResult<Test.Callback_TestIntf_opShort> begin_opShort(Test.ShortEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opShort(Test.ShortEnum s1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opShort(Test.ShortEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Test.ShortEnum end_opShort(out Test.ShortEnum s2, Ice.AsyncResult r__); - - Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2); - Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_TestIntf_opInt> begin_opInt(Test.IntEnum i1); - Ice.AsyncResult<Test.Callback_TestIntf_opInt> begin_opInt(Test.IntEnum i1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opInt(Test.IntEnum i1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opInt(Test.IntEnum i1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Test.IntEnum end_opInt(out Test.IntEnum i2, Ice.AsyncResult r__); - - Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2); - Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_TestIntf_opSimple> begin_opSimple(Test.SimpleEnum s1); - Ice.AsyncResult<Test.Callback_TestIntf_opSimple> begin_opSimple(Test.SimpleEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opSimple(Test.SimpleEnum s1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opSimple(Test.SimpleEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Test.SimpleEnum end_opSimple(out Test.SimpleEnum s2, Ice.AsyncResult r__); - - void shutdown(); - void shutdown(_System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_TestIntf_shutdown> begin_shutdown(); - Ice.AsyncResult<Test.Callback_TestIntf_shutdown> begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_shutdown(Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - void end_shutdown(Ice.AsyncResult r__); - } -} - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface TestIntfOperations_ - { - Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2, Ice.Current current__); - - Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2, Ice.Current current__); - - Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2, Ice.Current current__); - - Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2, Ice.Current current__); - - void shutdown(Ice.Current current__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface TestIntfOperationsNC_ - { - Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2); - - Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2); - - Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2); - - Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2); - - void shutdown(); - } -} - -namespace Test -{ - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class TestIntfPrxHelper : Ice.ObjectPrxHelperBase, TestIntfPrx - { - #region Synchronous operations - - public Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2) - { - return opByte(b1, out b2, null, false); - } - - public Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opByte(b1, out b2, context__, true); - } - - private Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opByte_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opByte_name); - delBase__ = getDelegate__(false); - TestIntfDel_ del__ = (TestIntfDel_)delBase__; - return del__.opByte(b1, out b2, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2) - { - return opInt(i1, out i2, null, false); - } - - public Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opInt(i1, out i2, context__, true); - } - - private Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opInt_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opInt_name); - delBase__ = getDelegate__(false); - TestIntfDel_ del__ = (TestIntfDel_)delBase__; - return del__.opInt(i1, out i2, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2) - { - return opShort(s1, out s2, null, false); - } - - public Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opShort(s1, out s2, context__, true); - } - - private Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opShort_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opShort_name); - delBase__ = getDelegate__(false); - TestIntfDel_ del__ = (TestIntfDel_)delBase__; - return del__.opShort(s1, out s2, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2) - { - return opSimple(s1, out s2, null, false); - } - - public Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opSimple(s1, out s2, context__, true); - } - - private Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opSimple_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opSimple_name); - delBase__ = getDelegate__(false); - TestIntfDel_ del__ = (TestIntfDel_)delBase__; - return del__.opSimple(s1, out s2, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public void shutdown() - { - shutdown(null, false); - } - - public void shutdown(_System.Collections.Generic.Dictionary<string, string> context__) - { - shutdown(context__, true); - } - - private void shutdown(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __shutdown_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - delBase__ = getDelegate__(false); - TestIntfDel_ del__ = (TestIntfDel_)delBase__; - del__.shutdown(context__, observer__); - return; - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - #endregion - - #region Asynchronous operations - - public Ice.AsyncResult<Test.Callback_TestIntf_opByte> begin_opByte(Test.ByteEnum b1) - { - return begin_opByte(b1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_TestIntf_opByte> begin_opByte(Test.ByteEnum b1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opByte(b1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opByte(Test.ByteEnum b1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opByte(b1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opByte(Test.ByteEnum b1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opByte(b1, ctx__, true, cb__, cookie__); - } - - private const string __opByte_name = "opByte"; - - public Test.ByteEnum end_opByte(out Test.ByteEnum b2, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opByte_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Test.ByteEnum ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - b2 = (Test.ByteEnum)is__.readEnum(126); - ret__ = (Test.ByteEnum)is__.readEnum(126); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_TestIntf_opByte> begin_opByte(Test.ByteEnum b1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opByte_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_TestIntf_opByte> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_TestIntf_opByte>(this, __opByte_name, opByte_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opByte_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)b1, 126); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opByte_completed__(Ice.AsyncResult r__, Test.Callback_TestIntf_opByte cb__, Ice.ExceptionCallback excb__) - { - Test.ByteEnum b2; - Test.ByteEnum ret__; - try - { - ret__ = end_opByte(out b2, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, b2); - } - } - - public Ice.AsyncResult<Test.Callback_TestIntf_opInt> begin_opInt(Test.IntEnum i1) - { - return begin_opInt(i1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_TestIntf_opInt> begin_opInt(Test.IntEnum i1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opInt(i1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opInt(Test.IntEnum i1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opInt(i1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opInt(Test.IntEnum i1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opInt(i1, ctx__, true, cb__, cookie__); - } - - private const string __opInt_name = "opInt"; - - public Test.IntEnum end_opInt(out Test.IntEnum i2, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opInt_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Test.IntEnum ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - i2 = (Test.IntEnum)is__.readEnum(2147483647); - ret__ = (Test.IntEnum)is__.readEnum(2147483647); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_TestIntf_opInt> begin_opInt(Test.IntEnum i1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opInt_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_TestIntf_opInt> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_TestIntf_opInt>(this, __opInt_name, opInt_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opInt_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)i1, 2147483647); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opInt_completed__(Ice.AsyncResult r__, Test.Callback_TestIntf_opInt cb__, Ice.ExceptionCallback excb__) - { - Test.IntEnum i2; - Test.IntEnum ret__; - try - { - ret__ = end_opInt(out i2, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, i2); - } - } - - public Ice.AsyncResult<Test.Callback_TestIntf_opShort> begin_opShort(Test.ShortEnum s1) - { - return begin_opShort(s1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_TestIntf_opShort> begin_opShort(Test.ShortEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opShort(s1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opShort(Test.ShortEnum s1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opShort(s1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opShort(Test.ShortEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opShort(s1, ctx__, true, cb__, cookie__); - } - - private const string __opShort_name = "opShort"; - - public Test.ShortEnum end_opShort(out Test.ShortEnum s2, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opShort_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Test.ShortEnum ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - s2 = (Test.ShortEnum)is__.readEnum(32766); - ret__ = (Test.ShortEnum)is__.readEnum(32766); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_TestIntf_opShort> begin_opShort(Test.ShortEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opShort_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_TestIntf_opShort> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_TestIntf_opShort>(this, __opShort_name, opShort_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opShort_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)s1, 32766); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opShort_completed__(Ice.AsyncResult r__, Test.Callback_TestIntf_opShort cb__, Ice.ExceptionCallback excb__) - { - Test.ShortEnum s2; - Test.ShortEnum ret__; - try - { - ret__ = end_opShort(out s2, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, s2); - } - } - - public Ice.AsyncResult<Test.Callback_TestIntf_opSimple> begin_opSimple(Test.SimpleEnum s1) - { - return begin_opSimple(s1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_TestIntf_opSimple> begin_opSimple(Test.SimpleEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opSimple(s1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opSimple(Test.SimpleEnum s1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSimple(s1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opSimple(Test.SimpleEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSimple(s1, ctx__, true, cb__, cookie__); - } - - private const string __opSimple_name = "opSimple"; - - public Test.SimpleEnum end_opSimple(out Test.SimpleEnum s2, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opSimple_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Test.SimpleEnum ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - s2 = (Test.SimpleEnum)is__.readEnum(2); - ret__ = (Test.SimpleEnum)is__.readEnum(2); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_TestIntf_opSimple> begin_opSimple(Test.SimpleEnum s1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opSimple_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_TestIntf_opSimple> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_TestIntf_opSimple>(this, __opSimple_name, opSimple_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opSimple_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)s1, 2); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opSimple_completed__(Ice.AsyncResult r__, Test.Callback_TestIntf_opSimple cb__, Ice.ExceptionCallback excb__) - { - Test.SimpleEnum s2; - Test.SimpleEnum ret__; - try - { - ret__ = end_opSimple(out s2, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, s2); - } - } - - public Ice.AsyncResult<Test.Callback_TestIntf_shutdown> begin_shutdown() - { - return begin_shutdown(null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_TestIntf_shutdown> begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_shutdown(ctx__, true, null, null); - } - - public Ice.AsyncResult begin_shutdown(Ice.AsyncCallback cb__, object cookie__) - { - return begin_shutdown(null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_shutdown(ctx__, true, cb__, cookie__); - } - - private const string __shutdown_name = "shutdown"; - - public void end_shutdown(Ice.AsyncResult r__) - { - end__(r__, __shutdown_name); - } - - private Ice.AsyncResult<Test.Callback_TestIntf_shutdown> begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - IceInternal.OnewayOutgoingAsync<Test.Callback_TestIntf_shutdown> result__ = new IceInternal.OnewayOutgoingAsync<Test.Callback_TestIntf_shutdown>(this, __shutdown_name, shutdown_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__shutdown_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - result__.writeEmptyParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void shutdown_completed__(Test.Callback_TestIntf_shutdown cb__) - { - if(cb__ != null) - { - cb__(); - } - } - - #endregion - - #region Checked and unchecked cast operations - - public static TestIntfPrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - TestIntfPrx r = b as TestIntfPrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - TestIntfPrxHelper h = new TestIntfPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static TestIntfPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - TestIntfPrx r = b as TestIntfPrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - TestIntfPrxHelper h = new TestIntfPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static TestIntfPrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - TestIntfPrxHelper h = new TestIntfPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static TestIntfPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - TestIntfPrxHelper h = new TestIntfPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static TestIntfPrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - TestIntfPrx r = b as TestIntfPrx; - if(r == null) - { - TestIntfPrxHelper h = new TestIntfPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static TestIntfPrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - TestIntfPrxHelper h = new TestIntfPrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::TestIntf" - }; - - public static string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new TestIntfDelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new TestIntfDelD_(); - } - - public static void write__(IceInternal.BasicStream os__, TestIntfPrx v__) - { - os__.writeProxy(v__); - } - - public static TestIntfPrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - TestIntfPrxHelper result = new TestIntfPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, TestIntfPrx v__) - { - outS__.writeProxy(v__); - } - - public static TestIntfPrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - TestIntfPrxHelper result = new TestIntfPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } -} - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface TestIntfDel_ : Ice.ObjectDel_ - { - Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - void shutdown(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - } -} - -namespace Test -{ - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class TestIntfDelM_ : Ice.ObjectDelM_, TestIntfDel_ - { - public Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opByte", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)b1, 126); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Test.ByteEnum ret__; - b2 = (Test.ByteEnum)is__.readEnum(126); - ret__ = (Test.ByteEnum)is__.readEnum(126); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opInt", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)i1, 2147483647); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Test.IntEnum ret__; - i2 = (Test.IntEnum)is__.readEnum(2147483647); - ret__ = (Test.IntEnum)is__.readEnum(2147483647); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opShort", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)s1, 32766); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Test.ShortEnum ret__; - s2 = (Test.ShortEnum)is__.readEnum(32766); - ret__ = (Test.ShortEnum)is__.readEnum(32766); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opSimple", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)s1, 2); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Test.SimpleEnum ret__; - s2 = (Test.SimpleEnum)is__.readEnum(2); - ret__ = (Test.SimpleEnum)is__.readEnum(2); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public void shutdown(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("shutdown", Ice.OperationMode.Normal, context__, observer__); - try - { - og__.writeEmptyParams(); - bool ok__ = og__.invoke(); - if(og__.hasResponse()) - { - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - og__.readEmptyParams(); - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - } -} - -namespace Test -{ - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class TestIntfDelD_ : Ice.ObjectDelD_, TestIntfDel_ - { - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opByte", Ice.OperationMode.Normal, context__); - Test.ByteEnum b2Holder__ = Test.ByteEnum.benum1; - Test.ByteEnum result__ = Test.ByteEnum.benum1; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - TestIntf servant__ = null; - try - { - servant__ = (TestIntf)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opByte(b1, out b2Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - b2 = b2Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opInt", Ice.OperationMode.Normal, context__); - Test.IntEnum i2Holder__ = Test.IntEnum.ienum1; - Test.IntEnum result__ = Test.IntEnum.ienum1; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - TestIntf servant__ = null; - try - { - servant__ = (TestIntf)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opInt(i1, out i2Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - i2 = i2Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opShort", Ice.OperationMode.Normal, context__); - Test.ShortEnum s2Holder__ = Test.ShortEnum.senum1; - Test.ShortEnum result__ = Test.ShortEnum.senum1; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - TestIntf servant__ = null; - try - { - servant__ = (TestIntf)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opShort(s1, out s2Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - s2 = s2Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opSimple", Ice.OperationMode.Normal, context__); - Test.SimpleEnum s2Holder__ = Test.SimpleEnum.red; - Test.SimpleEnum result__ = Test.SimpleEnum.red; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - TestIntf servant__ = null; - try - { - servant__ = (TestIntf)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opSimple(s1, out s2Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - s2 = s2Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public void shutdown(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "shutdown", Ice.OperationMode.Normal, context__); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - TestIntf servant__ = null; - try - { - servant__ = (TestIntf)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - servant__.shutdown(current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - } - } -} - -namespace Test -{ - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class TestIntfDisp_ : Ice.ObjectImpl, TestIntf - { - #region Slice operations - - public Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2) - { - return opByte(b1, out b2, Ice.ObjectImpl.defaultCurrent); - } - - public abstract Test.ByteEnum opByte(Test.ByteEnum b1, out Test.ByteEnum b2, Ice.Current current__); - - public Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2) - { - return opShort(s1, out s2, Ice.ObjectImpl.defaultCurrent); - } - - public abstract Test.ShortEnum opShort(Test.ShortEnum s1, out Test.ShortEnum s2, Ice.Current current__); - - public Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2) - { - return opInt(i1, out i2, Ice.ObjectImpl.defaultCurrent); - } - - public abstract Test.IntEnum opInt(Test.IntEnum i1, out Test.IntEnum i2, Ice.Current current__); - - public Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2) - { - return opSimple(s1, out s2, Ice.ObjectImpl.defaultCurrent); - } - - public abstract Test.SimpleEnum opSimple(Test.SimpleEnum s1, out Test.SimpleEnum s2, Ice.Current current__); - - public void shutdown() - { - shutdown(Ice.ObjectImpl.defaultCurrent); - } - - public abstract void shutdown(Ice.Current current__); - - #endregion - - #region Slice type-related members - - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::TestIntf" - }; - - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - public override string[] ice_ids() - { - return ids__; - } - - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - public override string ice_id() - { - return ids__[1]; - } - - public override string ice_id(Ice.Current current__) - { - return ids__[1]; - } - - public static new string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Operation dispatch - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - public static Ice.DispatchStatus opByte___(TestIntf obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Test.ByteEnum b1; - b1 = (Test.ByteEnum)is__.readEnum(126); - inS__.endReadParams(); - Test.ByteEnum b2; - Test.ByteEnum ret__ = obj__.opByte(b1, out b2, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)b2, 126); - os__.writeEnum((int)ret__, 126); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - public static Ice.DispatchStatus opShort___(TestIntf obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Test.ShortEnum s1; - s1 = (Test.ShortEnum)is__.readEnum(32766); - inS__.endReadParams(); - Test.ShortEnum s2; - Test.ShortEnum ret__ = obj__.opShort(s1, out s2, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)s2, 32766); - os__.writeEnum((int)ret__, 32766); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - public static Ice.DispatchStatus opInt___(TestIntf obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Test.IntEnum i1; - i1 = (Test.IntEnum)is__.readEnum(2147483647); - inS__.endReadParams(); - Test.IntEnum i2; - Test.IntEnum ret__ = obj__.opInt(i1, out i2, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)i2, 2147483647); - os__.writeEnum((int)ret__, 2147483647); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - public static Ice.DispatchStatus opSimple___(TestIntf obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Test.SimpleEnum s1; - s1 = (Test.SimpleEnum)is__.readEnum(2); - inS__.endReadParams(); - Test.SimpleEnum s2; - Test.SimpleEnum ret__ = obj__.opSimple(s1, out s2, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeEnum((int)s2, 2); - os__.writeEnum((int)ret__, 2); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - public static Ice.DispatchStatus shutdown___(TestIntf obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - inS__.readEmptyParams(); - obj__.shutdown(current__); - inS__.writeEmptyParams__(); - return Ice.DispatchStatus.DispatchOK; - } - - private static string[] all__ = - { - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "opByte", - "opInt", - "opShort", - "opSimple", - "shutdown" - }; - - public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__) - { - int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer); - if(pos < 0) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - - switch(pos) - { - case 0: - { - return ice_id___(this, inS__, current__); - } - case 1: - { - return ice_ids___(this, inS__, current__); - } - case 2: - { - return ice_isA___(this, inS__, current__); - } - case 3: - { - return ice_ping___(this, inS__, current__); - } - case 4: - { - return opByte___(this, inS__, current__); - } - case 5: - { - return opInt___(this, inS__, current__); - } - case 6: - { - return opShort___(this, inS__, current__); - } - case 7: - { - return opSimple___(this, inS__, current__); - } - case 8: - { - return shutdown___(this, inS__, current__); - } - } - - _System.Diagnostics.Debug.Assert(false); - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - - #endregion - - #region Marshaling support - - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), true); - os__.endWriteSlice(); - } - - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - is__.endReadSlice(); - } - - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), true); - outS__.endSlice(); - } - - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - inS__.endSlice(); - } - - #endregion - } -} diff --git a/cs/test/Ice/enums/enums.csproj b/cs/test/Ice/enums/enums.csproj index 6d8c072ea90..b214aebdbc6 100644 --- a/cs/test/Ice/enums/enums.csproj +++ b/cs/test/Ice/enums/enums.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.\</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.\</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,8 +74,8 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> - <Compile Include="Test.cs" /> </ItemGroup> <ItemGroup> <ApplicationDefinition Include="App.xaml"> @@ -96,6 +96,7 @@ <ItemGroup> <None Include="Properties\OutOfBrowserSettings.xml" /> </ItemGroup> + <ItemGroup /> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.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. @@ -109,7 +110,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_Streaming="True" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_Streaming="True" ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" /> </VisualStudio> </ProjectExtensions> -</Project> +</Project>
\ No newline at end of file diff --git a/cs/test/Ice/enums/generated/sl/.gitignore b/cs/test/Ice/enums/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/enums/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/exceptions/exceptions.csproj b/cs/test/Ice/exceptions/exceptions.csproj index d2d5dfc4f38..81d2a8fd790 100644 --- a/cs/test/Ice/exceptions/exceptions.csproj +++ b/cs/test/Ice/exceptions/exceptions.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="ObjectFactoryI.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> @@ -110,7 +110,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/exceptions/generated/sl/.gitignore b/cs/test/Ice/exceptions/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/exceptions/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/facets/facets.csproj b/cs/test/Ice/facets/facets.csproj index c6f36e1a116..17490df5846 100644 --- a/cs/test/Ice/facets/facets.csproj +++ b/cs/test/Ice/facets/facets.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/facets/generated/sl/.gitignore b/cs/test/Ice/facets/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/facets/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/faultTolerance/faultTolerance.csproj b/cs/test/Ice/faultTolerance/faultTolerance.csproj index ba568145df4..748897257d1 100644 --- a/cs/test/Ice/faultTolerance/faultTolerance.csproj +++ b/cs/test/Ice/faultTolerance/faultTolerance.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/faultTolerance/generated/sl/.gitignore b/cs/test/Ice/faultTolerance/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/faultTolerance/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/hold/generated/sl/.gitignore b/cs/test/Ice/hold/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/hold/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/hold/hold.csproj b/cs/test/Ice/hold/hold.csproj index 568ae80770b..8d462222acc 100644 --- a/cs/test/Ice/hold/hold.csproj +++ b/cs/test/Ice/hold/hold.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/info/generated/sl/.gitignore b/cs/test/Ice/info/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/info/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/info/info.csproj b/cs/test/Ice/info/info.csproj index d70596d4ea5..4042aaa7890 100644 --- a/cs/test/Ice/info/info.csproj +++ b/cs/test/Ice/info/info.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -96,6 +96,7 @@ <ItemGroup> <None Include="Properties\OutOfBrowserSettings.xml" /> </ItemGroup> + <ItemGroup /> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.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. @@ -109,7 +110,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/inheritance/generated/sl/.gitignore b/cs/test/Ice/inheritance/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/inheritance/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/inheritance/inheritance.csproj b/cs/test/Ice/inheritance/inheritance.csproj index 915c90445b9..e85c669b8e8 100644 --- a/cs/test/Ice/inheritance/inheritance.csproj +++ b/cs/test/Ice/inheritance/inheritance.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/invoke/generated/sl/.gitignore b/cs/test/Ice/invoke/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/invoke/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/invoke/invoke.csproj b/cs/test/Ice/invoke/invoke.csproj index eb716486ce6..1402bb2b058 100644 --- a/cs/test/Ice/invoke/invoke.csproj +++ b/cs/test/Ice/invoke/invoke.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/location/generated/sl/.gitignore b/cs/test/Ice/location/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/location/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/location/location.csproj b/cs/test/Ice/location/location.csproj index 21e93015656..bb9f81e9e4a 100644 --- a/cs/test/Ice/location/location.csproj +++ b/cs/test/Ice/location/location.csproj @@ -44,7 +44,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -54,7 +54,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -76,7 +76,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -114,7 +114,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/objects/generated/sl/.gitignore b/cs/test/Ice/objects/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/objects/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/objects/objects.csproj b/cs/test/Ice/objects/objects.csproj index 89a69138c9e..d30f058d58f 100644 --- a/cs/test/Ice/objects/objects.csproj +++ b/cs/test/Ice/objects/objects.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -79,7 +79,7 @@ <Compile Include="DI.cs" /> <Compile Include="EI.cs" /> <Compile Include="FI.cs" /> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="HI.cs" /> <Compile Include="II.cs" /> <Compile Include="JI.cs" /> @@ -117,7 +117,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/operations/generated/sl/.gitignore b/cs/test/Ice/operations/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/operations/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/operations/operations.csproj b/cs/test/Ice/operations/operations.csproj index 52ea5603213..fccff3d73fe 100644 --- a/cs/test/Ice/operations/operations.csproj +++ b/cs/test/Ice/operations/operations.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -75,7 +75,7 @@ <DependentUpon>App.xaml</DependentUpon> </Compile> <Compile Include="BatchOneways.cs" /> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Oneways.cs" /> <Compile Include="OnewaysAMI.cs" /> <Compile Include="OnewaysNewAMI.cs" /> @@ -116,7 +116,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/optional/AppManifest.xaml b/cs/test/Ice/optional/AppManifest.xaml index 92e53989f9e..42ceabde133 100644 --- a/cs/test/Ice/optional/AppManifest.xaml +++ b/cs/test/Ice/optional/AppManifest.xaml @@ -3,7 +3,7 @@ <OutOfBrowserSettings ShortName="Optional Test" EnableGPUAcceleration="False" ShowInstallMenuItem="True"> <OutOfBrowserSettings.Blurb>Optional Test</OutOfBrowserSettings.Blurb> <OutOfBrowserSettings.WindowSettings> - <WindowSettings Title="optional Application" Height="1" Width="1" Top="0" Left="0" WindowStartupLocation="Manual" /> + <WindowSettings Title="Optional Test" Height="1" Width="1" Top="0" Left="0" WindowStartupLocation="Manual" /> </OutOfBrowserSettings.WindowSettings> <OutOfBrowserSettings.SecuritySettings> <SecuritySettings ElevatedPermissions="Required" /> diff --git a/cs/test/Ice/optional/Ice.xml b/cs/test/Ice/optional/Ice.xml deleted file mode 100644 index cf9ac758598..00000000000 --- a/cs/test/Ice/optional/Ice.xml +++ /dev/null @@ -1,6498 +0,0 @@ -<?xml version="1.0"?> -<doc> - <assembly> - <name>Ice</name> - </assembly> - <members> - <member name="T:Ice.AMDCallback"> - <summary> - AMDCallback is the interface from which all AMD callbacks are derived. - </summary> - </member> - <member name="M:Ice.AMDCallback.ice_exception(System.Exception)"> - <summary> - Indicates to the Ice run time that an operation completed - with a run-time exception. - </summary> - <param name="ex">The encoded Ice run-time exception. Note that, if ex - is a user exception, the caller receives UnknownUserException. - Use ice_response to raise user exceptions.</param> - </member> - <member name="M:Ice.Communicator.destroy"> - <summary> - Destroy the communicator. - This operation calls shutdown - implicitly. Calling destroy cleans up memory, and shuts down - this communicator's client functionality and destroys all object - adapters. Subsequent calls to destroy are ignored. - - </summary> - </member> - <member name="M:Ice.Communicator.shutdown"> - <summary> - Shuts down this communicator's server functionality, which - includes the deactivation of all object adapters. - (Attempts to use - a deactivated object adapter raise ObjectAdapterDeactivatedException.) - Subsequent calls to shutdown are ignored. - - After shutdown returns, no new requests are - processed. However, requests that have been started before - shutdown was called might still be active. You can use - waitForShutdown to wait for the completion of all - requests. - - </summary> - </member> - <member name="M:Ice.Communicator.waitForShutdown"> - <summary> - Wait until the application has called shutdown (or destroy). - On the server side, this operation blocks the calling thread - until all currently-executing operations have completed. - On the client side, the operation simply block until another - thread has called shutdown or destroy. - - A typical use of this operation is to call it - from the main thread, which then waits until some other thread - calls shutdown. After shut-down is complete, the main thread - returns and can do some cleanup work before it finally calls - destroy to shut down the client functionality, and then - exits the application. - - </summary> - </member> - <member name="M:Ice.Communicator.isShutdown"> - <summary> - Check whether communicator has been shut down. - </summary> - <returns>True if the communicator has been shut down; false otherwise. - - </returns> - </member> - <member name="M:Ice.Communicator.stringToProxy(System.String)"> - <summary> - Convert a stringified proxy into a proxy. - For example, - MyCategory/MyObject:tcp -h some_host -p - 10000 creates a proxy that refers to the Ice object - having an identity with a name "MyObject" and a category - "MyCategory", with the server running on host "some_host", port - 10000. If the stringified proxy does not parse correctly, the - operation throws one of ProxyParseException, - EndpointParseException, or IdentityParseException. - An appendix in the Ice manual provides a detailed description - of the syntax supported by stringified proxies. - - </summary> - <param name="str">The stringified proxy to convert into a proxy. - - </param> - <returns>The proxy, or nil if str is an empty string. - - </returns> - </member> - <member name="M:Ice.Communicator.proxyToString(Ice.ObjectPrx)"> - <summary> - Convert a proxy into a string. - </summary> - <param name="obj">The proxy to convert into a stringified proxy. - - </param> - <returns>The stringified proxy, or an empty string if - obj is nil. - - </returns> - </member> - <member name="M:Ice.Communicator.propertyToProxy(System.String)"> - <summary> - Convert a set of proxy properties into a proxy. - The "base" - name supplied in the property argument refers to a - property containing a stringified proxy, such as - MyProxy=id:tcp -h localhost -p 10000. Additional - properties configure local settings for the proxy, such as - MyProxy.PreferSecure=1. The "Properties" - appendix in the Ice manual describes each of the supported - proxy properties. - - </summary> - <param name="property">The base property name. - - </param> - <returns>The proxy.</returns> - </member> - <member name="M:Ice.Communicator.proxyToProperty(Ice.ObjectPrx,System.String)"> - <summary> - Convert a proxy to a set of proxy properties. - </summary> - <param name="proxy">The proxy. - - </param> - <param name="property">The base property name. - - </param> - <returns>The property set.</returns> - </member> - <member name="M:Ice.Communicator.stringToIdentity(System.String)"> - <summary> - Convert a string into an identity. - If the string does not parse - correctly, the operation throws IdentityParseException. - - </summary> - <param name="str">The string to convert into an identity. - - </param> - <returns>The identity. - - </returns> - </member> - <member name="M:Ice.Communicator.identityToString(Ice.Identity)"> - <summary> - Convert an identity into a string. - </summary> - <param name="ident">The identity to convert into a string. - - </param> - <returns>The "stringified" identity. - - </returns> - </member> - <member name="M:Ice.Communicator.createObjectAdapter(System.String)"> - <summary> - Create a new object adapter. - The endpoints for the object - adapter are taken from the property name.Endpoints. - - It is legal to create an object adapter with the empty string as - its name. Such an object adapter is accessible via bidirectional - connections or by collocated invocations that originate from the - same communicator as is used by the adapter. - - Attempts to create a named object adapter for which no configuration - can be found raise InitializationException. - - </summary> - <param name="name">The object adapter name. - - </param> - <returns>The new object adapter. - - </returns> - </member> - <member name="M:Ice.Communicator.createObjectAdapterWithEndpoints(System.String,System.String)"> - <summary> - Create a new object adapter with endpoints. - This operation sets - the property name.Endpoints, - and then calls createObjectAdapter. It is provided as a - convenience function. - - Calling this operation with an empty name will result in a - UUID being generated for the name. - - </summary> - <param name="name">The object adapter name. - - </param> - <param name="endpoints">The endpoints for the object adapter. - - </param> - <returns>The new object adapter. - - </returns> - </member> - <member name="M:Ice.Communicator.createObjectAdapterWithRouter(System.String,Ice.RouterPrx)"> - <summary> - Create a new object adapter with a router. - This operation - creates a routed object adapter. - - Calling this operation with an empty name will result in a - UUID being generated for the name. - - </summary> - <param name="name">The object adapter name. - - </param> - <param name="rtr">The router. - - </param> - <returns>The new object adapter. - - </returns> - </member> - <member name="M:Ice.Communicator.addObjectFactory(Ice.ObjectFactory,System.String)"> - <summary> - Add an object factory to this communicator. - Installing a - factory with an id for which a factory is already registered - throws AlreadyRegisteredException. - - When unmarshaling an Ice object, the Ice run time reads the - most-derived type id off the wire and attempts to create an - instance of the type using a factory. If no instance is created, - either because no factory was found, or because all factories - returned nil, the behavior of the Ice run time depends on the - format with which the object was marshaled: - - If the object uses the "sliced" format, Ice ascends the class - hierarchy until it finds a type that is recognized by a factory, - or it reaches the least-derived type. If no factory is found that - can create an instance, the run time throws - NoObjectFactoryException. - - If the object uses the "compact" format, Ice immediately raises - NoObjectFactoryException. - - The following order is used to locate a factory for a type: - - - - The Ice run-time looks for a factory registered - specifically for the type. - - If no instance has been created, the Ice run-time looks - for the default factory, which is registered with an empty type id. - - - If no instance has been created by any of the preceding - steps, the Ice run-time looks for a factory that may have been - statically generated by the language mapping for non-abstract classes. - - - - - </summary> - <param name="factory">The factory to add. - - </param> - <param name="id">The type id for which the factory can create instances, or - an empty string for the default factory. - - </param> - </member> - <member name="M:Ice.Communicator.findObjectFactory(System.String)"> - <summary> - Find an object factory registered with this communicator. - </summary> - <param name="id">The type id for which the factory can create instances, - or an empty string for the default factory. - - </param> - <returns>The object factory, or null if no object factory was - found for the given id. - - </returns> - </member> - <member name="M:Ice.Communicator.getImplicitContext"> - <summary> - Get the implicit context associated with this communicator. - </summary> - <returns>The implicit context associated with this communicator; - returns null when the property Ice.ImplicitContext is not set - or is set to None.</returns> - </member> - <member name="M:Ice.Communicator.getProperties"> - <summary> - Get the properties for this communicator. - </summary> - <returns>This communicator's properties. - - </returns> - </member> - <member name="M:Ice.Communicator.getLogger"> - <summary> - Get the logger for this communicator. - </summary> - <returns>This communicator's logger. - - </returns> - </member> - <member name="M:Ice.Communicator.getStats"> - <summary> - Get the statistics callback object for this communicator. - </summary> - <returns>This communicator's statistics callback object. - - </returns> - </member> - <member name="M:Ice.Communicator.getObserver"> - <summary> - Get the observer resolver object for this communicator. - </summary> - <returns>This communicator's observer resolver object. - - </returns> - </member> - <member name="M:Ice.Communicator.getDefaultRouter"> - <summary> - Get the default router this communicator. - </summary> - <returns>The default router for this communicator. - - </returns> - </member> - <member name="M:Ice.Communicator.setDefaultRouter(Ice.RouterPrx)"> - <summary> - Set a default router for this communicator. - All newly - created proxies will use this default router. To disable the - default router, null can be used. Note that this - operation has no effect on existing proxies. - - You can also set a router for an individual proxy - by calling the operation ice_router on the proxy. - - </summary> - <param name="rtr">The default router to use for this communicator. - - </param> - </member> - <member name="M:Ice.Communicator.getDefaultLocator"> - <summary> - Get the default locator this communicator. - </summary> - <returns>The default locator for this communicator. - - </returns> - </member> - <member name="M:Ice.Communicator.setDefaultLocator(Ice.LocatorPrx)"> - <summary> - Set a default Ice locator for this communicator. - All newly - created proxy and object adapters will use this default - locator. To disable the default locator, null can be used. - Note that this operation has no effect on existing proxies or - object adapters. - - You can also set a locator for an individual proxy - by calling the operation ice_locator on the proxy, or for an - object adapter by calling the operation setLocator on the - object adapter. - - </summary> - <param name="loc">The default locator to use for this communicator. - - </param> - </member> - <member name="M:Ice.Communicator.getPluginManager"> - <summary> - Get the plug-in manager for this communicator. - </summary> - <returns>This communicator's plug-in manager. - - </returns> - </member> - <member name="M:Ice.Communicator.flushBatchRequests"> - <summary> - Flush any pending batch requests for this communicator. - This causes all batch requests that were sent via proxies - obtained via this communicator to be sent to the server. - </summary> - </member> - <member name="M:Ice.Communicator.getAdmin"> - <summary> - Get a proxy to the main facet of the Admin object. - When Ice.Admin.DelayCreation - is greater than 0, it is necessary to call getAdmin() after the communicator is - initialized to create the Admin object. Otherwise, the Admin object is created - automatically after all the plug-ins are initialized. - - </summary> - <returns>The main ("") facet of the Admin object; a null proxy if no - Admin object is configured.</returns> - </member> - <member name="M:Ice.Communicator.addAdminFacet(Ice.Object,System.String)"> - <summary> - Add a new facet to the Admin object. - Adding a servant with a facet that is already registered - throws AlreadyRegisteredException. - - </summary> - <param name="servant">The servant that implements the new Admin facet. - </param> - <param name="facet">The name of the new Admin facet.</param> - </member> - <member name="M:Ice.Communicator.removeAdminFacet(System.String)"> - <summary> - Remove the following facet to the Admin object. - Removing a facet that was not previously registered throws - NotRegisteredException. - - </summary> - <param name="facet">The name of the Admin facet. - </param> - <returns>The servant associated with this Admin facet.</returns> - </member> - <member name="M:Ice.Communicator.findAdminFacet(System.String)"> - <summary> - Returns a facet of the Admin object. - </summary> - <param name="facet">The name of the Admin facet. - </param> - <returns>The servant associated with this Admin facet, or - null if no facet is registered with the given name.</returns> - </member> - <member name="M:Ice.Connection.close(System.Boolean)"> - <summary> - Close a connection, either gracefully or forcefully. - If a - connection is closed forcefully, it closes immediately, without - sending the relevant close connection protocol messages to the - peer and waiting for the peer to acknowledge these protocol - messages. - - </summary> - <param name="force">If true, close forcefully. Otherwise the - connection is closed gracefully.</param> - </member> - <member name="M:Ice.Connection.createProxy(Ice.Identity)"> - <summary> - Create a special proxy that always uses this connection. - This - can be used for callbacks from a server to a client if the - server cannot directly establish a connection to the client, - for example because of firewalls. In this case, the server - would create a proxy using an already established connection - from the client. - - </summary> - <param name="id">The identity for which a proxy is to be created. - - </param> - <returns>A proxy that matches the given identity and uses this - connection. - - </returns> - </member> - <member name="M:Ice.Connection.setAdapter(Ice.ObjectAdapter)"> - <summary> - Explicitly set an object adapter that dispatches requests that - are received over this connection. - A client can invoke an - operation on a server using a proxy, and then set an object - adapter for the outgoing connection that is used by the proxy - in order to receive callbacks. This is useful if the server - cannot establish a connection back to the client, for example - because of firewalls. - - </summary> - <param name="adapter">The object adapter that should be used by this - connection to dispatch requests. The object adapter must be - activated. When the object adapter is deactivated, it is - automatically removed from the connection. - - </param> - </member> - <member name="M:Ice.Connection.getAdapter"> - <summary> - Get the object adapter that dispatches requests for this - connection. - </summary> - <returns>The object adapter that dispatches requests for the - connection, or null if no adapter is set. - - </returns> - </member> - <member name="M:Ice.Connection.getEndpoint"> - <summary> - Get the endpoint from which the connection was created. - </summary> - <returns>The endpoint from which the connection was created.</returns> - </member> - <member name="M:Ice.Connection.flushBatchRequests"> - <summary> - Flush any pending batch requests for this connection. - This - causes all batch requests that were sent via proxies that use - this connection to be sent to the server. - </summary> - </member> - <member name="M:Ice.Connection.type"> - <summary> - Return the connection type. - This corresponds to the endpoint - type, i.e., "tcp", "udp", etc. - - </summary> - <returns>The type of the connection.</returns> - </member> - <member name="M:Ice.Connection.timeout"> - <summary> - Get the timeout for the connection. - </summary> - <returns>The connection's timeout.</returns> - </member> - <member name="M:Ice.Connection.ice_toString_"> - <summary> - Return a description of the connection as human readable text, - suitable for logging or error messages. - </summary> - <returns>The description of the connection as human readable - text.</returns> - </member> - <member name="M:Ice.Connection.getInfo"> - <summary> - Returns the connection information. - </summary> - <returns>The connection information.</returns> - </member> - <member name="T:Ice.Request"> - <summary> - Interface for incoming requests. - </summary> - </member> - <member name="M:Ice.Request.isCollocated"> - <summary> - Returns whether this request is collocated. - </summary> - <returns>True if the invocation was made via proxy created by the same communicator - that hosts the target's object adapter; false, otherwise.</returns> - </member> - <member name="M:Ice.Request.getCurrent"> - <summary> - Returns the {@link Current} object for this the request. - </summary> - <returns>The Current object for this request.</returns> - </member> - <member name="T:Ice.DispatchInterceptor"> - <summary> - Base class that allows a server intercept incoming requests. - The application must derive a concrete class from DispatchInterceptor - that implements the DispatchInterceptor.dispatch operation. An instance of this derived - class can be registered with an object adapter like any other servant. - A dispatch interceptor is useful particularly to automatically retry requests - that have failed due to a recoverable error condition. - </summary> - </member> - <member name="T:Ice.ObjectImpl"> - <summary> - Base class for all Slice classes. - </summary> - </member> - <member name="T:Ice.Object"> - <summary> - the base interface for servants. - </summary> - </member> - <member name="M:Ice.Object.ice_isA(System.String)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - - <param name="s">The type ID of the Slice interface to test against.</param> - <returns>True if this object has the interface - specified by s or derives from the interface specified by s.</returns> - </member> - <member name="M:Ice.Object.ice_isA(System.String,Ice.Current)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - - <param name="s">The type ID of the Slice interface to test against.</param> - <param name="current">The Current object for the invocation.</param> - <returns>True if this object has the interface - specified by s or derives from the interface specified by s.</returns> - </member> - <member name="M:Ice.Object.ice_ping"> - <summary> - Tests whether this object can be reached. - </summary> - </member> - <member name="M:Ice.Object.ice_ping(Ice.Current)"> - <summary> - Tests whether this object can be reached. - </summary> - <param name="current">The Current object for the invocation.</param> - </member> - <member name="M:Ice.Object.ice_ids"> - <summary> - Returns the Slice type IDs of the interfaces supported by this object. - </summary> - <returns>The Slice type IDs of the interfaces supported by this object, in base-to-derived - order. The first element of the returned array is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.Object.ice_ids(Ice.Current)"> - <summary> - Returns the Slice type IDs of the interfaces supported by this object. - </summary> - <param name="current">The Current object for the invocation.</param> - <returns>The Slice type IDs of the interfaces supported by this object, in base-to-derived - order. The first element of the returned array is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.Object.ice_id"> - <summary> - Returns the Slice type ID of the most-derived interface supported by this object. - </summary> - <returns>The Slice type ID of the most-derived interface.</returns> - </member> - <member name="M:Ice.Object.ice_id(Ice.Current)"> - <summary> - Returns the Slice type ID of the most-derived interface supported by this object. - </summary> - <param name="current">The Current object for the invocation.</param> - <returns>The Slice type ID of the most-derived interface.</returns> - </member> - <member name="M:Ice.Object.ice_preMarshal"> - <summary> - The Ice run time invokes this method prior to marshaling an object's data members. This allows a subclass - to override this method in order to validate its data members. - </summary> - </member> - <member name="M:Ice.Object.ice_postUnmarshal"> - <summary> - This Ice run time invokes this method vafter unmarshaling an object's data members. This allows a - subclass to override this method in order to perform additional initialization. - </summary> - </member> - <member name="M:Ice.Object.ice_dispatch(Ice.Request,Ice.DispatchInterceptorAsyncCallback)"> - <summary> - Dispatches an invocation to a servant. This method is used by dispatch interceptors to forward an invocation - to a servant (or to another interceptor). - </summary> - <param name="request">The details of the invocation.</param> - <param name="cb">The callback object for asynchchronous dispatch. For synchronous dispatch, - the callback object must be null.</param> - <returns>The dispatch status for the operation.</returns> - </member> - <member name="M:Ice.Object.ice_dispatch(Ice.Request)"> - <summary> - Dispatches an invocation to a servant. This method is used by dispatch interceptors to forward an invocation - to a servant (or to another interceptor). - </summary> - <param name="request">The details of the invocation.</param> - <returns>The dispatch status for the operation.</returns> - </member> - <member name="M:Ice.ObjectImpl.#ctor"> - <summary> - Instantiates an Ice object. - </summary> - </member> - <member name="M:Ice.ObjectImpl.Clone"> - <summary> - Returns a copy of the object. The cloned object contains field-for-field copies - of the state. - </summary> - <returns>The cloned object.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_isA(System.String)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="s">The type ID of the Slice interface to test against.</param> - <returns>The return value is true if s is ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_isA(System.String,Ice.Current)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="s">The type ID of the Slice interface to test against.</param> - <param name="current">The Current object for the invocation.</param> - <returns>The return value is true if s is ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_ping"> - <summary> - Tests whether this object can be reached. - </summary> - </member> - <member name="M:Ice.ObjectImpl.ice_ping(Ice.Current)"> - <summary> - Tests whether this object can be reached. - <param name="current">The Current object for the invocation.</param> - </summary> - </member> - <member name="M:Ice.ObjectImpl.ice_ids"> - <summary> - Returns the Slice type IDs of the interfaces supported by this object. - </summary> - <returns>An array whose only element is ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_ids(Ice.Current)"> - <summary> - Returns the Slice type IDs of the interfaces supported by this object. - </summary> - <param name="current">The Current object for the invocation.</param> - <returns>An array whose only element is ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_id"> - <summary> - Returns the Slice type ID of the most-derived interface supported by this object. - </summary> - <returns>The return value is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_id(Ice.Current)"> - <summary> - Returns the Slice type ID of the most-derived interface supported by this object. - </summary> - <param name="current">The Current object for the invocation.</param> - <returns>The return value is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_staticId"> - <summary> - Returns the Slice type ID of the interface supported by this object. - </summary> - <returns>The return value is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_preMarshal"> - <summary> - The Ice run time invokes this method prior to marshaling an object's data members. This allows a subclass - to override this method in order to validate its data members. - </summary> - </member> - <member name="M:Ice.ObjectImpl.ice_postUnmarshal"> - <summary> - This Ice run time invokes this method vafter unmarshaling an object's data members. This allows a - subclass to override this method in order to perform additional initialization. - </summary> - </member> - <member name="M:Ice.ObjectImpl.ice_dispatch(Ice.Request,Ice.DispatchInterceptorAsyncCallback)"> - <summary> - Dispatches an invocation to a servant. This method is used by dispatch interceptors to forward an invocation - to a servant (or to another interceptor). - </summary> - <param name="request">The details of the invocation.</param> - <param name="cb">The callback object for asynchchronous dispatch. For synchronous dispatch, the - callback object must be null.</param> - <returns>The dispatch status for the operation.</returns> - </member> - <member name="M:Ice.ObjectImpl.ice_dispatch(Ice.Request)"> - <summary> - Dispatches an invocation to a servant. This method is used by dispatch interceptors to forward an invocation - to a servant (or to another interceptor). - </summary> - <param name="request">The details of the invocation.</param> - <returns>The dispatch status for the operation.</returns> - </member> - <member name="M:Ice.DispatchInterceptor.dispatch(Ice.Request)"> - <summary> - Called by the Ice run time to dispatch an incoming request. The implementation - of <code>dispatch</code> must dispatch the request to the actual servant. - </summary> - <param name="request">The details of the incoming request.</param> - <returns>For synchronous dispatch, the return value must be whatever is - returned ice_dispatch. For asynchronous dispatch, the return - value must be DispatchAsync.</returns> - </member> - <member name="M:Ice.Endpoint.ice_toString_"> - <summary> - Return a string representation of the endpoint. - </summary> - <returns>The string representation of the endpoint.</returns> - </member> - <member name="M:Ice.Endpoint.getInfo"> - <summary> - Returns the endpoint information. - </summary> - <returns>The endpoint information class.</returns> - </member> - <member name="T:Ice.Exception"> - <summary> - Base class for Ice exceptions. - </summary> - </member> - <member name="M:Ice.Exception.Clone"> - <summary> - Creates and returns a copy of this exception. - </summary> - <returns>A copy of this exception.</returns> - </member> - <member name="M:Ice.Exception.#ctor"> - <summary> - Creates a default-initialized exception. - </summary> - </member> - <member name="M:Ice.Exception.#ctor(System.Exception)"> - <summary> - Creates a default-initialized exception and sets the InnerException - property to the passed exception. - </summary> - <param name="ex">The inner exception.</param> - </member> - <member name="M:Ice.Exception.ice_name"> - <summary> - Returns the name of this exception. - </summary> - <returns>The name of this exception.</returns> - </member> - <member name="M:Ice.Exception.ToString"> - <summary> - Returns a string representation of this exception, including - any inner exceptions. - </summary> - <returns>The string representation of this exception.</returns> - </member> - <member name="T:Ice.LocalException"> - <summary> - Base class for local exceptions. - </summary> - </member> - <member name="M:Ice.LocalException.#ctor"> - <summary> - Creates a default-initialized local exception. - </summary> - </member> - <member name="M:Ice.LocalException.#ctor(System.Exception)"> - <summary> - Creates a default-initialized local exception and sets the InnerException - property to the passed exception. - </summary> - <param name="ex">The inner exception.</param> - </member> - <member name="T:Ice.SystemException"> - <summary> - Base class for Ice run-time exceptions. - </summary> - </member> - <member name="M:Ice.SystemException.#ctor"> - <summary> - Creates a default-initialized run-time exception. - </summary> - </member> - <member name="M:Ice.SystemException.#ctor(System.Exception)"> - <summary> - Creates a default-initialized run-time exception and sets the InnerException - property to the passed exception. - </summary> - <param name="ex">The inner exception.</param> - </member> - <member name="T:Ice.UserException"> - <summary> - Base class for Slice user exceptions. - </summary> - </member> - <member name="M:Ice.UserException.#ctor"> - <summary> - Creates a default-initialized user exception. - </summary> - </member> - <member name="M:Ice.UserException.#ctor(System.Exception)"> - <summary> - Creates a default-initialized user exception and sets the InnerException - property to the passed exception. - </summary> - <param name="ex">The inner exception.</param> - </member> - <member name="T:Ice.FormatType"> - <summary> - This enumeration describes the possible formats for classes and exceptions. - </summary> - </member> - <member name="M:Ice.ImplicitContext.getContext"> - <summary> - Get a copy of the underlying context. - </summary> - <returns>A copy of the underlying context.</returns> - </member> - <member name="M:Ice.ImplicitContext.setContext(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Set the underlying context. - </summary> - <param name="newContext">The new context.</param> - </member> - <member name="M:Ice.ImplicitContext.containsKey(System.String)"> - <summary> - Check if this key has an associated value in the underlying context. - </summary> - <param name="key">The key. - - </param> - <returns>True if the key has an associated value, False otherwise.</returns> - </member> - <member name="M:Ice.ImplicitContext.get(System.String)"> - <summary> - Get the value associated with the given key in the underlying context. - Returns an empty string if no value is associated with the key. - containsKey allows you to distinguish between an empty-string value and - no value at all. - - </summary> - <param name="key">The key. - - </param> - <returns>The value associated with the key.</returns> - </member> - <member name="M:Ice.ImplicitContext.put(System.String,System.String)"> - <summary> - Create or update a key/value entry in the underlying context. - </summary> - <param name="key">The key. - - </param> - <param name="value">The value. - - </param> - <returns>The previous value associated with the key, if any.</returns> - </member> - <member name="M:Ice.ImplicitContext.remove(System.String)"> - <summary> - Remove the entry for the given key in the underlying context. - </summary> - <param name="key">The key. - - </param> - <returns>The value associated with the key, if any.</returns> - </member> - <member name="T:Ice.AMD_Object_ice_invoke"> - <summary> - Callback interface for Blobject AMD servants. - </summary> - </member> - <member name="M:Ice.AMD_Object_ice_invoke.ice_response(System.Boolean,System.Byte[])"> - <summary> - Indicates to the Ice run time that an operation - completed. - </summary> - <param name="ok">True indicates that the operation - completed successfully; false indicates that the - operation raised a user exception.</param> - <param name="outEncaps">The encoded out-parameters for the operation or, - if ok is false, the encoded user exception.</param> - </member> - <member name="M:Ice.Instrumentation.ObserverUpdater.updateConnectionObservers"> - <summary> - Update connection observers associated with each of the Ice - connection from the communicator and its object adapters. - When called, this method goes through all the connections and - for each connection CommunicatorObserver::getConnectionObserver - is called. The implementation of getConnectionObserver has the - possibility to return an updated observer if necessary. - </summary> - </member> - <member name="M:Ice.Instrumentation.ObserverUpdater.updateThreadObservers"> - <summary> - Update thread observers associated with each of the Ice thread - from the communicator and its object adapters. - When called, this method goes through all the threads and for - each thread CommunicatorObserver::getThreadObserver is - called. The implementation of getThreadObserver has the - possibility to return an updated observer if necessary. - </summary> - </member> - <member name="M:Ice.Instrumentation.Observer.attach"> - <summary> - This method is called when the instrumented object is created - or when the observer is attached to an existing object. - </summary> - </member> - <member name="M:Ice.Instrumentation.Observer.detach"> - <summary> - This method is called when the instrumented object is destroyed - and as a result the observer detached from the object. - </summary> - </member> - <member name="M:Ice.Instrumentation.Observer.failed(System.String)"> - <summary> - Notification of a failure. - </summary> - <param name="exceptionName">The name of the exception.</param> - </member> - <member name="M:Ice.Instrumentation.ConnectionObserver.sentBytes(System.Int32)"> - <summary> - Notification of sent bytes over the connection. - </summary> - <param name="num">The number of bytes sent.</param> - </member> - <member name="M:Ice.Instrumentation.ConnectionObserver.receivedBytes(System.Int32)"> - <summary> - Notification of received bytes over the connection. - </summary> - <param name="num">The number of bytes received.</param> - </member> - <member name="M:Ice.Instrumentation.DispatchObserver.userException"> - <summary> - Notification of a user exception. - </summary> - </member> - <member name="M:Ice.Instrumentation.InvocationObserver.retried"> - <summary> - Notification of the invocation being retried. - </summary> - </member> - <member name="M:Ice.Instrumentation.InvocationObserver.userException"> - <summary> - Notification of a user exception. - </summary> - </member> - <member name="M:Ice.Instrumentation.InvocationObserver.getRemoteObserver(Ice.ConnectionInfo,Ice.Endpoint)"> - <summary> - Get a remote observer for this invocation. - </summary> - <param name="con">The connection information. - - </param> - <param name="endpt">The connection endpoint.</param> - </member> - <member name="M:Ice.Instrumentation.ThreadObserver.stateChanged(Ice.Instrumentation.ThreadState,Ice.Instrumentation.ThreadState)"> - <summary> - Notification of thread state change. - </summary> - <param name="oldState">The previous thread state. - - </param> - <param name="newState">The new thread state.</param> - </member> - <member name="M:Ice.Instrumentation.CommunicatorObserver.getConnectionEstablishmentObserver(Ice.Endpoint,System.String)"> - <summary> - This method should return an observer for the given endpoint - information and connector. - The Ice run-time calls this method - for each connection establishment attempt. - - </summary> - <param name="endpt">The endpoint. - - </param> - <param name="connector">The description of the connector. For IP - transports, this is typically the IP address to connect to.</param> - </member> - <member name="M:Ice.Instrumentation.CommunicatorObserver.getEndpointLookupObserver(Ice.Endpoint)"> - <summary> - This method should return an observer for the given endpoint - information. - The Ice run-time calls this method to resolve an - endpoint and obtain the list of connectors. - - For IP endpoints, this typically involves doing a DNS lookup to - obtain the IP addresses associated with the DNS name. - - </summary> - <param name="endpt">The endpoint.</param> - </member> - <member name="M:Ice.Instrumentation.CommunicatorObserver.getConnectionObserver(Ice.ConnectionInfo,Ice.Endpoint,Ice.Instrumentation.ConnectionState,Ice.Instrumentation.ConnectionObserver)"> - <summary> - This method should return a connection observer for the given - connection. - The Ice run-time calls this method for each new - connection and for all the Ice communicator connections when - ObserverUpdater::updateConnections is called. - - </summary> - <param name="c">The connection information. - - </param> - <param name="e">The connection endpoint. - - </param> - <param name="s">The state of the connection - - </param> - <param name="o">The old connection observer if one is already set or a - null reference otherwise. - - </param> - <returns>The connection observer object.</returns> - </member> - <member name="M:Ice.Instrumentation.CommunicatorObserver.getThreadObserver(System.String,System.String,Ice.Instrumentation.ThreadState,Ice.Instrumentation.ThreadObserver)"> - <summary> - This method should return a thread observer for the given - thread. - The Ice run-time calls this method for each new thread - and for all the Ice communicator threads when - ObserverUpdater::updateThreads is called. - - </summary> - <param name="parent">The parent of the thread. - - </param> - <param name="id">The ID of the thread to observe - - </param> - <param name="s">The state of the thread - - </param> - <param name="o">The old thread observer if one is already set or a - null reference otherwise. - - </param> - <returns>The thread observer object.</returns> - </member> - <member name="M:Ice.Instrumentation.CommunicatorObserver.getInvocationObserver(Ice.ObjectPrx,System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - This method should return an invocation observer for the given - invocation. - The Ice run-time calls this method for each new - invocation on a proxy. - - </summary> - <param name="prx">The proxy used for the invocation - - </param> - <param name="operation">The name of the invocation - - </param> - <param name="ctx">The context specified by the user - - </param> - <returns>The invocation observer object.</returns> - </member> - <member name="M:Ice.Instrumentation.CommunicatorObserver.getDispatchObserver(Ice.Current)"> - <summary> - This method should return a dispatch observer for the given - dispatch. - The Ice run-time calls this method each time it - receives an incoming invocation to be dispatched for an Ice - object. - - </summary> - <param name="c">The Ice::Current object as provided to the Ice - servant dispatching the invocation. - - </param> - <returns>The observer object.</returns> - </member> - <member name="M:Ice.Instrumentation.CommunicatorObserver.setObserverUpdater(Ice.Instrumentation.ObserverUpdater)"> - <summary> - The Ice run-time calls this method when the communicator is - initialized. - The add-in implementing this interface can use - this object to get the Ice run-time to re-obtain observers for - observed objects. - - </summary> - <param name="updater">The observer updater object.</param> - </member> - <member name="M:Ice.Logger.print(System.String)"> - <summary> - Print a message. - The message is printed literally, without - any decorations such as executable name or time stamp. - </summary> - </member> - <member name="M:Ice.Logger.trace(System.String,System.String)"> - <summary> - Log a trace message. - </summary> - <param name="category">The trace category. - - </param> - <param name="message">The trace message to log.</param> - </member> - <member name="M:Ice.Logger.warning(System.String)"> - <summary> - Log a warning message. - </summary> - <param name="message">The warning message to log. - - </param> - </member> - <member name="M:Ice.Logger.error(System.String)"> - <summary> - Log an error message. - </summary> - <param name="message">The error message to log. - - </param> - </member> - <member name="M:Ice.Logger.cloneWithPrefix(System.String)"> - <summary> - Returns a clone of the logger with a new prefix. - </summary> - <param name="prefix">The new prefix for the logger.</param> - </member> - <member name="T:Ice.LoggerPlugin"> - <summary> - Class to support custom loggers. Applications using a custom logger - instantiate a LoggerPlugin with a custom logger and - return the instance from their PluginFactory implementation. - </summary> - </member> - <member name="M:Ice.Plugin.initialize"> - <summary> - Perform any necessary initialization steps. - </summary> - </member> - <member name="M:Ice.Plugin.destroy"> - <summary> - Called when the communicator is being destroyed. - </summary> - </member> - <member name="M:Ice.LoggerPlugin.#ctor(Ice.Communicator,Ice.Logger)"> - <summary> - Installs a custom logger for a communicator. - </summary> - <param name="communicator">The communicator using the custom logger.</param> - <param name="logger">The custom logger for the communicator.</param> - </member> - <member name="M:Ice.LoggerPlugin.initialize"> - <summary> - Called by the Ice run time during communicator initialization. The derived class - can override this method to perform any initialization that might be required - by a custom logger. - </summary> - </member> - <member name="M:Ice.LoggerPlugin.destroy"> - <summary> - Called by the Ice run time when the communicator is destroyed. The derived class - can override this method to perform any finalization that might be required - by a custom logger. - </summary> - </member> - <member name="T:IceMX.MetricsAdminOperations_"> - <summary> - The MetricsAdmin facet interface. - </summary> - </member> - <member name="M:IceMX.MetricsAdminOperations_.getMetricsViewNames(System.String[]@,Ice.Current)"> - <summary> - Get the names of enabled and disabled metrics. - </summary> - <param name="disabledViews">The names of the disabled views. - - </param> - <returns>The name of the enabled views.</returns> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminOperations_.enableMetricsView(System.String,Ice.Current)"> - <summary> - Enables a metrics view. - </summary> - <param name="name">The metrics view name.</param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminOperations_.disableMetricsView(System.String,Ice.Current)"> - <summary> - Disable a metrics view. - </summary> - <param name="name">The metrics view name.</param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminOperations_.getMetricsView(System.String,System.Int64@,Ice.Current)"> - <summary> - Get the metrics objects for the given metrics view. - This - returns a map of metric maps for each metrics class configured - with the view. The timestamp allows the client to compute - averages which are not dependent of the invocation latency for - this operation. - - </summary> - <param name="view">The name of the metrics view to retrieve. - - </param> - <param name="timestamp">The local time of the process when the metrics - object were retrieved. - - </param> - <returns>The metrics view data. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminOperations_.getMapMetricsFailures(System.String,System.String,Ice.Current)"> - <summary> - Get the metrics failures associated with the given view and map. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <returns>The metrics failures associated with the map. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminOperations_.getMetricsFailures(System.String,System.String,System.String,Ice.Current)"> - <summary> - Get the metrics failure associated for the given metrics. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <param name="id">The ID of the metrics. - - </param> - <returns>The metrics failures associated with the metrics. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="T:IceMX.MetricsAdminOperationsNC_"> - <summary> - The MetricsAdmin facet interface. - </summary> - </member> - <member name="M:IceMX.MetricsAdminOperationsNC_.getMetricsViewNames(System.String[]@)"> - <summary> - Get the names of enabled and disabled metrics. - </summary> - <param name="disabledViews">The names of the disabled views. - - </param> - <returns>The name of the enabled views.</returns> - </member> - <member name="M:IceMX.MetricsAdminOperationsNC_.enableMetricsView(System.String)"> - <summary> - Enables a metrics view. - </summary> - <param name="name">The metrics view name.</param> - </member> - <member name="M:IceMX.MetricsAdminOperationsNC_.disableMetricsView(System.String)"> - <summary> - Disable a metrics view. - </summary> - <param name="name">The metrics view name.</param> - </member> - <member name="M:IceMX.MetricsAdminOperationsNC_.getMetricsView(System.String,System.Int64@)"> - <summary> - Get the metrics objects for the given metrics view. - This - returns a map of metric maps for each metrics class configured - with the view. The timestamp allows the client to compute - averages which are not dependent of the invocation latency for - this operation. - - </summary> - <param name="view">The name of the metrics view to retrieve. - - </param> - <param name="timestamp">The local time of the process when the metrics - object were retrieved. - - </param> - <returns>The metrics view data. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - </member> - <member name="M:IceMX.MetricsAdminOperationsNC_.getMapMetricsFailures(System.String,System.String)"> - <summary> - Get the metrics failures associated with the given view and map. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <returns>The metrics failures associated with the map. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - </member> - <member name="M:IceMX.MetricsAdminOperationsNC_.getMetricsFailures(System.String,System.String,System.String)"> - <summary> - Get the metrics failure associated for the given metrics. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <param name="id">The ID of the metrics. - - </param> - <returns>The metrics failures associated with the metrics. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - </member> - <member name="M:Ice.ObjectAdapter.getName"> - <summary> - Get the name of this object adapter. - </summary> - <returns>This object adapter's name.</returns> - </member> - <member name="M:Ice.ObjectAdapter.getCommunicator"> - <summary> - Get the communicator this object adapter belongs to. - </summary> - <returns>This object adapter's communicator. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.activate"> - <summary> - Activate all endpoints that belong to this object adapter. - After activation, the object adapter can dispatch requests - received through its endpoints. - - </summary> - </member> - <member name="M:Ice.ObjectAdapter.hold"> - <summary> - Temporarily hold receiving and dispatching requests. - The object - adapter can be reactivated with the activate operation. - - Holding is not immediate, i.e., after hold - returns, the object adapter might still be active for some - time. You can use waitForHold to wait until holding is - complete. - - </summary> - </member> - <member name="M:Ice.ObjectAdapter.waitForHold"> - <summary> - Wait until the object adapter holds requests. - Calling hold - initiates holding of requests, and waitForHold only returns - when holding of requests has been completed. - - </summary> - </member> - <member name="M:Ice.ObjectAdapter.deactivate"> - <summary> - Deactivate all endpoints that belong to this object adapter. - After deactivation, the object adapter stops receiving - requests through its endpoints. Object adapters that have been - deactivated must not be reactivated again, and cannot be used - otherwise. Attempts to use a deactivated object adapter raise - ObjectAdapterDeactivatedException; however, attempts to - deactivate an already deactivated object adapter are - ignored and do nothing. Once deactivated, it is possible to - destroy the adapter to clean up resources and then create and - activate a new adapter with the same name. - - After deactivate returns, no new requests - are processed by the object adapter. However, requests that - have been started before deactivate was called might - still be active. You can use waitForDeactivate to wait - for the completion of all requests for this object adapter. - - </summary> - </member> - <member name="M:Ice.ObjectAdapter.waitForDeactivate"> - <summary> - Wait until the object adapter has deactivated. - Calling - deactivate initiates object adapter deactivation, and - waitForDeactivate only returns when deactivation has - been completed. - - </summary> - </member> - <member name="M:Ice.ObjectAdapter.isDeactivated"> - <summary> - Check whether object adapter has been deactivated. - </summary> - <returns>Whether adapter has been deactivated. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.destroy"> - <summary> - Destroys the object adapter and cleans up all resources held by - the object adapter. - If the object adapter has not yet been - deactivated, destroy implicitly initiates the deactivation - and waits for it to finish. Subsequent calls to destroy are - ignored. Once destroy has returned, it is possible to create - another object adapter with the same name. - - </summary> - </member> - <member name="M:Ice.ObjectAdapter.add(Ice.Object,Ice.Identity)"> - <summary> - Add a servant to this object adapter's Active Servant Map. - Note - that one servant can implement several Ice objects by registering - the servant with multiple identities. Adding a servant with an - identity that is in the map already throws AlreadyRegisteredException. - - </summary> - <param name="servant">The servant to add. - - </param> - <param name="id">The identity of the Ice object that is implemented by - the servant. - - </param> - <returns>A proxy that matches the given identity and this object - adapter. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.addFacet(Ice.Object,Ice.Identity,System.String)"> - <summary> - Like add, but with a facet. - Calling add(servant, id) - is equivalent to calling addFacet with an empty facet. - - </summary> - <param name="servant">The servant to add. - - </param> - <param name="id">The identity of the Ice object that is implemented by - the servant. - - </param> - <param name="facet">The facet. An empty facet means the default facet. - - </param> - <returns>A proxy that matches the given identity, facet, and - this object adapter. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.addWithUUID(Ice.Object)"> - <summary> - Add a servant to this object adapter's Active Servant Map, - using an automatically generated UUID as its identity. - Note that - the generated UUID identity can be accessed using the proxy's - ice_getIdentity operation. - - </summary> - <param name="servant">The servant to add. - - </param> - <returns>A proxy that matches the generated UUID identity and - this object adapter. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.addFacetWithUUID(Ice.Object,System.String)"> - <summary> - Like addWithUUID, but with a facet. - Calling - addWithUUID(servant) is equivalent to calling - addFacetWithUUID with an empty facet. - - </summary> - <param name="servant">The servant to add. - - </param> - <param name="facet">The facet. An empty facet means the default - facet. - - </param> - <returns>A proxy that matches the generated UUID identity, - facet, and this object adapter. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.addDefaultServant(Ice.Object,System.String)"> - <summary> - Add a default servant to handle requests for a specific - category. - Adding a default servant for a category for - which a default servant is already registered throws - AlreadyRegisteredException. To dispatch operation - calls on servants, the object adapter tries to find a servant - for a given Ice object identity and facet in the following - order: - - - - The object adapter tries to find a servant for the identity - and facet in the Active Servant Map. - - If no servant has been found in the Active Servant Map, the - object adapter tries to find a default servant for the category - component of the identity. - - If no servant has been found by any of the preceding steps, - the object adapter tries to find a default servant for an empty - category, regardless of the category contained in the identity. - - If no servant has been found by any of the preceding steps, - the object adapter gives up and the caller receives - ObjectNotExistException or FacetNotExistException. - - - - </summary> - <param name="servant">The default servant. - - </param> - <param name="category">The category for which the default servant is - registered. An empty category means it will handle all categories. - - </param> - </member> - <member name="M:Ice.ObjectAdapter.remove(Ice.Identity)"> - <summary> - Remove a servant (that is, the default facet) from the object - adapter's Active Servant Map. - </summary> - <param name="id">The identity of the Ice object that is implemented by - the servant. If the servant implements multiple Ice objects, - remove has to be called for all those Ice objects. - Removing an identity that is not in the map throws - NotRegisteredException. - - </param> - <returns>The removed servant. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.removeFacet(Ice.Identity,System.String)"> - <summary> - Like remove, but with a facet. - Calling remove(id) - is equivalent to calling removeFacet with an empty facet. - - </summary> - <param name="id">The identity of the Ice object that is implemented by - the servant. - - </param> - <param name="facet">The facet. An empty facet means the default facet. - - </param> - <returns>The removed servant. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.removeAllFacets(Ice.Identity)"> - <summary> - Remove all facets with the given identity from the Active - Servant Map. - The operation completely removes the Ice object, - including its default facet. Removing an identity that - is not in the map throws NotRegisteredException. - - </summary> - <param name="id">The identity of the Ice object to be removed. - - </param> - <returns>A collection containing all the facet names and - servants of the removed Ice object. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.removeDefaultServant(System.String)"> - <summary> - Remove the default servant for a specific category. - Attempting - to remove a default servant for a category that is not - registered throws NotRegisteredException. - - </summary> - <param name="category">The category of the default servant to remove. - - </param> - <returns>The default servant. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.find(Ice.Identity)"> - <summary> - Look up a servant in this object adapter's Active Servant Map - by the identity of the Ice object it implements. - This operation only tries to look up a servant in - the Active Servant Map. It does not attempt to find a servant - by using any installed ServantLocator. - - </summary> - <param name="id">The identity of the Ice object for which the servant - should be returned. - - </param> - <returns>The servant that implements the Ice object with the - given identity, or null if no such servant has been found. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.findFacet(Ice.Identity,System.String)"> - <summary> - Like find, but with a facet. - Calling find(id) - is equivalent to calling findFacet with an empty - facet. - - </summary> - <param name="id">The identity of the Ice object for which the - servant should be returned. - - </param> - <param name="facet">The facet. An empty facet means the default - facet. - - </param> - <returns>The servant that implements the Ice object with the - given identity and facet, or null if no such servant has been - found. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.findAllFacets(Ice.Identity)"> - <summary> - Find all facets with the given identity in the Active Servant - Map. - </summary> - <param name="id">The identity of the Ice object for which the facets - should be returned. - - </param> - <returns>A collection containing all the facet names and - servants that have been found, or an empty map if there is no - facet for the given identity. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.findByProxy(Ice.ObjectPrx)"> - <summary> - Look up a servant in this object adapter's Active Servant Map, - given a proxy. - This operation only tries to lookup a servant in - the Active Servant Map. It does not attempt to find a servant - by using any installed ServantLocator. - - </summary> - <param name="proxy">The proxy for which the servant should be returned. - - </param> - <returns>The servant that matches the proxy, or null if no such - servant has been found. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.addServantLocator(Ice.ServantLocator,System.String)"> - <summary> - Add a Servant Locator to this object adapter. - Adding a servant - locator for a category for which a servant locator is already - registered throws AlreadyRegisteredException. To dispatch - operation calls on servants, the object adapter tries to find a - servant for a given Ice object identity and facet in the - following order: - - - - The object adapter tries to find a servant for the identity - and facet in the Active Servant Map. - - If no servant has been found in the Active Servant Map, - the object adapter tries to find a servant locator for the - category component of the identity. If a locator is found, the - object adapter tries to find a servant using this locator. - - If no servant has been found by any of the preceding steps, - the object adapter tries to find a locator for an empty category, - regardless of the category contained in the identity. If a - locator is found, the object adapter tries to find a servant - using this locator. - - If no servant has been found by any of the preceding steps, - the object adapter gives up and the caller receives - ObjectNotExistException or FacetNotExistException. - - - - Only one locator for the empty category can be - installed. - - </summary> - <param name="locator">The locator to add. - - </param> - <param name="category">The category for which the Servant Locator can - locate servants, or an empty string if the Servant Locator does - not belong to any specific category. - - </param> - </member> - <member name="M:Ice.ObjectAdapter.removeServantLocator(System.String)"> - <summary> - Remove a Servant Locator from this object adapter. - </summary> - <param name="category">The category for which the Servant Locator can - locate servants, or an empty string if the Servant Locator does - not belong to any specific category. - - </param> - <returns>The Servant Locator, or throws NotRegisteredException - if no Servant Locator was found for the given category. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.findServantLocator(System.String)"> - <summary> - Find a Servant Locator installed with this object adapter. - </summary> - <param name="category">The category for which the Servant Locator can - locate servants, or an empty string if the Servant Locator does - not belong to any specific category. - - </param> - <returns>The Servant Locator, or null if no Servant Locator was - found for the given category. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.findDefaultServant(System.String)"> - <summary> - Find the default servant for a specific category. - </summary> - <param name="category">The category of the default servant to find. - - </param> - <returns>The default servant or null if no default servant was - registered for the category. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.createProxy(Ice.Identity)"> - <summary> - Create a proxy for the object with the given identity. - If this - object adapter is configured with an adapter id, the return - value is an indirect proxy that refers to the adapter id. If - a replica group id is also defined, the return value is an - indirect proxy that refers to the replica group id. Otherwise, - if no adapter id is defined, the return value is a direct - proxy containing this object adapter's published endpoints. - - </summary> - <param name="id">The object's identity. - - </param> - <returns>A proxy for the object with the given identity. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.createDirectProxy(Ice.Identity)"> - <summary> - Create a direct proxy for the object with the given identity. - The returned proxy contains this object adapter's published - endpoints. - - </summary> - <param name="id">The object's identity. - - </param> - <returns>A proxy for the object with the given identity. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.createIndirectProxy(Ice.Identity)"> - <summary> - Create an indirect proxy for the object with the given identity. - If this object adapter is configured with an adapter id, the - return value refers to the adapter id. Otherwise, the return - value contains only the object identity. - - </summary> - <param name="id">The object's identity. - - </param> - <returns>A proxy for the object with the given identity. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.setLocator(Ice.LocatorPrx)"> - <summary> - Set an Ice locator for this object adapter. - By doing so, the - object adapter will register itself with the locator registry - when it is activated for the first time. Furthermore, the proxies - created by this object adapter will contain the adapter name - instead of its endpoints. - - </summary> - <param name="loc">The locator used by this object adapter. - - </param> - </member> - <member name="M:Ice.ObjectAdapter.refreshPublishedEndpoints"> - <summary> - Refresh the set of published endpoints. - The run time re-reads - the PublishedEndpoints property if it is set and re-reads the - list of local interfaces if the adapter is configured to listen - on all endpoints. This operation is useful to refresh the endpoint - information that is published in the proxies that are created by - an object adapter if the network interfaces used by a host changes. - </summary> - </member> - <member name="M:Ice.ObjectAdapter.getEndpoints"> - <summary> - Get the set of endpoints configured with this object adapter. - </summary> - <returns>The set of endpoints. - - </returns> - </member> - <member name="M:Ice.ObjectAdapter.getPublishedEndpoints"> - <summary> - Get the set of endpoints that proxies created by this object - adapter will contain. - </summary> - <returns>The set of published endpoints. - - </returns> - </member> - <member name="T:Ice.DispatchStatus"> - <summary> - Indicates the status of operation dispatch. - </summary> - </member> - <member name="F:Ice.DispatchStatus.DispatchOK"> - <summary> - Indicates that an operation was dispatched synchronously and successfully. - </summary> - </member> - <member name="F:Ice.DispatchStatus.DispatchUserException"> - <summary> - Indicates that an operation was dispatched synchronously and raised a user exception. - </summary> - </member> - <member name="F:Ice.DispatchStatus.DispatchAsync"> - <summary> - Indicates that an operation was dispatched asynchronously. - </summary> - </member> - <member name="T:Ice.Blobject"> - <summary> - Base class for dynamic dispatch servants. A server application - derives a concrete servant class from Blobject that - implements the Blobject.ice_invoke method. - </summary> - </member> - <member name="M:Ice.Blobject.ice_invoke(System.Byte[],System.Byte[]@,Ice.Current)"> - <summary> - Dispatch an incoming request. - </summary> - <param name="inParams">The encoded in-parameters for the operation.</param> - <param name="outParams">The encoded out-paramaters and return value - for the operation. The return value follows any out-parameters.</param> - <param name="current">The Current object to pass to the operation.</param> - <returns>If the operation completed successfully, the return value - is true. If the operation raises a user exception, - the return value is false; in this case, outParams - must contain the encoded user exception. If the operation raises an - Ice run-time exception, it must throw it directly.</returns> - </member> - <member name="M:Ice.EndpointInfo.type"> - <summary> - Returns the type of the endpoint. - </summary> - </member> - <member name="M:Ice.EndpointInfo.datagram"> - <summary> - Returns true if this endpoint is a datagram endpoint. - </summary> - </member> - <member name="M:Ice.EndpointInfo.secure"> - <summary> - Returns true if this endpoint is a secure endpoint. - </summary> - </member> - <member name="T:Ice.Optional`1"> - <summary> - Encapsulates an optional value. Instances of this type are immutable. - </summary> - </member> - <member name="M:Ice.Optional`1.#ctor(Ice.NoneType)"> - <summary> - Creates an optional value whose state is unset. - </summary> - </member> - <member name="M:Ice.Optional`1.#ctor(`0)"> - <summary> - Creates an optional value and sets its value to the given argument. - </summary> - </member> - <member name="M:Ice.Optional`1.#ctor(Ice.Optional{`0})"> - <summary> - Creates an optional value whose state is copied from the given argument. - </summary> - </member> - <member name="M:Ice.Optional`1.op_Explicit(Ice.Optional{`0})~`0"> - <summary> - Conversion operator to the underlying type; a cast is required. An exception - is raised if no value is set. - </summary> - <returns>The encapsulated value.</returns> - <exception cref="T:System.InvalidOperationException">Thrown if no value is set.</exception> - </member> - <member name="M:Ice.Optional`1.op_Implicit(`0)~Ice.Optional{`0}"> - <summary> - Conversion operator from a value of the underlying type; no cast is required. - </summary> - </member> - <member name="M:Ice.Optional`1.op_Implicit(Ice.NoneType)~Ice.Optional{`0}"> - <summary> - Conversion operator from a None value; no cast is required. - </summary> - </member> - <member name="P:Ice.Optional`1.Value"> - <summary> - Reads and writes the encapsulated value. - </summary> - <exception cref="T:System.InvalidOperationException">Thrown if the property is read and no value is - set.</exception> - </member> - <member name="P:Ice.Optional`1.HasValue"> - <summary> - Determines whether a value is set. - </summary> - <returns>True if a value is set, false otherwise.</returns> - </member> - <member name="T:Ice.OptionalPatcher`1"> - <summary> - Handles callbacks for an optional object parameter. - </summary> - </member> - <member name="T:Ice.ReadObjectCallback"> - <summary> - Callback class to inform an application when a Slice class has been unmarshaled - from an input stream. - </summary> - </member> - <member name="M:Ice.ReadObjectCallback.invoke(Ice.Object)"> - <summary> - The Ice run time calls this method when it has fully unmarshaled the state - of a Slice class. - </summary> - <param name="obj">The unmarshaled Slice class.</param> - </member> - <member name="M:Ice.OptionalPatcher`1.#ctor(System.String)"> - <summary> - Instantiates the class with the given optional. - </summary> - <param name="type">The Slice type ID corresponding to the formal type.</param> - </member> - <member name="M:Ice.OptionalPatcher`1.patch(Ice.Object)"> - <summary> - Sets the Ice object of the optional to the passed instance. - </summary> - <param name="v">The new object for the optional.</param> - </member> - <member name="F:Ice.OptionalPatcher`1.value"> - <summary> - The target optional. - </summary> - </member> - <member name="T:Ice.OptionalFormat"> - <summary> - The optional format. - - An optional value is encoded with a specific optional format. This optional - format describes how the data is encoded and how it can be skipped by the - unmarshaling code if the optional is not known to the receiver. - </summary> - </member> - <member name="T:Ice.AsyncCallback"> - - <summary> - Callback that requires the application to down-cast the proxy. - </summary> - - </member> - <member name="T:Ice.OnewayCallback"> - - <summary> - Callback for the successful completion of an operation - that returns no data. - </summary> - - </member> - <member name="T:Ice.SentCallback"> - - <summary> - Callback for the successful completion of an operation - that returns no data. - </summary> - - </member> - <member name="T:Ice.ExceptionCallback"> - - <summary> - Called when an invocation raises an exception. - </summary> - - </member> - <member name="T:Ice.AsyncResult"> - - <summary> - <!-- TODO --> - </summary> - </member> - <member name="T:Ice.AMISentCallback"> - <summary> - Deprecated callback interface for AMI invocations. This is useful - for applications that send asynchronous invocations that - might not be sent for some time and, therefore, are - queued in the Ice run time for transmission. - The Ice run time calls ice_sent if an - an AMI invocation cannot be written to the transport and was - queued for later transmission. Applications that need to - implement flow control for AMI invocations can implement - this interface on the corresponding AMI callback object. - </summary> - </member> - <member name="M:Ice.AMISentCallback.ice_sent"> - <summary> - Indicates to the caller of an AMI operation that - the invocation was queued for later transmission. - </summary> - </member> - <member name="M:Ice.AMICallbackBase.ice_exception(Ice.Exception)"> - <summary> - The Ice run time calls ice_exception when an asynchronous operation invocation - raises an Ice run-time exception. - </summary> - <param name="ex">The encoded Ice run-time exception raised by the operation.</param> - </member> - <member name="T:Ice.ProcessOperations_"> - <summary> - An administrative interface for process management. - Managed servers must - implement this interface. - - A servant implementing this interface is a potential target - for denial-of-service attacks, therefore proper security precautions - should be taken. For example, the servant can use a UUID to make its - identity harder to guess, and be registered in an object adapter with - a secured endpoint. - </summary> - </member> - <member name="M:Ice.ProcessOperations_.shutdown(Ice.Current)"> - <summary> - Initiate a graceful shut-down. - </summary> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.ProcessOperations_.writeMessage(System.String,System.Int32,Ice.Current)"> - <summary> - Write a message on the process' stdout or stderr. - </summary> - <param name="message">The message. - - </param> - <param name="fd">1 for stdout, 2 for stderr.</param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="T:Ice.ProcessOperationsNC_"> - <summary> - An administrative interface for process management. - Managed servers must - implement this interface. - - A servant implementing this interface is a potential target - for denial-of-service attacks, therefore proper security precautions - should be taken. For example, the servant can use a UUID to make its - identity harder to guess, and be registered in an object adapter with - a secured endpoint. - </summary> - </member> - <member name="M:Ice.ProcessOperationsNC_.shutdown"> - <summary> - Initiate a graceful shut-down. - </summary> - </member> - <member name="M:Ice.ProcessOperationsNC_.writeMessage(System.String,System.Int32)"> - <summary> - Write a message on the process' stdout or stderr. - </summary> - <param name="message">The message. - - </param> - <param name="fd">1 for stdout, 2 for stderr.</param> - </member> - <member name="T:Ice.PropertiesAdminOperations_"> - <summary> - The PropertiesAdmin interface provides remote access to the properties - of a communicator. - </summary> - </member> - <member name="M:Ice.PropertiesAdminOperations_.getProperty(System.String,Ice.Current)"> - <summary> - Get a property by key. - If the property is not set, an empty - string is returned. - - </summary> - <param name="key">The property key. - - </param> - <returns>The property value.</returns> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.PropertiesAdminOperations_.getPropertiesForPrefix(System.String,Ice.Current)"> - <summary> - Get all properties whose keys begin with prefix. - If - prefix is an empty string then all properties are returned. - - </summary> - <param name="prefix">The prefix to search for (empty string if none). - </param> - <returns>The matching property set.</returns> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.PropertiesAdminOperations_.setProperties_async(Ice.AMD_PropertiesAdmin_setProperties,System.Collections.Generic.Dictionary{System.String,System.String},Ice.Current)"> - <summary> - Update the communicator's properties with the given property set. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="newProperties">Properties to be added, changed, or removed. - If an entry in newProperties matches the name of an existing property, - that property's value is replaced with the new value. If the new value - is an empty string, the property is removed. Any existing properties - that are not modified or removed by the entries in newProperties are - retained with their original values.</param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="T:Ice.PropertiesAdminOperationsNC_"> - <summary> - The PropertiesAdmin interface provides remote access to the properties - of a communicator. - </summary> - </member> - <member name="M:Ice.PropertiesAdminOperationsNC_.getProperty(System.String)"> - <summary> - Get a property by key. - If the property is not set, an empty - string is returned. - - </summary> - <param name="key">The property key. - - </param> - <returns>The property value.</returns> - </member> - <member name="M:Ice.PropertiesAdminOperationsNC_.getPropertiesForPrefix(System.String)"> - <summary> - Get all properties whose keys begin with prefix. - If - prefix is an empty string then all properties are returned. - - </summary> - <param name="prefix">The prefix to search for (empty string if none). - </param> - <returns>The matching property set.</returns> - </member> - <member name="M:Ice.PropertiesAdminOperationsNC_.setProperties_async(Ice.AMD_PropertiesAdmin_setProperties,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Update the communicator's properties with the given property set. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="newProperties">Properties to be added, changed, or removed. - If an entry in newProperties matches the name of an existing property, - that property's value is replaced with the new value. If the new value - is an empty string, the property is removed. Any existing properties - that are not modified or removed by the entries in newProperties are - retained with their original values.</param> - </member> - <member name="M:Ice.Properties.getProperty(System.String)"> - <summary> - Get a property by key. - If the property is not set, an empty - string is returned. - - </summary> - <param name="key">The property key. - - </param> - <returns>The property value. - - </returns> - </member> - <member name="M:Ice.Properties.getPropertyWithDefault(System.String,System.String)"> - <summary> - Get a property by key. - If the property is not set, the - given default value is returned. - - </summary> - <param name="key">The property key. - - </param> - <param name="value">The default value to use if the property does not - exist. - - </param> - <returns>The property value or the default value. - - </returns> - </member> - <member name="M:Ice.Properties.getPropertyAsInt(System.String)"> - <summary> - Get a property as an integer. - If the property is not set, 0 - is returned. - - </summary> - <param name="key">The property key. - - </param> - <returns>The property value interpreted as an integer. - - </returns> - </member> - <member name="M:Ice.Properties.getPropertyAsIntWithDefault(System.String,System.Int32)"> - <summary> - Get a property as an integer. - If the property is not set, the - given default value is returned. - - </summary> - <param name="key">The property key. - - </param> - <param name="value">The default value to use if the property does not - exist. - - </param> - <returns>The property value interpreted as an integer, or the - default value. - - </returns> - </member> - <member name="M:Ice.Properties.getPropertyAsList(System.String)"> - <summary> - Get a property as a list of strings. - If the property is not set, - an empty list is returned. The strings in the list can contain - whitespace if they are enclosed in single or double quotes. - If quotes are mismatched, an empty list is returned. - Within single quotes or double-quotes, you can escape the - quote in question with \, e.g. O'Reilly can be written as - O'Reilly, "O'Reilly" or 'O\'Reilly'. - - </summary> - <param name="key">The property key. - - </param> - <returns>The property value interpreted as a list of strings. - - </returns> - </member> - <member name="M:Ice.Properties.getPropertyAsListWithDefault(System.String,System.String[])"> - <summary> - Get a property as a list of strings. - If the property is not set, - the default list is returned. The strings in the list can contain - whitespace if they are enclosed in single or double quotes. - If quotes are mismatched, the default list is returned. - Within single quotes or double-quotes, you can escape the - quote in question with \, e.g. O'Reilly can be written as - O'Reilly, "O'Reilly" or 'O\'Reilly'. - - </summary> - <param name="key">The property key. - - </param> - <param name="value">The default value to use if the property is not set. - - </param> - <returns>The property value interpreted as list of strings, or the - default value. - - </returns> - </member> - <member name="M:Ice.Properties.getPropertiesForPrefix(System.String)"> - <summary> - Get all properties whose keys begins with - prefix. - If - prefix is an empty string, - then all properties are returned. - - </summary> - <param name="prefix">The prefix to search for (empty string if none). - </param> - <returns>The matching property set.</returns> - </member> - <member name="M:Ice.Properties.setProperty(System.String,System.String)"> - <summary> - Set a property. - To unset a property, set it to - the empty string. - - </summary> - <param name="key">The property key. - </param> - <param name="value">The property value. - - </param> - </member> - <member name="M:Ice.Properties.getCommandLineOptions"> - <summary> - Get a sequence of command-line options that is equivalent to - this property set. - Each element of the returned sequence is - a command-line option of the form - --key=value. - - </summary> - <returns>The command line options for this property set.</returns> - </member> - <member name="M:Ice.Properties.parseCommandLineOptions(System.String,System.String[])"> - <summary> - Convert a sequence of command-line options into properties. - All options that begin with - --prefix. are - converted into properties. If the prefix is empty, all options - that begin with -- are converted to properties. - - </summary> - <param name="prefix">The property prefix, or an empty string to - convert all options starting with --. - - </param> - <param name="options">The command-line options. - - </param> - <returns>The command-line options that do not start with the specified - prefix, in their original order.</returns> - </member> - <member name="M:Ice.Properties.parseIceCommandLineOptions(System.String[])"> - <summary> - Convert a sequence of command-line options into properties. - All options that begin with one of the following prefixes - are converted into properties: --Ice, --IceBox, --IceGrid, - --IcePatch2, --IceSSL, --IceStorm, --Freeze, and --Glacier2. - - </summary> - <param name="options">The command-line options. - - </param> - <returns>The command-line options that do not start with one of - the listed prefixes, in their original order.</returns> - </member> - <member name="M:Ice.Properties.load(System.String)"> - <summary> - Load properties from a file. - </summary> - <param name="file">The property file.</param> - </member> - <member name="M:Ice.Properties.ice_clone_"> - <summary> - Create a copy of this property set. - </summary> - <returns>A copy of this property set.</returns> - </member> - <member name="T:Ice.Callback_Object_ice_isA"> - <summary> - Delegate for a successful <code>ice_isA</code> invocation. - <param name="ret__">True if the remote object supports the type, false otherwise.</param> - </summary> - </member> - <member name="T:Ice.Callback_Object_ice_ids"> - <summary> - Delegate for a successful <code>ice_ids</code> invocation. - <param name="ret__">The array of Slice type ids supported by the remote object.</param> - </summary> - </member> - <member name="T:Ice.Callback_Object_ice_id"> - <summary> - Delegate for a successful <code>ice_id</code> invocation. - <param name="ret__">The Slice type id of the most-derived interface supported by the remote object.</param> - </summary> - </member> - <member name="T:Ice.Callback_Object_ice_ping"> - <summary> - Delegate for a successful <code>ice_ping</code> invocation. - </summary> - </member> - <member name="T:Ice.Callback_Object_ice_invoke"> - <summary> - Delegate for a successful <code>ice_invoke</code> invocation. - <param name="ret__">True if the invocation succeeded, or false if the invocation - raised a user exception.</param> - <param name="outEncaps">The encoded out-parameters or user exception.</param> - </summary> - </member> - <member name="T:Ice.AMI_Object_ice_invoke"> - <summary> - Callback object for Blobject AMI invocations. - </summary> - </member> - <member name="M:Ice.AMI_Object_ice_invoke.ice_response(System.Boolean,System.Byte[])"> - <summary> - The Ice run time calls <code>ice_response</code> when an asynchronous operation invocation - completes successfully or raises a user exception. - </summary> - <param name="ok">Indicates the result of the invocation. If true, the operation - completed succesfully; if false, the operation raised a user exception.</param> - <param name="outEncaps">Contains the encoded out-parameters of the operation (if any) if ok - is true; otherwise, if ok is false, contains the - encoded user exception raised by the operation.</param> - </member> - <member name="T:Ice.AMI_Object_ice_flushBatchRequests"> - <summary> - Callback object for ObjectPrx.ice_flushBatchRequests_async. - </summary> - </member> - <member name="T:Ice.ObjectPrx"> - <summary> - Base interface of all object proxies. - </summary> - </member> - <member name="M:Ice.ObjectPrx.ice_getCommunicator"> - <summary> - Returns the communicator that created this proxy. - </summary> - <returns>The communicator that created this proxy.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isA(System.String)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="id__">The type ID of the Slice interface to test against.</param> - <returns>True if the target object has the interface specified by id__ or derives - from the interface specified by id__.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isA(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="id__">The type ID of the Slice interface to test against.</param> - <param name="context__">The context dictionary for the invocation.</param> - <returns>True if the target object has the interface specified by id__ or derives - from the interface specified by id__.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_isA(System.String)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="id">The type ID of the Slice interface to test against.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_isA(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="id">The type ID of the Slice interface to test against.</param> - <param name="context__">The context dictionary for the invocation.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_isA(System.String,Ice.AsyncCallback,System.Object)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="id">The type ID of the Slice interface to test against.</param> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_isA(System.String,System.Collections.Generic.Dictionary{System.String,System.String},Ice.AsyncCallback,System.Object)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="id">The type ID of the Slice interface to test against.</param> - <param name="context__">The context dictionary for the invocation.</param> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.end_ice_isA(Ice.AsyncResult)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="r__">The asynchronous result object returned by <code>begin_ice_isA</code>.</param> - <returns>True if the object supports the Slice interface, false otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_ping"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - </member> - <member name="M:Ice.ObjectPrx.ice_ping(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_ping"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_ping(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_ping(Ice.AsyncCallback,System.Object)"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_ping(System.Collections.Generic.Dictionary{System.String,System.String},Ice.AsyncCallback,System.Object)"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.end_ice_ping(Ice.AsyncResult)"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - <param name="r__">The asynchronous result object returned by <code>begin_ice_ping</code>.</param> - </member> - <member name="M:Ice.ObjectPrx.ice_ids"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <returns>The Slice type IDs of the interfaces supported by the target object, in base-to-derived - order. The first element of the returned array is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_ids(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <returns>The Slice type IDs of the interfaces supported by the target object, in base-to-derived - order. The first element of the returned array is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_ids"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_ids(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_ids(Ice.AsyncCallback,System.Object)"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_ids(System.Collections.Generic.Dictionary{System.String,System.String},Ice.AsyncCallback,System.Object)"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.end_ice_ids(Ice.AsyncResult)"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <param name="r__">The asynchronous result object returned by <code>begin_ice_ids</code>.</param> - <returns>The Slice type IDs of the interfaces supported by the target object, in base-to-derived - order. The first element of the returned array is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_id"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <returns>The Slice type ID of the most-derived interface.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_id(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <returns>The Slice type ID of the most-derived interface.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_id"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_id(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_id(Ice.AsyncCallback,System.Object)"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_id(System.Collections.Generic.Dictionary{System.String,System.String},Ice.AsyncCallback,System.Object)"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.end_ice_id(Ice.AsyncResult)"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <param name="r__">The asynchronous result object returned by <code>begin_ice_id</code>.</param> - <returns>The Slice type ID of the most-derived interface.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_invoke(System.String,Ice.OperationMode,System.Byte[],System.Byte[]@)"> - <summary> - Invokes an operation dynamically. - </summary> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="outEncaps">The encoded out-paramaters and return value - for the operation. The return value follows any out-parameters.</param> - <returns>If the operation completed successfully, the return value - is true. If the operation raises a user exception, - the return value is false; in this case, outEncaps - contains the encoded user exception. If the operation raises a run-time exception, - it throws it directly.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_invoke(System.String,Ice.OperationMode,System.Byte[],System.Byte[]@,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Invokes an operation dynamically. - </summary> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="outEncaps">The encoded out-paramaters and return value - for the operation. The return value follows any out-parameters.</param> - <param name="context__">The context dictionary for the invocation.</param> - <returns>If the operation completed successfully, the return value - is true. If the operation raises a user exception, - the return value is false; in this case, outEncaps - contains the encoded user exception. If the operation raises a run-time exception, - it throws it directly.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_invoke_async(Ice.AMI_Object_ice_invoke,System.String,Ice.OperationMode,System.Byte[])"> - <summary> - Invokes an operation dynamically and asynchronously. - </summary> - <param name="cb">The callback object to notify when the operation completes.</param> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <returns> If the operation was invoked synchronously (because there - was no need to queue the request), the return value is true; - otherwise, if the invocation was queued, the return value is false.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_invoke_async(Ice.AMI_Object_ice_invoke,System.String,Ice.OperationMode,System.Byte[],System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Invokes an operation dynamically and asynchronously. - </summary> - <param name="cb">The callback object to notify when the operation completes.</param> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="context">The context dictionary for the invocation.</param> - <returns> If the operation was invoked synchronously (because there - was no need to queue the request), the return value is true; - otherwise, if the invocation was queued, the return value is false.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_invoke(System.String,Ice.OperationMode,System.Byte[])"> - <summary> - Invokes an operation dynamically. - </summary> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_invoke(System.String,Ice.OperationMode,System.Byte[],System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Invokes an operation dynamically. - </summary> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="context__">The context dictionary for the invocation.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_invoke(System.String,Ice.OperationMode,System.Byte[],Ice.AsyncCallback,System.Object)"> - <summary> - Invokes an operation dynamically. - </summary> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.begin_ice_invoke(System.String,Ice.OperationMode,System.Byte[],System.Collections.Generic.Dictionary{System.String,System.String},Ice.AsyncCallback,System.Object)"> - <summary> - Invokes an operation dynamically. - </summary> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="context__">The context dictionary for the invocation.</param> - <param name="cb__">A callback to be invoked when the invocation completes.</param> - <param name="cookie__">Application-specific data to be stored in the result.</param> - <returns>An asynchronous result object.</returns> - </member> - <member name="M:Ice.ObjectPrx.end_ice_invoke(System.Byte[]@,Ice.AsyncResult)"> - <summary> - Completes a dynamic invocation. - </summary> - <param name="outEncaps">The encoded out parameters or user exception.</param> - <param name="r__">The asynchronous result object returned by <code>begin_ice_invoke</code>.</param> - <returns>If the operation completed successfully, the return value - is true. If the operation raises a user exception, - the return value is false; in this case, outEncaps - contains the encoded user exception. If the operation raises a run-time exception, - it throws it directly.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getIdentity"> - <summary> - Returns the identity embedded in this proxy. - <returns>The identity of the target object.</returns> - </summary> - </member> - <member name="M:Ice.ObjectPrx.ice_identity(Ice.Identity)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the per-proxy context. - <param name="newIdentity">The identity for the new proxy.</param> - <returns>The proxy with the new identity.</returns> - </summary> - </member> - <member name="M:Ice.ObjectPrx.ice_getContext"> - <summary> - Returns the per-proxy context for this proxy. - </summary> - <returns>The per-proxy context. If the proxy does not have a per-proxy (implicit) context, the return value - is null.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_context(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Creates a new proxy that is identical to this proxy, except for the per-proxy context. - </summary> - <param name="newContext">The context for the new proxy.</param> - <returns>The proxy with the new per-proxy context.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getFacet"> - <summary> - Returns the facet for this proxy. - </summary> - <returns>The facet for this proxy. If the proxy uses the default facet, the return value is the - empty string.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_facet(System.String)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the facet. - </summary> - <param name="newFacet">The facet for the new proxy.</param> - <returns>The proxy with the new facet.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getAdapterId"> - <summary> - Returns the adapter ID for this proxy. - </summary> - <returns>The adapter ID. If the proxy does not have an adapter ID, the return value is the - empty string.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_adapterId(System.String)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the adapter ID. - </summary> - <param name="newAdapterId">The adapter ID for the new proxy.</param> - <returns>The proxy with the new adapter ID.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getEndpoints"> - <summary> - Returns the endpoints used by this proxy. - </summary> - <returns>The endpoints used by this proxy.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_endpoints(Ice.Endpoint[])"> - <summary> - Creates a new proxy that is identical to this proxy, except for the endpoints. - </summary> - <param name="newEndpoints">The endpoints for the new proxy.</param> - <returns>The proxy with the new endpoints.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getLocatorCacheTimeout"> - <summary> - Returns the locator cache timeout of this proxy. - </summary> - <returns>The locator cache timeout value (in seconds).</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_locatorCacheTimeout(System.Int32)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the locator cache timeout. - </summary> - <param name="timeout">The new locator cache timeout (in seconds).</param> - </member> - <member name="M:Ice.ObjectPrx.ice_isConnectionCached"> - <summary> - Returns whether this proxy caches connections. - </summary> - <returns>True if this proxy caches connections; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_connectionCached(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for connection caching. - </summary> - <param name="newCache">True if the new proxy should cache connections; false, otherwise.</param> - <returns>The new proxy with the specified caching policy.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getEndpointSelection"> - <summary> - Returns how this proxy selects endpoints (randomly or ordered). - </summary> - <returns>The endpoint selection policy.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_endpointSelection(Ice.EndpointSelectionType)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the endpoint selection policy. - </summary> - <param name="newType">The new endpoint selection policy.</param> - <returns>The new proxy with the specified endpoint selection policy.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isSecure"> - <summary> - Returns whether this proxy communicates only via secure endpoints. - </summary> - <returns>True if this proxy communicates only vi secure endpoints; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_secure(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for how it selects endpoints. - </summary> - <param name="b"> If b is true, only endpoints that use a secure transport are - used by the new proxy. If b is false, the returned proxy uses both secure and insecure - endpoints.</param> - <returns>The new proxy with the specified selection policy.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_encodingVersion(Ice.EncodingVersion)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the encoding used to marshal - parameters. - </summary> - <param name="e">The encoding version to use to marshal requests parameters.</param> - <returns>The new proxy with the specified encoding version.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getEncodingVersion"> - <summary>Returns the encoding version used to marshal requests parameters.</summary> - <returns>The encoding version.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isPreferSecure"> - <summary> - Returns whether this proxy prefers secure endpoints. - </summary> - <returns>True if the proxy always attempts to invoke via secure endpoints before it - attempts to use insecure endpoints; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_preferSecure(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for its endpoint selection policy. - </summary> - <param name="b">If b is true, the new proxy will use secure endpoints for invocations - and only use insecure endpoints if an invocation cannot be made via secure endpoints. If b is - false, the proxy prefers insecure endpoints to secure ones.</param> - <returns>The new proxy with the new endpoint selection policy.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getRouter"> - <summary> - Returns the router for this proxy. - </summary> - <returns>The router for the proxy. If no router is configured for the proxy, the return value - is null.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_router(Ice.RouterPrx)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the router. - </summary> - <param name="router">The router for the new proxy.</param> - <returns>The new proxy with the specified router.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getLocator"> - <summary> - Returns the locator for this proxy. - </summary> - <returns>The locator for this proxy. If no locator is configured, the return value is null.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_locator(Ice.LocatorPrx)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the locator. - </summary> - <param name="locator">The locator for the new proxy.</param> - <returns>The new proxy with the specified locator.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isCollocationOptimized"> - <summary> - Returns whether this proxy uses collocation optimization. - </summary> - <returns>True if the proxy uses collocation optimization; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_collocationOptimized(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for collocation optimization. - </summary> - <param name="b">True if the new proxy enables collocation optimization; false, otherwise.</param> - <returns>The new proxy the specified collocation optimization.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_twoway"> - <summary> - Creates a new proxy that is identical to this proxy, but uses twoway invocations. - </summary> - <returns>A new proxy that uses twoway invocations.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isTwoway"> - <summary> - Returns whether this proxy uses twoway invocations. - </summary> - <returns>True if this proxy uses twoway invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_oneway"> - <summary> - Creates a new proxy that is identical to this proxy, but uses oneway invocations. - </summary> - <returns>A new proxy that uses oneway invocations.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isOneway"> - <summary> - Returns whether this proxy uses oneway invocations. - </summary> - <returns>True if this proxy uses oneway invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_batchOneway"> - <summary> - Creates a new proxy that is identical to this proxy, but uses batch oneway invocations. - </summary> - <returns>A new proxy that uses batch oneway invocations.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isBatchOneway"> - <summary> - Returns whether this proxy uses batch oneway invocations. - </summary> - <returns>True if this proxy uses batch oneway invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_datagram"> - <summary> - Creates a new proxy that is identical to this proxy, but uses datagram invocations. - </summary> - <returns>A new proxy that uses datagram invocations.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isDatagram"> - <summary> - Returns whether this proxy uses datagram invocations. - </summary> - <returns>True if this proxy uses datagram invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_batchDatagram"> - <summary> - Creates a new proxy that is identical to this proxy, but uses batch datagram invocations. - </summary> - <returns>A new proxy that uses batch datagram invocations.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_isBatchDatagram"> - <summary> - Returns whether this proxy uses batch datagram invocations. - </summary> - <returns>True if this proxy uses batch datagram invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_compress(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for compression. - </summary> - <param name="co">True enables compression for the new proxy; false disables compression.</param> - <returns>A new proxy with the specified compression setting.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_timeout(System.Int32)"> - <summary> - Creates a new proxy that is identical to this proxy, except for its timeout setting. - </summary> - <param name="t">The timeout for the new proxy in milliseconds.</param> - <returns>A new proxy with the specified timeout.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_connectionId(System.String)"> - <summary> - Creates a new proxy that is identical to this proxy, except for its connection ID. - </summary> - <param name="connectionId">The connection ID for the new proxy. An empty string removes the - connection ID.</param> - <returns>A new proxy with the specified connection ID.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getConnectionId"> - <summary> - Returns the connection id of this proxy. - </summary> - <returns>The connection id.</returns> - </member> - <member name="M:Ice.ObjectPrx.ice_getConnection"> - <summary> - Returns the Connection for this proxy. If the proxy does not yet have an established connection, - it first attempts to create a connection. - </summary> - <returns>The Connection for this proxy.</returns> - <exception name="CollocationOptimizationException">If the proxy uses collocation optimization and denotes a - collocated object.</exception> - </member> - <member name="M:Ice.ObjectPrx.ice_getCachedConnection"> - <summary> - Returns the cached Connection for this proxy. If the proxy does not yet have an established - connection, it does not attempt to create a connection. - </summary> - <returns>The cached Connection for this proxy (null if the proxy does not have - an established connection).</returns> - <exception name="CollocationOptimizationException">If the proxy uses collocation optimization and denotes a - collocated object.</exception> - </member> - <member name="M:Ice.ObjectPrx.ice_flushBatchRequests"> - <summary> - Flushes any pending batched requests for this communicator. The call blocks until the flush is complete. - </summary> - </member> - <member name="M:Ice.ObjectPrx.ice_flushBatchRequests_async(Ice.AMI_Object_ice_flushBatchRequests)"> - <summary> - Asynchronously flushes any pending batched requests for this communicator. The call does not block. - </summary> - <param name="cb">The callback object to notify the application when the flush is complete.</param> - <returns>True if the requests were flushed immediately without blocking; false - if the requests could not be flushed immediately.</returns> - </member> - <member name="T:Ice.ObjectPrxHelperBase"> - <summary> - Base class of all object proxies. - </summary> - </member> - <member name="M:Ice.ObjectPrxHelperBase.GetHashCode"> - <summary> - Returns a hash code for this proxy. - </summary> - <returns>The hash code.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getCommunicator"> - <summary> - Returns the communicator that created this proxy. - </summary> - <returns>The communicator that created this proxy.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ToString"> - <summary> - Returns the stringified form of this proxy. - </summary> - <returns>The stringified proxy.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isA(System.String)"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="id__">The type ID of the Slice interface to test against.</param> - <returns>True if the target object has the interface specified by id__ or derives - from the interface specified by id__.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isA(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Tests whether this object supports a specific Slice interface. - </summary> - <param name="id__">The type ID of the Slice interface to test against.</param> - <param name="context__">The context dictionary for the invocation.</param> - <returns>True if the target object has the interface specified by id__ or derives - from the interface specified by id__.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_ping"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_ping(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Tests whether the target object of this proxy can be reached. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_ids"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <returns>The Slice type IDs of the interfaces supported by the target object, in base-to-derived - order. The first element of the returned array is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_ids(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Returns the Slice type IDs of the interfaces supported by the target object of this proxy. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <returns>The Slice type IDs of the interfaces supported by the target object, in base-to-derived - order. The first element of the returned array is always ::Ice::Object.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_id"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <returns>The Slice type ID of the most-derived interface.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_id(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. - </summary> - <param name="context__">The context dictionary for the invocation.</param> - <returns>The Slice type ID of the most-derived interface.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_invoke(System.String,Ice.OperationMode,System.Byte[],System.Byte[]@)"> - <summary> - Invokes an operation dynamically. - </summary> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="outEncaps">The encoded out-paramaters and return value - for the operation. The return value follows any out-parameters.</param> - <returns>If the operation completed successfully, the return value - is true. If the operation raises a user exception, - the return value is false; in this case, outEncaps - contains the encoded user exception. If the operation raises a run-time exception, - it throws it directly.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_invoke(System.String,Ice.OperationMode,System.Byte[],System.Byte[]@,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Invokes an operation dynamically. - </summary> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="outEncaps">The encoded out-paramaters and return value - for the operation. The return value follows any out-parameters.</param> - <param name="context">The context dictionary for the invocation.</param> - <returns>If the operation completed successfully, the return value - is true. If the operation raises a user exception, - the return value is false; in this case, outEncaps - contains the encoded user exception. If the operation raises a run-time exception, - it throws it directly.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_invoke_async(Ice.AMI_Object_ice_invoke,System.String,Ice.OperationMode,System.Byte[])"> - <summary> - Invokes an operation dynamically and asynchronously. - </summary> - <param name="cb">The callback object to notify when the operation completes.</param> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <returns> If the operation was invoked synchronously (because there - was no need to queue the request), the return value is true; - otherwise, if the invocation was queued, the return value is false.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_invoke_async(Ice.AMI_Object_ice_invoke,System.String,Ice.OperationMode,System.Byte[],System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Invokes an operation dynamically and asynchronously. - </summary> - <param name="cb">The callback object to notify when the operation completes.</param> - <param name="operation">The name of the operation to invoke.</param> - <param name="mode">The operation mode (normal or idempotent).</param> - <param name="inEncaps">The encoded in-parameters for the operation.</param> - <param name="context">The context dictionary for the invocation.</param> - <returns> If the operation was invoked synchronously (because there - was no need to queue the request), the return value is true; - otherwise, if the invocation was queued, the return value is false.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getIdentity"> - <summary> - Returns the identity embedded in this proxy. - <returns>The identity of the target object.</returns> - </summary> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_identity(Ice.Identity)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the per-proxy context. - <param name="newIdentity">The identity for the new proxy.</param> - <returns>The proxy with the new identity.</returns> - </summary> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getContext"> - <summary> - Returns the per-proxy context for this proxy. - </summary> - <returns>The per-proxy context. If the proxy does not have a per-proxy (implicit) context, the return value - is null.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_context(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Creates a new proxy that is identical to this proxy, except for the per-proxy context. - </summary> - <param name="newContext">The context for the new proxy.</param> - <returns>The proxy with the new per-proxy context.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getFacet"> - <summary> - Returns the facet for this proxy. - </summary> - <returns>The facet for this proxy. If the proxy uses the default facet, the return value is the - empty string.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_facet(System.String)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the facet. - </summary> - <param name="newFacet">The facet for the new proxy.</param> - <returns>The proxy with the new facet.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getAdapterId"> - <summary> - Returns the adapter ID for this proxy. - </summary> - <returns>The adapter ID. If the proxy does not have an adapter ID, the return value is the - empty string.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_adapterId(System.String)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the adapter ID. - </summary> - <param name="newAdapterId">The adapter ID for the new proxy.</param> - <returns>The proxy with the new adapter ID.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getEndpoints"> - <summary> - Returns the endpoints used by this proxy. - </summary> - <returns>The endpoints used by this proxy.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_endpoints(Ice.Endpoint[])"> - <summary> - Creates a new proxy that is identical to this proxy, except for the endpoints. - </summary> - <param name="newEndpoints">The endpoints for the new proxy.</param> - <returns>The proxy with the new endpoints.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getLocatorCacheTimeout"> - <summary> - Returns the locator cache timeout of this proxy. - </summary> - <returns>The locator cache timeout value (in seconds).</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_locatorCacheTimeout(System.Int32)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the locator cache timeout. - </summary> - <param name="newTimeout">The new locator cache timeout (in seconds).</param> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isConnectionCached"> - <summary> - Returns whether this proxy caches connections. - </summary> - <returns>True if this proxy caches connections; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_connectionCached(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for connection caching. - </summary> - <param name="newCache">True if the new proxy should cache connections; false, otherwise.</param> - <returns>The new proxy with the specified caching policy.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getEndpointSelection"> - <summary> - Returns how this proxy selects endpoints (randomly or ordered). - </summary> - <returns>The endpoint selection policy.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_endpointSelection(Ice.EndpointSelectionType)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the endpoint selection policy. - </summary> - <param name="newType">The new endpoint selection policy.</param> - <returns>The new proxy with the specified endpoint selection policy.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isSecure"> - <summary> - Returns whether this proxy communicates only via secure endpoints. - </summary> - <returns>True if this proxy communicates only vi secure endpoints; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_secure(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for how it selects endpoints. - </summary> - <param name="b"> If b is true, only endpoints that use a secure transport are - used by the new proxy. If b is false, the returned proxy uses both secure and insecure - endpoints.</param> - <returns>The new proxy with the specified selection policy.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_encodingVersion(Ice.EncodingVersion)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the encoding used to marshal - parameters. - </summary> - <param name="e">The encoding version to use to marshal requests parameters.</param> - <returns>The new proxy with the specified encoding version.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getEncodingVersion"> - <summary>Returns the encoding version used to marshal requests parameters.</summary> - <returns>The encoding version.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isPreferSecure"> - <summary> - Returns whether this proxy prefers secure endpoints. - </summary> - <returns>True if the proxy always attempts to invoke via secure endpoints before it - attempts to use insecure endpoints; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_preferSecure(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for its endpoint selection policy. - </summary> - <param name="b">If b is true, the new proxy will use secure endpoints for invocations - and only use insecure endpoints if an invocation cannot be made via secure endpoints. If b is - false, the proxy prefers insecure endpoints to secure ones.</param> - <returns>The new proxy with the new endpoint selection policy.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getRouter"> - <summary> - Returns the router for this proxy. - </summary> - <returns>The router for the proxy. If no router is configured for the proxy, the return value - is null.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_router(Ice.RouterPrx)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the router. - </summary> - <param name="router">The router for the new proxy.</param> - <returns>The new proxy with the specified router.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getLocator"> - <summary> - Returns the locator for this proxy. - </summary> - <returns>The locator for this proxy. If no locator is configured, the return value is null.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_locator(Ice.LocatorPrx)"> - <summary> - Creates a new proxy that is identical to this proxy, except for the locator. - </summary> - <param name="locator">The locator for the new proxy.</param> - <returns>The new proxy with the specified locator.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isCollocationOptimized"> - <summary> - Returns whether this proxy uses collocation optimization. - </summary> - <returns>True if the proxy uses collocation optimization; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_collocationOptimized(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for collocation optimization. - </summary> - <param name="b">True if the new proxy enables collocation optimization; false, otherwise.</param> - <returns>The new proxy the specified collocation optimization.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_twoway"> - <summary> - Creates a new proxy that is identical to this proxy, but uses twoway invocations. - </summary> - <returns>A new proxy that uses twoway invocations.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isTwoway"> - <summary> - Returns whether this proxy uses twoway invocations. - </summary> - <returns>True if this proxy uses twoway invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_oneway"> - <summary> - Creates a new proxy that is identical to this proxy, but uses oneway invocations. - </summary> - <returns>A new proxy that uses oneway invocations.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isOneway"> - <summary> - Returns whether this proxy uses oneway invocations. - </summary> - <returns>True if this proxy uses oneway invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_batchOneway"> - <summary> - Creates a new proxy that is identical to this proxy, but uses batch oneway invocations. - </summary> - <returns>A new proxy that uses batch oneway invocations.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isBatchOneway"> - <summary> - Returns whether this proxy uses batch oneway invocations. - </summary> - <returns>True if this proxy uses batch oneway invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_datagram"> - <summary> - Creates a new proxy that is identical to this proxy, but uses datagram invocations. - </summary> - <returns>A new proxy that uses datagram invocations.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isDatagram"> - <summary> - Returns whether this proxy uses datagram invocations. - </summary> - <returns>True if this proxy uses datagram invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_batchDatagram"> - <summary> - Creates a new proxy that is identical to this proxy, but uses batch datagram invocations. - </summary> - <returns>A new proxy that uses batch datagram invocations.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_isBatchDatagram"> - <summary> - Returns whether this proxy uses batch datagram invocations. - </summary> - <returns>True if this proxy uses batch datagram invocations; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_compress(System.Boolean)"> - <summary> - Creates a new proxy that is identical to this proxy, except for compression. - </summary> - <param name="co">True enables compression for the new proxy; false disables compression.</param> - <returns>A new proxy with the specified compression setting.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_timeout(System.Int32)"> - <summary> - Creates a new proxy that is identical to this proxy, except for its timeout setting. - </summary> - <param name="t">The timeout for the new proxy in milliseconds.</param> - <returns>A new proxy with the specified timeout.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_connectionId(System.String)"> - <summary> - Creates a new proxy that is identical to this proxy, except for its connection ID. - </summary> - <param name="connectionId">The connection ID for the new proxy. An empty string removes the - connection ID.</param> - <returns>A new proxy with the specified connection ID.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getConnectionId"> - <summary> - Returns the connection id of this proxy. - </summary> - <returns>The connection id.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getConnection"> - <summary> - Returns the Connection for this proxy. If the proxy does not yet have an established connection, - it first attempts to create a connection. - </summary> - <returns>The Connection for this proxy.</returns> - <exception name="CollocationOptimizationException">If the proxy uses collocation optimization and denotes a - collocated object.</exception> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_getCachedConnection"> - <summary> - Returns the cached Connection for this proxy. If the proxy does not yet have an established - connection, it does not attempt to create a connection. - </summary> - <returns>The cached Connection for this proxy (null if the proxy does not have - an established connection).</returns> - <exception name="CollocationOptimizationException">If the proxy uses collocation optimization and denotes a - collocated object.</exception> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_flushBatchRequests"> - <summary> - Flushes any pending batched requests for this communicator. The call blocks until the flush is complete. - </summary> - </member> - <member name="M:Ice.ObjectPrxHelperBase.ice_flushBatchRequests_async(Ice.AMI_Object_ice_flushBatchRequests)"> - <summary> - Asynchronously flushes any pending batched requests for this communicator. The call does not block. - </summary> - <param name="cb">The callback object to notify the application when the flush is complete.</param> - <returns>True if the requests were flushed immediately without blocking; false - if the requests could not be flushed immediately.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.Equals(System.Object)"> - <summary> - Returns whether this proxy equals the passed object. Two proxies are equal if they are equal in all - respects, that is, if their object identity, endpoints timeout settings, and so on are all equal. - </summary> - <param name="r">The object to compare this proxy with.</param> - <returns>True if this proxy is equal to r; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.Equals(Ice.ObjectPrxHelperBase,Ice.ObjectPrxHelperBase)"> - <summary> - Returns whether two proxies are equal. Two proxies are equal if they are equal in all - respects, that is, if their object identity, endpoints timeout settings, and so on are all equal. - </summary> - <param name="lhs">A proxy to compare with the proxy rhs.</param> - <param name="rhs">A proxy to compare with the proxy lhs.</param> - <returns>True if the proxies are equal; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.op_Equality(Ice.ObjectPrxHelperBase,Ice.ObjectPrxHelperBase)"> - <summary> - Returns whether two proxies are equal. Two proxies are equal if they are equal in all - respects, that is, if their object identity, endpoints timeout settings, and so on are all equal. - </summary> - <param name="lhs">A proxy to compare with the proxy rhs.</param> - <param name="rhs">A proxy to compare with the proxy lhs.</param> - <returns>True if the proxies are equal; false, otherwise.</returns> - </member> - <member name="M:Ice.ObjectPrxHelperBase.op_Inequality(Ice.ObjectPrxHelperBase,Ice.ObjectPrxHelperBase)"> - <summary> - Returns whether two proxies are not equal. Two proxies are equal if they are equal in all - respects, that is, if their object identity, endpoints timeout settings, and so on are all equal. - </summary> - <param name="lhs">A proxy to compare with the proxy rhs.</param> - <param name="rhs">A proxy to compare with the proxy lhs.</param> - <returns>True if the proxies are not equal; false, otherwise.</returns> - </member> - <member name="T:Ice.ObjectPrxHelper"> - <summary> - Base class for all proxy helpers. - </summary> - </member> - <member name="M:Ice.ObjectPrxHelper.checkedCast(Ice.ObjectPrx)"> - <summary> - Casts a proxy to {@link ObjectPrx}. This call contacts - the server and will throw an Ice run-time exception if the target - object does not exist or the server cannot be reached. - </summary> - <param name="b">The proxy to cast to ObjectPrx.</param> - <returns>b.</returns> - </member> - <member name="M:Ice.ObjectPrxHelper.checkedCast(Ice.ObjectPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Casts a proxy to {@link ObjectPrx}. This call contacts - the server and throws an Ice run-time exception if the target - object does not exist or the server cannot be reached. - </summary> - <param name="b">The proxy to cast to ObjectPrx.</param> - <param name="ctx">The Context map for the invocation.</param> - <returns>b.</returns> - </member> - <member name="M:Ice.ObjectPrxHelper.checkedCast(Ice.ObjectPrx,System.String)"> - <summary> - Creates a new proxy that is identical to the passed proxy, except - for its facet. This call contacts - the server and throws an Ice run-time exception if the target - object does not exist, the specified facet does not exist, or the server cannot be reached. - </summary> - <param name="b">The proxy to cast to ObjectPrx.</param> - <param name="f">The facet for the new proxy.</param> - <returns>The new proxy with the specified facet.</returns> - </member> - <member name="M:Ice.ObjectPrxHelper.checkedCast(Ice.ObjectPrx,System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Creates a new proxy that is identical to the passed proxy, except - for its facet. This call contacts - the server and throws an Ice run-time exception if the target - object does not exist, the specified facet does not exist, or the server cannot be reached. - </summary> - <param name="b">The proxy to cast to ObjectPrx.</param> - <param name="f">The facet for the new proxy.</param> - <param name="ctx">The Context map for the invocation.</param> - <returns>The new proxy with the specified facet.</returns> - </member> - <member name="M:Ice.ObjectPrxHelper.uncheckedCast(Ice.ObjectPrx)"> - <summary> - Casts a proxy to {@link ObjectPrx}. This call does - not contact the server and always succeeds. - </summary> - <param name="b">The proxy to cast to ObjectPrx.</param> - <returns>b.</returns> - </member> - <member name="M:Ice.ObjectPrxHelper.uncheckedCast(Ice.ObjectPrx,System.String)"> - <summary> - Creates a new proxy that is identical to the passed proxy, except - for its facet. This call does not contact the server and always succeeds. - </summary> - <param name="b">The proxy to cast to ObjectPrx.</param> - <param name="f">The facet for the new proxy.</param> - <returns>The new proxy with the specified facet.</returns> - </member> - <member name="T:Ice.ProxyIdentityKey"> - <summary> - This class allows a proxy to be used as the key for a hashed collection. - The GetHashCode, Equals, and Compare methods are based on the object identity - of the proxy. - </summary> - </member> - <member name="M:Ice.ProxyIdentityKey.GetHashCode(System.Object)"> - <summary> - Computes a hash value based on the object identity of the proxy. - </summary> - <param name="obj">The proxy whose hash value to compute.</param> - <returns>The hash value for the proxy based on the identity.</returns> - </member> - <member name="M:Ice.ProxyIdentityKey.Equals(System.Object,System.Object)"> - Compares two proxies for equality. - <param name="obj1">A proxy to compare.</param> - <param name="obj2">A proxy to compare.</param> - <returns>True if the passed proxies have the same object - identity; false, otherwise.</returns> - </member> - <member name="M:Ice.ProxyIdentityKey.Compare(System.Object,System.Object)"> - Compares two proxies using the object identity for comparison. - <param name="obj1">A proxy to compare.</param> - <param name="obj2">A proxy to compare.</param> - <returns>< 0 if obj1 is less than obj2; > 0 if obj1 is greater than obj2; - 0, otherwise.</returns> - </member> - <member name="T:Ice.ProxyIdentityFacetKey"> - <summary> - This class allows a proxy to be used as the key for a hashed collection. - The GetHashCode, Equals, and Compare methods are based on the object identity and - the facet of the proxy. - </summary> - </member> - <member name="M:Ice.ProxyIdentityFacetKey.GetHashCode(System.Object)"> - <summary> - Computes a hash value based on the object identity and facet of the proxy. - </summary> - <param name="obj">The proxy whose hash value to compute.</param> - <returns>The hash value for the proxy based on the identity and facet.</returns> - </member> - <member name="M:Ice.ProxyIdentityFacetKey.Equals(System.Object,System.Object)"> - Compares two proxies for equality. - <param name="obj1">A proxy to compare.</param> - <param name="obj2">A proxy to compare.</param> - <returns>True if the passed proxies have the same object - identity and facet; false, otherwise.</returns> - </member> - <member name="M:Ice.ProxyIdentityFacetKey.Compare(System.Object,System.Object)"> - Compares two proxies using the object identity and facet for comparison. - <param name="obj1">A proxy to compare.</param> - <param name="obj2">A proxy to compare.</param> - <returns>< 0 if obj1 is less than obj2; > 0 if obj1 is greater than obj2; - 0, otherwise.</returns> - </member> - <member name="T:Ice.SlicedData"> - <summary> - SlicedData holds the slices of unknown class or exception types. - </summary> - </member> - <member name="F:Ice.SlicedData.slices"> - The details of each slice, in order of most-derived to least-derived. - - </member> - <member name="T:Ice.SliceInfo"> - <summary> - SliceInfo encapsulates the details of a slice for an unknown class or exception type. - </summary> - </member> - <member name="F:Ice.SliceInfo.typeId"> - <summary> - The Slice type ID for this slice. - </summary> - </member> - <member name="F:Ice.SliceInfo.bytes"> - <summary> - The encoded bytes for this slice, including the leading size integer. - </summary> - </member> - <member name="F:Ice.SliceInfo.objects"> - <summary> - The Ice objects referenced by this slice. - </summary> - </member> - <member name="F:Ice.SliceInfo.hasOptionalMembers"> - <summary> - Whether or not the slice contains optional members. - </summary> - </member> - <member name="F:Ice.SliceInfo.isLastSlice"> - <summary> - Whether or not this is the last slice. - </summary> - </member> - <member name="T:Ice.InputStream"> - <summary> - Interface for input streams used to extract Slice types from a sequence of bytes. - </summary> - </member> - <member name="M:Ice.InputStream.communicator"> - <summary> - Returns the communicator for this input stream. - </summary> - <returns>The communicator.</returns> - </member> - <member name="M:Ice.InputStream.sliceObjects(System.Boolean)"> - <summary> - Determines the behavior of the stream when extracting Slice objects. - A Slice object is "sliced" when a factory cannot be found for a Slice type ID. - </summary> - <param name="slice">If true (the default), slicing is enabled; if false, - slicing is disabled. If slicing is disabled and the stream encounters a Slice type ID - during decoding for which no object factory is installed, it raises NoObjectFactoryException.</param> - </member> - <member name="M:Ice.InputStream.readBool"> - <summary> - Extracts a boolean value from the stream. - </summary> - <returns>The extracted boolean.</returns> - </member> - <member name="M:Ice.InputStream.readBoolSeq"> - <summary> - Extracts a sequence of boolean values from the stream. - </summary> - <returns>The extracted boolean sequence.</returns> - </member> - <member name="M:Ice.InputStream.readByte"> - <summary> - Extracts a byte value from the stream. - </summary> - <returns>The extracted byte.</returns> - </member> - <member name="M:Ice.InputStream.readByteSeq"> - <summary> - Extracts a sequence of byte values from the stream. - </summary> - <returns>The extracted byte sequence.</returns> - </member> - <member name="M:Ice.InputStream.readSerializable"> - <summary> - Extracts a serializable .NET object from the stream. - </summary> - <returns>The deserialized .NET object.</returns> - </member> - <member name="M:Ice.InputStream.readShort"> - <summary> - Extracts a short value from the stream. - </summary> - <returns>The extracted short value.</returns> - </member> - <member name="M:Ice.InputStream.readShortSeq"> - <summary> - Extracts a sequence of short values from the stream. - </summary> - <returns>The extracted short sequence.</returns> - </member> - <member name="M:Ice.InputStream.readInt"> - <summary> - Extracts an integer value from the stream. - </summary> - <returns>The extracted integer value.</returns> - </member> - <member name="M:Ice.InputStream.readIntSeq"> - <summary> - Extracts a sequence of integer values from the stream. - </summary> - <returns>The extracted integer sequence.</returns> - </member> - <member name="M:Ice.InputStream.readLong"> - <summary> - Extracts a long value from the stream. - </summary> - <returns>The extracted long value.</returns> - </member> - <member name="M:Ice.InputStream.readLongSeq"> - <summary> - Extracts a sequence of long values from the stream. - </summary> - <returns>The extracted long sequence.</returns> - </member> - <member name="M:Ice.InputStream.readFloat"> - <summary> - Extracts a float value from the stream. - </summary> - <returns>The extracted float value.</returns> - </member> - <member name="M:Ice.InputStream.readFloatSeq"> - <summary> - Extracts a sequence of float values from the stream. - </summary> - <returns>The extracted float sequence.</returns> - </member> - <member name="M:Ice.InputStream.readDouble"> - <summary> - Extracts a double value from the stream. - </summary> - <returns>The extracted double value.</returns> - </member> - <member name="M:Ice.InputStream.readDoubleSeq"> - <summary> - Extracts a sequence of double values from the stream. - </summary> - <returns>The extracted double sequence.</returns> - </member> - <member name="M:Ice.InputStream.readString"> - <summary> - Extracts a string from the stream. - </summary> - <returns>The extracted double value.</returns> - </member> - <member name="M:Ice.InputStream.readStringSeq"> - <summary> - Extracts a sequence of strings from the stream. - </summary> - <returns>The extracted string sequence.</returns> - </member> - <member name="M:Ice.InputStream.readSize"> - <summary> - Extracts a size from the stream. - </summary> - <returns>The extracted size.</returns> - </member> - <member name="M:Ice.InputStream.readAndCheckSeqSize(System.Int32)"> - <summary> - Extracts and check a sequence size from the stream. The check ensures not too much memory will - be pre-allocated for the sequence. - </summary> - <param name="minSize">The minimum size of an element of the sequence.</param> - <returns>The extracted size.</returns> - </member> - <member name="M:Ice.InputStream.readProxy"> - <summary> - Extracts a proxy from the stream. - </summary> - <returns>The extracted proxy.</returns> - </member> - <member name="M:Ice.InputStream.readObject(Ice.ReadObjectCallback)"> - <summary> - Extracts the index of a Slice class from the stream. - </summary> - <param name="cb">The callback to notify the application when the extracted instance is available. - The Ice run time extracts Slice classes in stages. The Ice run time calls ReadObjectCallback.invoke - when the corresponding instance has been fully unmarshaled.</param> - </member> - <member name="M:Ice.InputStream.readEnum(System.Int32)"> - <summary> - Read an enumerated value. - </summary> - - <param name="maxValue">The maximum enumerator value in the definition.</param> - <returns>The enumerator.</returns> - </member> - <member name="M:Ice.InputStream.throwException"> - <summary> - Extracts a user exception from the stream and throws it. - </summary> - </member> - <member name="M:Ice.InputStream.throwException(Ice.UserExceptionReaderFactory)"> - <summary> - Extracts a user exception from the stream and throws it. - Extracts a user exception from the stream and throws it, using the supplied - factory to instantiate a UserExceptionReader. - </summary> - <param name="factory">A factory that creates UserExceptionReader instances.</param> - </member> - <member name="M:Ice.InputStream.startObject"> - <summary> - Marks the start of an Ice object. - </summary> - </member> - <member name="M:Ice.InputStream.endObject(System.Boolean)"> - <summary> - Marks the end of an Ice object. - </summary> - <param name="preserve">True if unknown slices should be preserved, false otherwise.</param> - <returns>A SlicedData object containing the preserved slices for unknown types.</returns> - </member> - <member name="M:Ice.InputStream.startException"> - <summary> - Marks the start of a user exception. - </summary> - </member> - <member name="M:Ice.InputStream.endException(System.Boolean)"> - <summary> - Marks the end of a user exception. - </summary> - <param name="preserve">True if unknown slices should be preserved, false otherwise.</param> - <returns>A SlicedData object containing the preserved slices for unknown types.</returns> - </member> - <member name="M:Ice.InputStream.startSlice"> - <summary> - Reads the start of an object or exception slice. - </summary> - <returns>The Slice type ID for this slice.</returns> - </member> - <member name="M:Ice.InputStream.endSlice"> - <summary> - Indicates that the end of an object or exception slice has been reached. - </summary> - </member> - <member name="M:Ice.InputStream.skipSlice"> - <summary> - Skips over an object or exception slice. - </summary> - </member> - <member name="M:Ice.InputStream.startEncapsulation"> - <summary> - Reads the start of an encapsulation. - </summary> - <returns>The encapsulation encoding version.</returns> - </member> - <member name="M:Ice.InputStream.endEncapsulation"> - <summary> - Indicates that the end of an encapsulation has been reached. - </summary> - </member> - <member name="M:Ice.InputStream.skipEncapsulation"> - <summary> - Skips over an encapsulation. - </summary> - <returns>The encapsulation encoding version.</returns> - </member> - <member name="M:Ice.InputStream.getEncoding"> - <summary> - Determines the current encoding version. - </summary> - <returns>The encoding version.</returns> - </member> - <member name="M:Ice.InputStream.readPendingObjects"> - <summary> - Indicates that unmarshaling is complete, except for any Slice objects. The application must - call this method only if the stream actually contains Slice objects. Calling readPendingObjects - triggers the calls to ReadObjectCallback.invoke that inform the application that unmarshaling - of a Slice object is complete. - </summary> - </member> - <member name="M:Ice.InputStream.rewind"> - <summary> - Resets the read position of the stream to the beginning. - </summary> - </member> - <member name="M:Ice.InputStream.skip(System.Int32)"> - <summary> - Skips ahead in the stream. - </summary> - <param name="sz">The number of bytes to skip.</param> - </member> - <member name="M:Ice.InputStream.skipSize"> - <summary> - Skips over a size value. - </summary> - </member> - <member name="M:Ice.InputStream.readOptional(System.Int32,Ice.OptionalFormat)"> - <summary> - Determine if an optional value is available for reading. - </summary> - <param name="tag">The tag associated with the value.</param> - <param name="format">The optional format for the value.</param> - <returns>True if the value is present, false otherwise.</returns> - </member> - <member name="M:Ice.InputStream.pos"> - <summary> - Determine the current position in the stream. - </summary> - <returns>The current position.</returns> - </member> - <member name="M:Ice.InputStream.destroy"> - <summary> - Destroys the stream and its associated resources. The application must call destroy prior - to releasing the last reference to a stream; failure to do so may result in resource leaks. - </summary> - </member> - <member name="T:Ice.OutputStream"> - <summary> - Interface for output streams used to write Slice types to a sequence - of bytes. - </summary> - </member> - <member name="M:Ice.OutputStream.communicator"> - <summary> - Returns the communicator for this output stream. - </summary> - </member> - <member name="M:Ice.OutputStream.writeBool(System.Boolean)"> - <summary> - Writes a boolean to the stream. - </summary> - <param name="v">The boolean to write to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeBoolSeq(System.Boolean[])"> - <summary> - Writes a sequence of booleans to the stream. - </summary> - <param name="v">The sequence of booleans to write. - Passing null causes an empty sequence to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeByte(System.Byte)"> - <summary> - Writes a byte to the stream. - </summary> - <param name="v">The byte to write to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeByteSeq(System.Byte[])"> - <summary> - Writes a sequence of bytes to the stream. - </summary> - <param name="v">The sequence of bytes to write. - Passing null causes an empty sequence to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeSerializable(System.Object)"> - <summary> - Writes a serializable .NET object to the stream. - </summary> - <param name="v">The serializable object to write.</param> - </member> - <member name="M:Ice.OutputStream.writeShort(System.Int16)"> - <summary> - Writes a short to the stream. - </summary> - <param name="v">The short to write to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeShortSeq(System.Int16[])"> - <summary> - Writes a sequence of shorts to the stream. - </summary> - <param name="v">The sequence of shorts to write. - Passing null causes an empty sequence to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeInt(System.Int32)"> - <summary> - Writes an integer to the stream. - </summary> - <param name="v">The integer to write to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeIntSeq(System.Int32[])"> - <summary> - Writes a sequence of integers to the stream. - </summary> - <param name="v">The sequence of integers to write. - Passing null causes an empty sequence to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeLong(System.Int64)"> - <summary> - Writes a long to the stream. - </summary> - <param name="v">The long to write to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeLongSeq(System.Int64[])"> - <summary> - Writes a sequence of longs to the stream. - </summary> - <param name="v">The sequence of longs to write. - Passing null causes an empty sequence to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeFloat(System.Single)"> - <summary> - Writes a float to the stream. - </summary> - <param name="v">The float to write to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeFloatSeq(System.Single[])"> - <summary> - Writes a sequence of floats to the stream. - </summary> - <param name="v">The sequence of floats to write. - Passing null causes an empty sequence to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeDouble(System.Double)"> - <summary> - Writes a double to the stream. - </summary> - <param name="v">The double to write to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeDoubleSeq(System.Double[])"> - <summary> - Writes a sequence of doubles to the stream. - </summary> - <param name="v">The sequence of doubles to write. - Passing null causes an empty sequence to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeString(System.String)"> - <summary> - Writes a string to the stream. - </summary> - <param name="v">The string to write to the stream. - Passing null causes an empty string to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeStringSeq(System.String[])"> - <summary> - Writes a sequence of strings to the stream. - </summary> - <param name="v">The sequence of strings to write. - Passing null causes an empty sequence to be written to the stream.</param> - </member> - <member name="M:Ice.OutputStream.writeSize(System.Int32)"> - <summary> - Writes a size to the stream. - </summary> - <param name="sz">The size to write.</param> - </member> - <member name="M:Ice.OutputStream.writeProxy(Ice.ObjectPrx)"> - <summary> - Writes a proxy to the stream. - </summary> - <param name="v">The proxy to write.</param> - </member> - <member name="M:Ice.OutputStream.writeObject(Ice.Object)"> - <summary> - Writes a Slice class to the stream. - </summary> - <param name="v">The class to write. This method writes the index of a Slice class; the state of the - class is written once writePendingObjects is called.</param> - </member> - <member name="M:Ice.OutputStream.writeEnum(System.Int32,System.Int32)"> - <summary> - Write an enumerated value. - </summary> - <param name="v">The enumerator.</param> - <param name="limit">The number of enumerators in the definition.</param> - </member> - <member name="M:Ice.OutputStream.writeException(Ice.UserException)"> - <summary> - Writes a user exception to the stream. - </summary> - <param name="ex">The user exception to write.</param> - </member> - <member name="M:Ice.OutputStream.startObject(Ice.SlicedData)"> - <summary> - Marks the start of an Ice object. - </summary> - <param name="slicedData">Preserved slices for this object, or null.</param> - </member> - <member name="M:Ice.OutputStream.endObject"> - <summary> - Marks the end of an Ice object. - </summary> - </member> - <member name="M:Ice.OutputStream.startException(Ice.SlicedData)"> - <summary> - Marks the start of a user exception. - </summary> - <param name="slicedData">Preserved slices for this object, or null.</param> - </member> - <member name="M:Ice.OutputStream.endException"> - <summary> - Marks the end of a user exception. - </summary> - </member> - <member name="M:Ice.OutputStream.startSlice(System.String,System.Boolean)"> - <summary> - Marks the start of a new slice for an Ice object or user exception. - </summary> - <param name="typeId">The Slice type ID corresponding to this slice.</param> - <param name="last">True if this is the last slice, false otherwise.</param> - </member> - <member name="M:Ice.OutputStream.endSlice"> - <summary> - Marks the end of a slice for an Ice object or user exception. - </summary> - </member> - <member name="M:Ice.OutputStream.startEncapsulation(Ice.EncodingVersion,Ice.FormatType)"> - <summary> - Writes the start of an encapsulation to the stream. - </summary> - <param name="encoding">The encoding version of the encapsulation.</param> - <param name="format">The format to use for encoding objects and user exceptions.</param> - </member> - <member name="M:Ice.OutputStream.startEncapsulation"> - <summary> - Writes the start of an encapsulation to the stream. - </summary> - </member> - <member name="M:Ice.OutputStream.endEncapsulation"> - <summary> - Ends the previous encapsulation. - </summary> - </member> - <member name="M:Ice.OutputStream.getEncoding"> - <summary> - Determines the current encoding version. - </summary> - <returns>The encoding version.</returns> - </member> - <member name="M:Ice.OutputStream.writePendingObjects"> - <summary> - Writes the state of Slice classes whose index was previously - written with writeObject to the stream. - </summary> - </member> - <member name="M:Ice.OutputStream.writeOptional(System.Int32,Ice.OptionalFormat)"> - <summary> - Write the header information for an optional value. - </summary> - <param name="tag">The numeric tag associated with the value.</param> - <param name="format">The optional format of the value.</param> - <returns>True if the optional should be written, false otherwise.</returns> - </member> - <member name="M:Ice.OutputStream.pos"> - <summary> - Determines the current position in the stream. - </summary> - <returns>The current position.</returns> - </member> - <member name="M:Ice.OutputStream.rewrite(System.Int32,System.Int32)"> - <summary> - Inserts a fixed 32-bit size value into the stream at the given position. - </summary> - <param name="sz">The 32-bit size value.</param> - <param name="pos">The position at which to write the value.</param> - </member> - <member name="M:Ice.OutputStream.startSize"> - <summary> - Records the current position and allocates four bytes for a fixed-length (32-bit) - size value. - </summary> - </member> - <member name="M:Ice.OutputStream.endSize"> - <summary> - Computes the amount of data written since the previous call to startSize and - writes that value at the saved position. - </summary> - </member> - <member name="M:Ice.OutputStream.finished"> - <summary> - Indicates that the marshaling of a request or reply is finished. - </summary> - <returns>The byte sequence containing the encoded request or reply.</returns> - </member> - <member name="M:Ice.OutputStream.reset(System.Boolean)"> - <summary> - Resets this output stream. This method allows the stream to be reused, to avoid creating - unnecessary garbage. - </summary> - - <param name="clearBuffer">If true, the stream's internal buffer becomes eligible for - garbage collection; if false, the stream's internal buffer is retained, to avoid - creating unnecessary garbage. If retained, the internal buffer may be resized to a smaller - capacity. Either way, reset resets the stream's writing position to zero.</param> - </member> - <member name="M:Ice.OutputStream.destroy"> - <summary> - Destroys the stream and its associated resources. The application must call destroy prior - to releasing the last reference to a stream; failure to do so may result in resource leaks. - </summary> - </member> - <member name="T:Ice.ObjectReader"> - <summary> - Base class for extracting objects from an input stream. - </summary> - </member> - <member name="M:Ice.ObjectReader.read(Ice.InputStream)"> - <summary> - Read the object's data members. - </summary> - <param name="inStream">The input stream to read from.</param> - </member> - <member name="T:Ice.ObjectWriter"> - <summary> - Base class for writing objects to an output stream. - </summary> - </member> - <member name="M:Ice.ObjectWriter.write(Ice.OutputStream)"> - <summary> - Writes the state of this Slice class to an output stream. - </summary> - <param name="outStream">The stream to write to.</param> - </member> - <member name="T:Ice.ThreadHookPlugin"> - <summary> - Class to support thread notification hooks. Applications using - thread notification hooks instantiate a ThreadHookPlugin with a - thread notification hook and return the instance from their - PluginFactory implementation. - </summary> - </member> - <member name="M:Ice.ThreadHookPlugin.#ctor(Ice.Communicator,Ice.ThreadNotification)"> - <summary> - Installs a custom logger for a communicator. - </summary> - <param name="communicator">The communicator using the thread notification hook.</param> - <param name="threadHook">The thread notification hook for the communicator.</param> - </member> - <member name="M:Ice.ThreadHookPlugin.initialize"> - <summary> - Called by the Ice run time during communicator initialization. The derived class - can override this method to perform any initialization that might be required - by the thread notification hook. - </summary> - </member> - <member name="M:Ice.ThreadHookPlugin.destroy"> - <summary> - Called by the Ice run time when the communicator is destroyed. The derived class - can override this method to perform any finalization that might be required - by thread notification hook. - </summary> - </member> - <member name="T:Ice.TieBase"> - <summary> - Interface for servants using the tie mapping. - </summary> - </member> - <member name="M:Ice.TieBase.ice_delegate"> - <summary> - Returns the delegate for this tie. - </summary> - <returns>The delegate.</returns> - </member> - <member name="M:Ice.TieBase.ice_delegate(System.Object)"> - <summary> - Returns the delegate for this tie. - </summary> - <param name="o">The delegate.</param> - </member> - <member name="T:Ice.UnknownSlicedObject"> - <summary> - Unknown sliced object holds an instance of unknown type. - </summary> - </member> - <member name="M:Ice.UnknownSlicedObject.#ctor(System.String)"> - <summary> - Instantiates the class for an Ice object having the given Slice type. - </summary> - <param name="unknownTypeId">The Slice type ID of the unknown object.</param> - </member> - <member name="M:Ice.UnknownSlicedObject.getUnknownTypeId"> - <summary> - Determine the Slice type ID associated with this object. - </summary> - <returns>The type ID.</returns> - </member> - <member name="T:Ice.ThreadNotification"> - <summary> - Interface for thread notification hooks. Applications can derive - a class tat implements the start and stop - methods to intercept creation and destruction of threads created - by the Ice run time. - </summary> - </member> - <member name="M:Ice.ThreadNotification.start"> - <summary> - The Ice run time calls start for each new - thread it creates. The call is made by the newly-started thread. - </summary> - </member> - <member name="M:Ice.ThreadNotification.stop"> - <summary> - The Ice run time calls stop before it destroys - a thread. The call is made by thread that is about to be - destroyed. - </summary> - </member> - <member name="T:Ice.Dispatcher"> - <summary> - A delegate for the dispatcher. The dispatcher is called by the Ice - runtime to dispatch servant calls and AMI callbacks. - </summary> - </member> - <member name="T:Ice.InitializationData"> - <summary> - A class that encpasulates data to initalize a communicator. - </summary> - </member> - <member name="M:Ice.InitializationData.Clone"> - <summary> - Creates and returns a copy of this object. - </summary> - </member> - <member name="F:Ice.InitializationData.properties"> - <summary> - The properties for the communicator. - </summary> - </member> - <member name="F:Ice.InitializationData.logger"> - <summary> - The logger for the communicator. - </summary> - </member> - <member name="F:Ice.InitializationData.observer"> - <summary> - The communicator observer used by the Ice run-time. - </summary> - </member> - <member name="F:Ice.InitializationData.stats"> - <summary> - The Stats instance for the communicator. - </summary> - </member> - <member name="F:Ice.InitializationData.threadHook"> - <summary> - The thread hook for the communicator. - </summary> - </member> - <member name="F:Ice.InitializationData.dispatcher"> - <summary> - The dispatcher for the communicator. - </summary> - </member> - <member name="T:Ice.Util"> - <summary> - Utility methods for the Ice run time. - </summary> - </member> - <member name="M:Ice.Util.createProperties"> - <summary> - Creates a new empty property set. - </summary> - <returns>A new empty property set.</returns> - </member> - <member name="M:Ice.Util.createProperties(System.String[]@)"> - <summary> - Creates a property set initialized from an argument vector. - </summary> - <param name="args">A command-line argument vector, possibly containing - options to set properties. If the command-line options include - a --Ice.Config option, the corresponding configuration - files are parsed. If the same property is set in a configuration - file and in the argument vector, the argument vector takes precedence. - This method modifies the argument vector by removing any Ice-related options.</param> - <returns>A property set initialized with the property settings - that were removed from args.</returns> - </member> - <member name="M:Ice.Util.createProperties(System.String[]@,Ice.Properties)"> - <summary> - Creates a property set initialized from an argument vector. - </summary> - <param name="args">A command-line argument vector, possibly containing - options to set properties. If the command-line options include - a --Ice.Config option, the corresponding configuration - files are parsed. If the same property is set in a configuration - file and in the argument vector, the argument vector takes precedence. - This method modifies the argument vector by removing any Ice-related options.</param> - <param name="defaults">Default values for the property set. Settings in configuration - files and args override these defaults.</param> - <returns>A property set initialized with the property settings - that were removed from args.</returns> - </member> - <member name="M:Ice.Util.initialize(System.String[]@)"> - <summary> - Creates a communicator. - </summary> - <param name="args">A command-line argument vector. Any Ice-related options - in this vector are used to intialize the communicator. - This method modifies the argument vector by removing any Ice-related options.</param> - <returns>The initialized communicator.</returns> - </member> - <member name="M:Ice.Util.initialize(System.String[]@,Ice.InitializationData)"> - <summary> - Creates a communicator. - </summary> - <param name="args">A command-line argument vector. Any Ice-related options - in this vector are used to intialize the communicator. - This method modifies the argument vector by removing any Ice-related options.</param> - <param name="initData">Additional intialization data. Property settings in args - override property settings in initData.</param> - <returns>The initialized communicator.</returns> - </member> - <member name="M:Ice.Util.initialize(Ice.InitializationData)"> - <summary> - Creates a communicator. - </summary> - <param name="initData">Additional intialization data.</param> - <returns>The initialized communicator.</returns> - </member> - <member name="M:Ice.Util.initialize"> - <summary> - Creates a communicator using a default configuration. - </summary> - </member> - <member name="M:Ice.Util.stringToIdentity(System.String)"> - <summary> - Converts a string to an object identity. - </summary> - <param name="s">The string to convert.</param> - <returns>The converted object identity.</returns> - </member> - <member name="M:Ice.Util.identityToString(Ice.Identity)"> - <summary> - Converts an object identity to a string. - </summary> - <param name="ident">The object identity to convert.</param> - <returns>The string representation of the object identity.</returns> - </member> - <member name="M:Ice.Util.generateUUID"> - <summary> - This method is deprecated. Use System.Guid instead. - </summary> - </member> - <member name="M:Ice.Util.proxyIdentityCompare(Ice.ObjectPrx,Ice.ObjectPrx)"> - <summary> - Compares the object identities of two proxies. - </summary> - <param name="lhs">A proxy.</param> - <param name="rhs">A proxy.</param> - <returns>-1 if the identity in lhs compares - less than the identity in rhs; 0 if the identities - compare equal; 1, otherwise.</returns> - </member> - <member name="M:Ice.Util.proxyIdentityAndFacetCompare(Ice.ObjectPrx,Ice.ObjectPrx)"> - <summary> - Compares the object identities and facets of two proxies. - </summary> - <param name="lhs">A proxy.</param> - <param name="rhs">A proxy.</param> - <returns>-1 if the identity and facet in lhs compare - less than the identity and facet in rhs; 0 if the identities - and facets compare equal; 1, otherwise.</returns> - </member> - <member name="M:Ice.Util.createInputStream(Ice.Communicator,System.Byte[])"> - <summary> - Creates an input stream for dynamic invocation and dispatch. The stream uses - the communicator's default encoding version. - </summary> - <param name="communicator">The communicator for the stream.</param> - <param name="bytes">An encoded request or reply.</param> - <returns>The input stream.</returns> - </member> - <member name="M:Ice.Util.createInputStream(Ice.Communicator,System.Byte[],Ice.EncodingVersion)"> - <summary> - Creates an input stream for dynamic invocation and dispatch. The stream uses - the given encoding version. - </summary> - <param name="communicator">The communicator for the stream.</param> - <param name="bytes">An encoded request or reply.</param> - <param name="v">The desired encoding version.</param> - <returns>The input stream.</returns> - </member> - <member name="M:Ice.Util.createOutputStream(Ice.Communicator)"> - <summary> - Creates an output stream for dynamic invocation and dispatch. The stream uses - the communicator's default encoding version. - </summary> - <param name="communicator">The communicator for the stream.</param> - <returns>The output stream.</returns> - </member> - <member name="M:Ice.Util.createOutputStream(Ice.Communicator,Ice.EncodingVersion)"> - <summary> - Creates an output stream for dynamic invocation and dispatch. The stream uses - the given encoding version. - </summary> - <param name="communicator">The communicator for the stream.</param> - <param name="v">The desired encoding version.</param> - <returns>The output stream.</returns> - </member> - <member name="M:Ice.Util.getProcessLogger"> - <summary> - Returns the process-wide logger. - </summary> - <returns>The process-wide logger.</returns> - </member> - <member name="M:Ice.Util.setProcessLogger(Ice.Logger)"> - <summary> - Changes the process-wide logger. - </summary> - <param name="logger">The new process-wide logger.</param> - </member> - <member name="M:Ice.Util.stringVersion"> - <summary> - Returns the Ice version in the form A.B.C, where A indicates the - major version, B indicates the minor version, and C indicates the - patch level. - </summary> - <returns>The Ice version.</returns> - </member> - <member name="M:Ice.Util.intVersion"> - <summary> - Returns the Ice version as an integer in the form A.BB.CC, where A - indicates the major version, BB indicates the minor version, and CC - indicates the patch level. For example, for Ice 3.3.1, the returned value is 30301. - </summary> - <returns>The Ice version.</returns> - </member> - <member name="M:Ice.Util.stringToProtocolVersion(System.String)"> - <summary> - Converts a string to a protocol version. - </summary> - <param name="version">The string to convert.</param> - <returns>The converted protocol version.</returns> - </member> - <member name="M:Ice.Util.stringToEncodingVersion(System.String)"> - <summary> - Converts a string to an encoding version. - </summary> - <param name="version">The string to convert.</param> - <returns>The converted object identity.</returns> - </member> - <member name="M:Ice.Util.protocolVersionToString(Ice.ProtocolVersion)"> - <summary> - Converts a protocol version to a string. - </summary> - <param name="v">The protocol version to convert.</param> - <returns>The converted string.</returns> - </member> - <member name="M:Ice.Util.encodingVersionToString(Ice.EncodingVersion)"> - <summary> - Converts an encoding version to a string. - </summary> - <param name="v">The encoding version to convert.</param> - <returns>The converted string.</returns> - </member> - <member name="T:Ice.InitializationException"> - <summary> - This exception is raised when a failure occurs during initialization. - </summary> - </member> - <member name="T:Ice.PluginInitializationException"> - <summary> - This exception indicates that a failure occurred while initializing - a plug-in. - </summary> - </member> - <member name="T:Ice.CollocationOptimizationException"> - <summary> - This exception is raised if a feature is requested that is not - supported with collocation optimization. - </summary> - </member> - <member name="T:Ice.AlreadyRegisteredException"> - <summary> - An attempt was made to register something more than once with - the Ice run time. - This exception is raised if an attempt is made to register a - servant, servant locator, facet, object factory, plug-in, object - adapter, object, or user exception factory more than once for the - same ID. - </summary> - </member> - <member name="T:Ice.NotRegisteredException"> - <summary> - An attempt was made to find or deregister something that is not - registered with the Ice run time or Ice locator. - This exception is raised if an attempt is made to remove a servant, - servant locator, facet, object factory, plug-in, object adapter, - object, or user exception factory that is not currently registered. - - It's also raised if the Ice locator can't find an object or object - adapter when resolving an indirect proxy or when an object adapter - is activated. - </summary> - </member> - <member name="T:Ice.TwowayOnlyException"> - <summary> - The operation can only be invoked with a twoway request. - This exception is raised if an attempt is made to invoke an - operation with ice_oneway, ice_batchOneway, ice_datagram, - or ice_batchDatagram and the operation has a return value, - out-parameters, or an exception specification. - </summary> - </member> - <member name="T:Ice.CloneNotImplementedException"> - <summary> - An attempt was made to clone a class that does not support - cloning. - This exception is raised if ice_clone is called on - a class that is derived from an abstract Slice class (that is, - a class containing operations), and the derived class does not - provide an implementation of the ice_clone operation (C++ only). - </summary> - </member> - <member name="T:Ice.UnknownException"> - <summary> - This exception is raised if an operation call on a server raises an - unknown exception. - For example, for C++, this exception is raised - if the server throws a C++ exception that is not directly or - indirectly derived from Ice::LocalException or - Ice::UserException. - </summary> - </member> - <member name="T:Ice.UnknownLocalException"> - <summary> - This exception is raised if an operation call on a server raises a - local exception. - Because local exceptions are not transmitted by - the Ice protocol, the client receives all local exceptions raised - by the server as UnknownLocalException. The only exception to this - rule are all exceptions derived from RequestFailedException, - which are transmitted by the Ice protocol even though they are - declared local. - </summary> - </member> - <member name="T:Ice.UnknownUserException"> - <summary> - An operation raised an incorrect user exception. - This exception is raised if an operation raises a - user exception that is not declared in the exception's - throws clause. Such undeclared exceptions are - not transmitted from the server to the client by the Ice - protocol, but instead the client just gets an - UnknownUserException. This is necessary in order to not violate - the contract established by an operation's signature: Only local - exceptions and user exceptions declared in the - throws clause can be raised. - </summary> - </member> - <member name="T:Ice.VersionMismatchException"> - <summary> - This exception is raised if the Ice library version does not match - the version in the Ice header files. - </summary> - </member> - <member name="T:Ice.CommunicatorDestroyedException"> - <summary> - This exception is raised if the Communicator has been destroyed. - </summary> - </member> - <member name="T:Ice.ObjectAdapterDeactivatedException"> - <summary> - This exception is raised if an attempt is made to use a deactivated - ObjectAdapter. - </summary> - </member> - <member name="T:Ice.ObjectAdapterIdInUseException"> - <summary> - This exception is raised if an ObjectAdapter cannot be activated. - This happens if the Locator detects another active ObjectAdapter with - the same adapter id. - </summary> - </member> - <member name="T:Ice.NoEndpointException"> - <summary> - This exception is raised if no suitable endpoint is available. - </summary> - </member> - <member name="T:Ice.EndpointParseException"> - <summary> - This exception is raised if there was an error while parsing an - endpoint. - </summary> - </member> - <member name="T:Ice.EndpointSelectionTypeParseException"> - <summary> - This exception is raised if there was an error while parsing an - endpoint selection type. - </summary> - </member> - <member name="T:Ice.VersionParseException"> - <summary> - This exception is raised if there was an error while parsing a - version. - </summary> - </member> - <member name="T:Ice.IdentityParseException"> - <summary> - This exception is raised if there was an error while parsing a - stringified identity. - </summary> - </member> - <member name="T:Ice.ProxyParseException"> - <summary> - This exception is raised if there was an error while parsing a - stringified proxy. - </summary> - </member> - <member name="T:Ice.IllegalIdentityException"> - <summary> - This exception is raised if an illegal identity is encountered. - </summary> - </member> - <member name="T:Ice.RequestFailedException"> - <summary> - This exception is raised if a request failed. - This exception, and - all exceptions derived from RequestFailedException, are - transmitted by the Ice protocol, even though they are declared - local. - </summary> - </member> - <member name="T:Ice.ObjectNotExistException"> - <summary> - This exception is raised if an object does not exist on the server, - that is, if no facets with the given identity exist. - </summary> - </member> - <member name="T:Ice.FacetNotExistException"> - <summary> - This exception is raised if no facet with the given name exists, - but at least one facet with the given identity exists. - </summary> - </member> - <member name="T:Ice.OperationNotExistException"> - <summary> - This exception is raised if an operation for a given object does - not exist on the server. - Typically this is caused by either the - client or the server using an outdated Slice specification. - </summary> - </member> - <member name="T:Ice.SyscallException"> - <summary> - This exception is raised if a system error occurred in the server - or client process. - There are many possible causes for such a system - exception. For details on the cause, SyscallException.error - should be inspected. - </summary> - </member> - <member name="T:Ice.SocketException"> - <summary> - This exception indicates socket errors. - </summary> - </member> - <member name="T:Ice.FileException"> - <summary> - This exception indicates file errors. - </summary> - </member> - <member name="T:Ice.ConnectFailedException"> - <summary> - This exception indicates connection failures. - </summary> - </member> - <member name="T:Ice.ConnectionRefusedException"> - <summary> - This exception indicates a connection failure for which - the server host actively refuses a connection. - </summary> - </member> - <member name="T:Ice.ConnectionLostException"> - <summary> - This exception indicates a lost connection. - </summary> - </member> - <member name="T:Ice.DNSException"> - <summary> - This exception indicates a DNS problem. - For details on the cause, - DNSException.error should be inspected. - </summary> - </member> - <member name="T:Ice.TimeoutException"> - <summary> - This exception indicates a timeout condition. - </summary> - </member> - <member name="T:Ice.ConnectTimeoutException"> - <summary> - This exception indicates a connection establishment timeout condition. - </summary> - </member> - <member name="T:Ice.CloseTimeoutException"> - <summary> - This exception indicates a connection closure timeout condition. - </summary> - </member> - <member name="T:Ice.ConnectionTimeoutException"> - <summary> - This exception indicates that a connection has been shut down because it has been - idle for some time. - </summary> - </member> - <member name="T:Ice.ProtocolException"> - <summary> - A generic exception base for all kinds of protocol error - conditions. - </summary> - </member> - <member name="T:Ice.BadMagicException"> - <summary> - This exception indicates that a message did not start with the expected - magic number ('I', 'c', 'e', 'P'). - </summary> - </member> - <member name="T:Ice.UnsupportedProtocolException"> - <summary> - This exception indicates an unsupported protocol version. - </summary> - </member> - <member name="T:Ice.UnsupportedEncodingException"> - <summary> - This exception indicates an unsupported data encoding version. - </summary> - </member> - <member name="T:Ice.UnknownMessageException"> - <summary> - This exception indicates that an unknown protocol message has been received. - </summary> - </member> - <member name="T:Ice.ConnectionNotValidatedException"> - <summary> - This exception is raised if a message is received over a connection - that is not yet validated. - </summary> - </member> - <member name="T:Ice.UnknownRequestIdException"> - <summary> - This exception indicates that a response for an unknown request ID has been - received. - </summary> - </member> - <member name="T:Ice.UnknownReplyStatusException"> - <summary> - This exception indicates that an unknown reply status has been received. - </summary> - </member> - <member name="T:Ice.CloseConnectionException"> - <summary> - This exception indicates that the connection has been gracefully shut down by the - server. - The operation call that caused this exception has not been - executed by the server. In most cases you will not get this - exception, because the client will automatically retry the - operation call in case the server shut down the connection. However, - if upon retry the server shuts down the connection again, and the - retry limit has been reached, then this exception is propagated to - the application code. - </summary> - </member> - <member name="T:Ice.ForcedCloseConnectionException"> - <summary> - This exception is raised by an operation call if the application - forcefully closes the connection Connection.close. - </summary> - </member> - <member name="T:Ice.IllegalMessageSizeException"> - <summary> - This exception indicates that a message size is less - than the minimum required size. - </summary> - </member> - <member name="T:Ice.CompressionException"> - <summary> - This exception indicates a problem with compressing or uncompressing data. - </summary> - </member> - <member name="T:Ice.DatagramLimitException"> - <summary> - A datagram exceeds the configured size. - This exception is raised if a datagram exceeds the configured send or receive buffer - size, or exceeds the maximum payload size of a UDP packet (65507 bytes). - </summary> - </member> - <member name="T:Ice.MarshalException"> - <summary> - This exception is raised for errors during marshaling or unmarshaling data. - </summary> - </member> - <member name="T:Ice.ProxyUnmarshalException"> - <summary> - This exception is raised if inconsistent data is received while unmarshaling a proxy. - </summary> - </member> - <member name="T:Ice.UnmarshalOutOfBoundsException"> - <summary> - This exception is raised if an out-of-bounds condition occurs during unmarshaling. - </summary> - </member> - <member name="T:Ice.NoObjectFactoryException"> - <summary> - This exception is raised if no suitable object factory was found during - unmarshaling of a Slice class instance. - </summary> - </member> - <member name="T:Ice.UnexpectedObjectException"> - <summary> - This exception is raised if the type of an unmarshaled Slice class instance does - not match its expected type. - This can happen if client and server are compiled with mismatched Slice - definitions or if a class of the wrong type is passed as a parameter - or return value using dynamic invocation. This exception can also be - raised if IceStorm is used to send Slice class instances and - an operation is subscribed to the wrong topic. - </summary> - </member> - <member name="T:Ice.MemoryLimitException"> - <summary> - This exception is raised if a request size exceeds the limit specified by the Ice.MessageSizeMax property. - </summary> - </member> - <member name="T:Ice.StringConversionException"> - <summary> - This exception is - raised when a string conversion to or from UTF-8 fails during - marshaling or unmarshaling. - </summary> - </member> - <member name="T:Ice.EncapsulationException"> - <summary> - This exception indicates a malformed data encapsulation. - </summary> - </member> - <member name="T:Ice.FeatureNotSupportedException"> - <summary> - This exception is raised if an unsupported feature is used. - The - unsupported feature string contains the name of the unsupported - feature - </summary> - </member> - <member name="T:Ice.SecurityException"> - <summary> - This exception indicates a failure in a security subsystem, - such as the IceSSL plug-in. - </summary> - </member> - <member name="T:Ice.FixedProxyException"> - <summary> - This exception indicates that an attempt has been made to - change the connection properties of a fixed proxy. - </summary> - </member> - <member name="T:Ice.ResponseSentException"> - <summary> - Indicates that the response to a request has already been sent; - re-dispatching such a request is not possible. - </summary> - </member> - <member name="T:Ice.AdapterNotFoundException"> - <summary> - This exception is raised if an adapter cannot be found. - </summary> - </member> - <member name="T:Ice.InvalidReplicaGroupIdException"> - <summary> - This exception is raised if the replica group provided by the - server is invalid. - </summary> - </member> - <member name="T:Ice.AdapterAlreadyActiveException"> - <summary> - This exception is raised if a server tries to set endpoints for - an adapter that is already active. - </summary> - </member> - <member name="T:Ice.ObjectNotFoundException"> - <summary> - This exception is raised if an object cannot be found. - </summary> - </member> - <member name="T:Ice.ServerNotFoundException"> - <summary> - This exception is raised if a server cannot be found. - </summary> - </member> - <member name="T:Ice.LocatorOperations_"> - <summary> - The Ice locator interface. - This interface is used by clients to - lookup adapters and objects. It is also used by servers to get the - locator registry proxy. - - The Locator interface is intended to be used by - Ice internals and by locator implementations. Regular user code - should not attempt to use any functionality of this interface - directly. - </summary> - </member> - <member name="M:Ice.LocatorOperations_.findObjectById_async(Ice.AMD_Locator_findObjectById,Ice.Identity,Ice.Current)"> - <summary> - Find an object by identity and return its proxy. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="id">The identity. - - </param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.LocatorOperations_.findAdapterById_async(Ice.AMD_Locator_findAdapterById,System.String,Ice.Current)"> - <summary> - Find an adapter by id and return its proxy (a dummy direct - proxy created by the adapter). - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="id">The adapter id. - - </param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.LocatorOperations_.getRegistry(Ice.Current)"> - <summary> - Get the locator registry. - </summary> - <returns>The locator registry.</returns> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="T:Ice.LocatorOperationsNC_"> - <summary> - The Ice locator interface. - This interface is used by clients to - lookup adapters and objects. It is also used by servers to get the - locator registry proxy. - - The Locator interface is intended to be used by - Ice internals and by locator implementations. Regular user code - should not attempt to use any functionality of this interface - directly. - </summary> - </member> - <member name="M:Ice.LocatorOperationsNC_.findObjectById_async(Ice.AMD_Locator_findObjectById,Ice.Identity)"> - <summary> - Find an object by identity and return its proxy. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="id">The identity. - - </param> - </member> - <member name="M:Ice.LocatorOperationsNC_.findAdapterById_async(Ice.AMD_Locator_findAdapterById,System.String)"> - <summary> - Find an adapter by id and return its proxy (a dummy direct - proxy created by the adapter). - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="id">The adapter id. - - </param> - </member> - <member name="M:Ice.LocatorOperationsNC_.getRegistry"> - <summary> - Get the locator registry. - </summary> - <returns>The locator registry.</returns> - </member> - <member name="T:Ice.LocatorRegistryOperations_"> - <summary> - The Ice locator registry interface. - This interface is used by - servers to register adapter endpoints with the locator. - - The LocatorRegistry interface is intended to be used - by Ice internals and by locator implementations. Regular user - code should not attempt to use any functionality of this interface - directly. - </summary> - </member> - <member name="M:Ice.LocatorRegistryOperations_.setAdapterDirectProxy_async(Ice.AMD_LocatorRegistry_setAdapterDirectProxy,System.String,Ice.ObjectPrx,Ice.Current)"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="id">The adapter id. - - </param> - <param name="proxy">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.LocatorRegistryOperations_.setReplicatedAdapterDirectProxy_async(Ice.AMD_LocatorRegistry_setReplicatedAdapterDirectProxy,System.String,System.String,Ice.ObjectPrx,Ice.Current)"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="adapterId">The adapter id. - - </param> - <param name="replicaGroupId">The replica group id. - - </param> - <param name="p">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.LocatorRegistryOperations_.setServerProcessProxy_async(Ice.AMD_LocatorRegistry_setServerProcessProxy,System.String,Ice.ProcessPrx,Ice.Current)"> - <summary> - Set the process proxy for a server. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="id">The server id. - - </param> - <param name="proxy">The process proxy. - - </param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="T:Ice.LocatorRegistryOperationsNC_"> - <summary> - The Ice locator registry interface. - This interface is used by - servers to register adapter endpoints with the locator. - - The LocatorRegistry interface is intended to be used - by Ice internals and by locator implementations. Regular user - code should not attempt to use any functionality of this interface - directly. - </summary> - </member> - <member name="M:Ice.LocatorRegistryOperationsNC_.setAdapterDirectProxy_async(Ice.AMD_LocatorRegistry_setAdapterDirectProxy,System.String,Ice.ObjectPrx)"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="id">The adapter id. - - </param> - <param name="proxy">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - </member> - <member name="M:Ice.LocatorRegistryOperationsNC_.setReplicatedAdapterDirectProxy_async(Ice.AMD_LocatorRegistry_setReplicatedAdapterDirectProxy,System.String,System.String,Ice.ObjectPrx)"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="adapterId">The adapter id. - - </param> - <param name="replicaGroupId">The replica group id. - - </param> - <param name="p">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - </member> - <member name="M:Ice.LocatorRegistryOperationsNC_.setServerProcessProxy_async(Ice.AMD_LocatorRegistry_setServerProcessProxy,System.String,Ice.ProcessPrx)"> - <summary> - Set the process proxy for a server. - </summary> - <param name="cb__">The callback object for the operation.</param> - <param name="id">The server id. - - </param> - <param name="proxy">The process proxy. - - </param> - </member> - <member name="T:Ice.LocatorPrxHelper"> - <summary> - The Ice locator interface. - This interface is used by clients to - lookup adapters and objects. It is also used by servers to get the - locator registry proxy. - - The Locator interface is intended to be used by - Ice internals and by locator implementations. Regular user code - should not attempt to use any functionality of this interface - directly. - </summary> - </member> - <member name="M:Ice.LocatorPrxHelper.findAdapterById(System.String)"> - <summary> - Find an adapter by id and return its proxy (a dummy direct - proxy created by the adapter). - </summary> - <param name="id">The adapter id. - - </param> - <returns>The adapter proxy, or null if the adapter is not active. - - </returns> - <exception name="AdapterNotFoundException">Raised if the adapter cannot be - found.</exception> - </member> - <member name="M:Ice.LocatorPrxHelper.findAdapterById(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Find an adapter by id and return its proxy (a dummy direct - proxy created by the adapter). - </summary> - <param name="id">The adapter id. - - </param> - <returns>The adapter proxy, or null if the adapter is not active. - - </returns> - <exception name="AdapterNotFoundException">Raised if the adapter cannot be - found.</exception> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorPrxHelper.findObjectById(Ice.Identity)"> - <summary> - Find an object by identity and return its proxy. - </summary> - <param name="id">The identity. - - </param> - <returns>The proxy, or null if the object is not active. - - </returns> - <exception name="ObjectNotFoundException">Raised if the object cannot - be found.</exception> - </member> - <member name="M:Ice.LocatorPrxHelper.findObjectById(Ice.Identity,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Find an object by identity and return its proxy. - </summary> - <param name="id">The identity. - - </param> - <returns>The proxy, or null if the object is not active. - - </returns> - <exception name="ObjectNotFoundException">Raised if the object cannot - be found.</exception> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorPrxHelper.getRegistry"> - <summary> - Get the locator registry. - </summary> - <returns>The locator registry.</returns> - </member> - <member name="M:Ice.LocatorPrxHelper.getRegistry(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the locator registry. - </summary> - <returns>The locator registry.</returns> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorPrxHelper.begin_findAdapterById(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Find an adapter by id and return its proxy (a dummy direct - proxy created by the adapter). - </summary> - <param name="id">The adapter id. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorPrxHelper.begin_findObjectById(Ice.Identity,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Find an object by identity and return its proxy. - </summary> - <param name="id">The identity. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorPrxHelper.begin_getRegistry(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the locator registry. - </summary> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="T:Ice.LocatorRegistryPrxHelper"> - <summary> - The Ice locator registry interface. - This interface is used by - servers to register adapter endpoints with the locator. - - The LocatorRegistry interface is intended to be used - by Ice internals and by locator implementations. Regular user - code should not attempt to use any functionality of this interface - directly. - </summary> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.setAdapterDirectProxy(System.String,Ice.ObjectPrx)"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="id">The adapter id. - - </param> - <param name="proxy">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - <exception name="AdapterNotFoundException">Raised if the adapter cannot - be found, or if the locator only allows - registered adapters to set their active proxy and the - adapter is not registered with the locator. - - </exception> - <exception name="AdapterAlreadyActiveException">Raised if an adapter with the same - id is already active.</exception> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.setAdapterDirectProxy(System.String,Ice.ObjectPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="id">The adapter id. - - </param> - <param name="proxy">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - <exception name="AdapterNotFoundException">Raised if the adapter cannot - be found, or if the locator only allows - registered adapters to set their active proxy and the - adapter is not registered with the locator. - - </exception> - <exception name="AdapterAlreadyActiveException">Raised if an adapter with the same - id is already active.</exception> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.setReplicatedAdapterDirectProxy(System.String,System.String,Ice.ObjectPrx)"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="adapterId">The adapter id. - - </param> - <param name="replicaGroupId">The replica group id. - - </param> - <param name="p">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - <exception name="AdapterNotFoundException">Raised if the adapter cannot - be found, or if the locator only allows registered adapters to - set their active proxy and the adapter is not registered with - the locator. - - </exception> - <exception name="AdapterAlreadyActiveException">Raised if an adapter with the same - id is already active. - - </exception> - <exception name="InvalidReplicaGroupIdException">Raised if the given - replica group doesn't match the one registered with the - locator registry for this object adapter.</exception> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.setReplicatedAdapterDirectProxy(System.String,System.String,Ice.ObjectPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="adapterId">The adapter id. - - </param> - <param name="replicaGroupId">The replica group id. - - </param> - <param name="p">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - <exception name="AdapterNotFoundException">Raised if the adapter cannot - be found, or if the locator only allows registered adapters to - set their active proxy and the adapter is not registered with - the locator. - - </exception> - <exception name="AdapterAlreadyActiveException">Raised if an adapter with the same - id is already active. - - </exception> - <exception name="InvalidReplicaGroupIdException">Raised if the given - replica group doesn't match the one registered with the - locator registry for this object adapter.</exception> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.setServerProcessProxy(System.String,Ice.ProcessPrx)"> - <summary> - Set the process proxy for a server. - </summary> - <param name="id">The server id. - - </param> - <param name="proxy">The process proxy. - - </param> - <exception name="ServerNotFoundException">Raised if the server cannot - be found.</exception> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.setServerProcessProxy(System.String,Ice.ProcessPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Set the process proxy for a server. - </summary> - <param name="id">The server id. - - </param> - <param name="proxy">The process proxy. - - </param> - <exception name="ServerNotFoundException">Raised if the server cannot - be found.</exception> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.begin_setAdapterDirectProxy(System.String,Ice.ObjectPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="id">The adapter id. - - </param> - <param name="proxy">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.begin_setReplicatedAdapterDirectProxy(System.String,System.String,Ice.ObjectPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - <param name="adapterId">The adapter id. - - </param> - <param name="replicaGroupId">The replica group id. - - </param> - <param name="p">The adapter proxy (a dummy direct proxy created - by the adapter). The direct proxy contains the adapter - endpoints. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.LocatorRegistryPrxHelper.begin_setServerProcessProxy(System.String,Ice.ProcessPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Set the process proxy for a server. - </summary> - <param name="id">The server id. - - </param> - <param name="proxy">The process proxy. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="T:Ice.AMD_Locator_findObjectById"> - <summary> - Find an object by identity and return its proxy. - </summary> - </member> - <member name="M:Ice.AMD_Locator_findObjectById.ice_response(Ice.ObjectPrx)"> - <summary> - ice_response indicates that - the operation completed successfully. - </summary> - <param name="ret__">(return value) The proxy, or null if the object is not active. - - </param> - </member> - <member name="T:Ice.AMD_Locator_findAdapterById"> - <summary> - Find an adapter by id and return its proxy (a dummy direct - proxy created by the adapter). - </summary> - </member> - <member name="M:Ice.AMD_Locator_findAdapterById.ice_response(Ice.ObjectPrx)"> - <summary> - ice_response indicates that - the operation completed successfully. - </summary> - <param name="ret__">(return value) The adapter proxy, or null if the adapter is not active. - - </param> - </member> - <member name="T:Ice.AMD_LocatorRegistry_setAdapterDirectProxy"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - </member> - <member name="M:Ice.AMD_LocatorRegistry_setAdapterDirectProxy.ice_response"> - <summary> - ice_response indicates that - the operation completed successfully. - </summary> - </member> - <member name="T:Ice.AMD_LocatorRegistry_setReplicatedAdapterDirectProxy"> - <summary> - Set the adapter endpoints with the locator registry. - </summary> - </member> - <member name="M:Ice.AMD_LocatorRegistry_setReplicatedAdapterDirectProxy.ice_response"> - <summary> - ice_response indicates that - the operation completed successfully. - </summary> - </member> - <member name="T:Ice.AMD_LocatorRegistry_setServerProcessProxy"> - <summary> - Set the process proxy for a server. - </summary> - </member> - <member name="M:Ice.AMD_LocatorRegistry_setServerProcessProxy.ice_response"> - <summary> - ice_response indicates that - the operation completed successfully. - </summary> - </member> - <member name="T:IceMX.UnknownMetricsView"> - <summary> - Raised if a metrics view cannot be found. - </summary> - </member> - <member name="T:IceMX.MetricsPrxHelper"> - <summary> - The base class for metrics. - </summary> - </member> - <member name="T:IceMX.MetricsAdminPrxHelper"> - <summary> - The MetricsAdmin facet interface. - </summary> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.disableMetricsView(System.String)"> - <summary> - Disable a metrics view. - </summary> - <param name="name">The metrics view name.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.disableMetricsView(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Disable a metrics view. - </summary> - <param name="name">The metrics view name.</param> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.enableMetricsView(System.String)"> - <summary> - Enables a metrics view. - </summary> - <param name="name">The metrics view name.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.enableMetricsView(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Enables a metrics view. - </summary> - <param name="name">The metrics view name.</param> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.getMapMetricsFailures(System.String,System.String)"> - <summary> - Get the metrics failures associated with the given view and map. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <returns>The metrics failures associated with the map. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.getMapMetricsFailures(System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the metrics failures associated with the given view and map. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <returns>The metrics failures associated with the map. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.getMetricsFailures(System.String,System.String,System.String)"> - <summary> - Get the metrics failure associated for the given metrics. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <param name="id">The ID of the metrics. - - </param> - <returns>The metrics failures associated with the metrics. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.getMetricsFailures(System.String,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the metrics failure associated for the given metrics. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <param name="id">The ID of the metrics. - - </param> - <returns>The metrics failures associated with the metrics. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.getMetricsView(System.String,System.Int64@)"> - <summary> - Get the metrics objects for the given metrics view. - This - returns a map of metric maps for each metrics class configured - with the view. The timestamp allows the client to compute - averages which are not dependent of the invocation latency for - this operation. - - </summary> - <param name="view">The name of the metrics view to retrieve. - - </param> - <param name="timestamp">The local time of the process when the metrics - object were retrieved. - - </param> - <returns>The metrics view data. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.getMetricsView(System.String,System.Int64@,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the metrics objects for the given metrics view. - This - returns a map of metric maps for each metrics class configured - with the view. The timestamp allows the client to compute - averages which are not dependent of the invocation latency for - this operation. - - </summary> - <param name="view">The name of the metrics view to retrieve. - - </param> - <param name="timestamp">The local time of the process when the metrics - object were retrieved. - - </param> - <returns>The metrics view data. - - </returns> - <exception name="UnknownMetricsView">Raised if the metrics view cannot be - found.</exception> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.getMetricsViewNames(System.String[]@)"> - <summary> - Get the names of enabled and disabled metrics. - </summary> - <param name="disabledViews">The names of the disabled views. - - </param> - <returns>The name of the enabled views.</returns> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.getMetricsViewNames(System.String[]@,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the names of enabled and disabled metrics. - </summary> - <param name="disabledViews">The names of the disabled views. - - </param> - <returns>The name of the enabled views.</returns> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.begin_disableMetricsView(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Disable a metrics view. - </summary> - <param name="name">The metrics view name.</param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.begin_enableMetricsView(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Enables a metrics view. - </summary> - <param name="name">The metrics view name.</param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.begin_getMapMetricsFailures(System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the metrics failures associated with the given view and map. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.begin_getMetricsFailures(System.String,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the metrics failure associated for the given metrics. - </summary> - <param name="view">The name of the metrics view. - - </param> - <param name="map">The name of the metrics map. - - </param> - <param name="id">The ID of the metrics. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.begin_getMetricsView(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the metrics objects for the given metrics view. - This - </summary> - <param name="view">The name of the metrics view to retrieve. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:IceMX.MetricsAdminPrxHelper.begin_getMetricsViewNames(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the names of enabled and disabled metrics. - </summary> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="T:IceMX.ThreadMetricsPrxHelper"> - <summary> - Thread metrics. - </summary> - </member> - <member name="T:IceMX.InvocationMetricsPrxHelper"> - <summary> - Invocation metrics. - </summary> - </member> - <member name="T:IceMX.ConnectionMetricsPrxHelper"> - <summary> - Connection metrics. - </summary> - </member> - <member name="M:Ice.ObjectFactory.create(System.String)"> - <summary> - Create a new object for a given object type. - The type is the - absolute Slice type id, i.e., the id relative to the - unnamed top-level Slice module. For example, the absolute - Slice type id for interfaces of type Bar in the module - Foo is ::Foo::Bar. - - The leading "::" is required. - - </summary> - <param name="type">The object type. - - </param> - <returns>The object created for the given type, or nil if the - factory is unable to create the object.</returns> - </member> - <member name="M:Ice.ObjectFactory.destroy"> - <summary> - Called when the factory is removed from the communicator, or if - the communicator is destroyed. - </summary> - </member> - <member name="M:Ice.PluginManager.initializePlugins"> - <summary> - Initialize the configured plug-ins. - The communicator automatically initializes - the plug-ins by default, but an application may need to interact directly with - a plug-in prior to initialization. In this case, the application must set - Ice.InitPlugins=0 and then invoke initializePlugins - manually. The plug-ins are initialized in the order in which they are loaded. - If a plug-in raises an exception during initialization, the communicator - invokes destroy on the plug-ins that have already been initialized. - - </summary> - <exception name="InitializationException">Raised if the plug-ins have already been initialized.</exception> - </member> - <member name="M:Ice.PluginManager.getPlugins"> - <summary> - Get a list of plugins installed. - </summary> - <returns>The names of the plugins installed. - - </returns> - </member> - <member name="M:Ice.PluginManager.getPlugin(System.String)"> - <summary> - Obtain a plug-in by name. - </summary> - <param name="name">The plug-in's name. - - </param> - <returns>The plug-in. - - </returns> - <exception name="NotRegisteredException">Raised if no plug-in is found with the given name.</exception> - </member> - <member name="M:Ice.PluginManager.addPlugin(System.String,Ice.Plugin)"> - <summary> - Install a new plug-in. - </summary> - <param name="name">The plug-in's name. - - </param> - <param name="pi">The plug-in. - - </param> - <exception name="AlreadyRegisteredException">Raised if a plug-in already exists with the given name.</exception> - </member> - <member name="M:Ice.PluginManager.destroy"> - <summary> - Called when the communicator is being destroyed. - </summary> - </member> - <member name="T:Ice.ProcessPrxHelper"> - <summary> - An administrative interface for process management. - Managed servers must - implement this interface. - - A servant implementing this interface is a potential target - for denial-of-service attacks, therefore proper security precautions - should be taken. For example, the servant can use a UUID to make its - identity harder to guess, and be registered in an object adapter with - a secured endpoint. - </summary> - </member> - <member name="M:Ice.ProcessPrxHelper.shutdown"> - <summary> - Initiate a graceful shut-down. - </summary> - </member> - <member name="M:Ice.ProcessPrxHelper.shutdown(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Initiate a graceful shut-down. - </summary> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.ProcessPrxHelper.writeMessage(System.String,System.Int32)"> - <summary> - Write a message on the process' stdout or stderr. - </summary> - <param name="message">The message. - - </param> - <param name="fd">1 for stdout, 2 for stderr.</param> - </member> - <member name="M:Ice.ProcessPrxHelper.writeMessage(System.String,System.Int32,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Write a message on the process' stdout or stderr. - </summary> - <param name="message">The message. - - </param> - <param name="fd">1 for stdout, 2 for stderr.</param> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.ProcessPrxHelper.begin_shutdown(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Initiate a graceful shut-down. - </summary> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.ProcessPrxHelper.begin_writeMessage(System.String,System.Int32,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Write a message on the process' stdout or stderr. - </summary> - <param name="message">The message. - - </param> - <param name="fd">1 for stdout, 2 for stderr.</param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="T:Ice.PropertiesAdminPrxHelper"> - <summary> - The PropertiesAdmin interface provides remote access to the properties - of a communicator. - </summary> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.getPropertiesForPrefix(System.String)"> - <summary> - Get all properties whose keys begin with prefix. - If - prefix is an empty string then all properties are returned. - - </summary> - <param name="prefix">The prefix to search for (empty string if none). - </param> - <returns>The matching property set.</returns> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.getPropertiesForPrefix(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get all properties whose keys begin with prefix. - If - prefix is an empty string then all properties are returned. - - </summary> - <param name="prefix">The prefix to search for (empty string if none). - </param> - <returns>The matching property set.</returns> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.getProperty(System.String)"> - <summary> - Get a property by key. - If the property is not set, an empty - string is returned. - - </summary> - <param name="key">The property key. - - </param> - <returns>The property value.</returns> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.getProperty(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get a property by key. - If the property is not set, an empty - string is returned. - - </summary> - <param name="key">The property key. - - </param> - <returns>The property value.</returns> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.setProperties(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Update the communicator's properties with the given property set. - </summary> - <param name="newProperties">Properties to be added, changed, or removed. - If an entry in newProperties matches the name of an existing property, - that property's value is replaced with the new value. If the new value - is an empty string, the property is removed. Any existing properties - that are not modified or removed by the entries in newProperties are - retained with their original values.</param> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.setProperties(System.Collections.Generic.Dictionary{System.String,System.String},System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Update the communicator's properties with the given property set. - </summary> - <param name="newProperties">Properties to be added, changed, or removed. - If an entry in newProperties matches the name of an existing property, - that property's value is replaced with the new value. If the new value - is an empty string, the property is removed. Any existing properties - that are not modified or removed by the entries in newProperties are - retained with their original values.</param> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.begin_getPropertiesForPrefix(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get all properties whose keys begin with prefix. - If - </summary> - <param name="prefix">The prefix to search for (empty string if none). - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.begin_getProperty(System.String,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get a property by key. - If the property is not set, an empty - </summary> - <param name="key">The property key. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.PropertiesAdminPrxHelper.begin_setProperties(System.Collections.Generic.Dictionary{System.String,System.String},System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Update the communicator's properties with the given property set. - </summary> - <param name="newProperties">Properties to be added, changed, or removed. - If an entry in newProperties matches the name of an existing property, - that property's value is replaced with the new value. If the new value - is an empty string, the property is removed. Any existing properties - that are not modified or removed by the entries in newProperties are - retained with their original values.</param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="T:Ice.AMD_PropertiesAdmin_setProperties"> - <summary> - Update the communicator's properties with the given property set. - </summary> - </member> - <member name="M:Ice.AMD_PropertiesAdmin_setProperties.ice_response"> - <summary> - ice_response indicates that - the operation completed successfully. - </summary> - </member> - <member name="T:Ice.RouterOperations_"> - <summary> - The Ice router interface. - Routers can be set either globally with - Communicator.setDefaultRouter, or with ice_router on specific - proxies. - </summary> - </member> - <member name="M:Ice.RouterOperations_.getClientProxy(Ice.Current)"> - <summary> - Get the router's client proxy, i.e., the proxy to use for - forwarding requests from the client to the router. - </summary> - <returns>The router's client proxy.</returns> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.RouterOperations_.getServerProxy(Ice.Current)"> - <summary> - Get the router's server proxy, i.e., the proxy to use for - forwarding requests from the server to the router. - </summary> - <returns>The router's server proxy.</returns> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.RouterOperations_.addProxy(Ice.ObjectPrx,Ice.Current)"> - <summary> - Add new proxy information to the router's routing table. - - <para>addProxy() is deprecated, use addProxies() instead.</para> - - This operation is deprecated, and only used for old - Ice clients (older than version 3.1). - - </summary> - <param name="proxy">The proxy to add.</param> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="M:Ice.RouterOperations_.addProxies(Ice.ObjectPrx[],Ice.Current)"> - <summary> - Add new proxy information to the router's routing table. - </summary> - <param name="proxies">The proxies to add. - - </param> - <returns>Proxies discarded by the router.</returns> - <param name="current__">The Current object for the invocation.</param> - </member> - <member name="T:Ice.RouterOperationsNC_"> - <summary> - The Ice router interface. - Routers can be set either globally with - Communicator.setDefaultRouter, or with ice_router on specific - proxies. - </summary> - </member> - <member name="M:Ice.RouterOperationsNC_.getClientProxy"> - <summary> - Get the router's client proxy, i.e., the proxy to use for - forwarding requests from the client to the router. - </summary> - <returns>The router's client proxy.</returns> - </member> - <member name="M:Ice.RouterOperationsNC_.getServerProxy"> - <summary> - Get the router's server proxy, i.e., the proxy to use for - forwarding requests from the server to the router. - </summary> - <returns>The router's server proxy.</returns> - </member> - <member name="M:Ice.RouterOperationsNC_.addProxy(Ice.ObjectPrx)"> - <summary> - Add new proxy information to the router's routing table. - - <para>addProxy() is deprecated, use addProxies() instead.</para> - - This operation is deprecated, and only used for old - Ice clients (older than version 3.1). - - </summary> - <param name="proxy">The proxy to add.</param> - </member> - <member name="M:Ice.RouterOperationsNC_.addProxies(Ice.ObjectPrx[])"> - <summary> - Add new proxy information to the router's routing table. - </summary> - <param name="proxies">The proxies to add. - - </param> - <returns>Proxies discarded by the router.</returns> - </member> - <member name="T:Ice.RouterPrxHelper"> - <summary> - The Ice router interface. - Routers can be set either globally with - Communicator.setDefaultRouter, or with ice_router on specific - proxies. - </summary> - </member> - <member name="M:Ice.RouterPrxHelper.addProxies(Ice.ObjectPrx[])"> - <summary> - Add new proxy information to the router's routing table. - </summary> - <param name="proxies">The proxies to add. - - </param> - <returns>Proxies discarded by the router.</returns> - </member> - <member name="M:Ice.RouterPrxHelper.addProxies(Ice.ObjectPrx[],System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Add new proxy information to the router's routing table. - </summary> - <param name="proxies">The proxies to add. - - </param> - <returns>Proxies discarded by the router.</returns> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.RouterPrxHelper.addProxy(Ice.ObjectPrx)"> - <summary> - Add new proxy information to the router's routing table. - - <para>addProxy() is deprecated, use addProxies() instead.</para> - - This operation is deprecated, and only used for old - Ice clients (older than version 3.1). - - </summary> - <param name="proxy">The proxy to add.</param> - </member> - <member name="M:Ice.RouterPrxHelper.addProxy(Ice.ObjectPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Add new proxy information to the router's routing table. - - <para>addProxy() is deprecated, use addProxies() instead.</para> - - This operation is deprecated, and only used for old - Ice clients (older than version 3.1). - - </summary> - <param name="proxy">The proxy to add.</param> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.RouterPrxHelper.getClientProxy"> - <summary> - Get the router's client proxy, i.e., the proxy to use for - forwarding requests from the client to the router. - </summary> - <returns>The router's client proxy.</returns> - </member> - <member name="M:Ice.RouterPrxHelper.getClientProxy(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the router's client proxy, i.e., the proxy to use for - forwarding requests from the client to the router. - </summary> - <returns>The router's client proxy.</returns> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.RouterPrxHelper.getServerProxy"> - <summary> - Get the router's server proxy, i.e., the proxy to use for - forwarding requests from the server to the router. - </summary> - <returns>The router's server proxy.</returns> - </member> - <member name="M:Ice.RouterPrxHelper.getServerProxy(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the router's server proxy, i.e., the proxy to use for - forwarding requests from the server to the router. - </summary> - <returns>The router's server proxy.</returns> - <param name="context__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.RouterPrxHelper.begin_addProxies(Ice.ObjectPrx[],System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Add new proxy information to the router's routing table. - </summary> - <param name="proxies">The proxies to add. - - </param> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.RouterPrxHelper.begin_addProxy(Ice.ObjectPrx,System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Add new proxy information to the router's routing table. - This operation is deprecated, and only used for old - </summary> - <param name="proxy">The proxy to add.</param> - <param name="ctx__">The Context map to send with the invocation.</param> - <para>addProxy() is deprecated, use addProxies() instead.</para> - </member> - <member name="M:Ice.RouterPrxHelper.begin_getClientProxy(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the router's client proxy, i.e., the proxy to use for - forwarding requests from the client to the router. - </summary> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.RouterPrxHelper.begin_getServerProxy(System.Collections.Generic.Dictionary{System.String,System.String})"> - <summary> - Get the router's server proxy, i.e., the proxy to use for - forwarding requests from the server to the router. - </summary> - <param name="ctx__">The Context map to send with the invocation.</param> - </member> - <member name="M:Ice.ServantLocator.locate(Ice.Current,System.Object@)"> - <summary> - Called before a request is dispatched if a - servant cannot be found in the object adapter's active servant - map. - Note that the object adapter does not automatically insert - the returned servant into its active servant map. This must be - done by the servant locator implementation, if this is desired. - - locate can throw any user exception. If it does, that exception - is marshaled back to the client. If the Slice definition for the - corresponding operation includes that user exception, the client - receives that user exception; otherwise, the client receives - UnknownUserException. - - If locate throws any exception, the Ice run time does not - call finished. - - If you call locate from your own code, you - must also call finished when you have finished using the - servant, provided that locate returned a non-null servant; - otherwise, you will get undefined behavior if you use - servant locators such as the Freeze.Evictor. - - </summary> - <param name="curr">Information about the current operation for which - a servant is required. - - </param> - <param name="cookie">A "cookie" that will be passed to finished. - - </param> - <returns>The located servant, or null if no suitable servant has - been found. - - </returns> - </member> - <member name="M:Ice.ServantLocator.finished(Ice.Current,Ice.Object,System.Object)"> - <summary> - Called by the object adapter after a request has been - made. - This operation is only called if locate was called - prior to the request and returned a non-null servant. This - operation can be used for cleanup purposes after a request. - - finished can throw any user exception. If it does, that exception - is marshaled back to the client. If the Slice definition for the - corresponding operation includes that user exception, the client - receives that user exception; otherwise, the client receives - UnknownUserException. - - If both the operation and finished throw an exception, the - exception thrown by finished is marshaled back to the client. - - </summary> - <param name="curr">Information about the current operation call for - which a servant was located by locate. - - </param> - <param name="servant">The servant that was returned by locate. - - </param> - <param name="cookie">The cookie that was returned by locate. - - </param> - </member> - <member name="M:Ice.ServantLocator.deactivate(System.String)"> - <summary> - Called when the object adapter in which this servant locator is - installed is deactivated. - </summary> - <param name="category">Indicates for which category the servant locator - is being deactivated. - - </param> - </member> - <member name="M:Ice.Stats.bytesSent(System.String,System.Int32)"> - <summary> - Callback to report that data has been sent. - - <para>Stats is deprecated; you should use instead Ice Metrics or Ice Instrumentation</para> - - </summary> - <param name="protocol">The protocol over which data has been sent (for - example "tcp", "udp", or "ssl"). - - </param> - <param name="num">How many bytes have been sent.</param> - </member> - <member name="M:Ice.Stats.bytesReceived(System.String,System.Int32)"> - <summary> - Callback to report that data has been received. - - <para>Stats is deprecated; you should use instead Ice Metrics or Ice Instrumentation</para> - - </summary> - <param name="protocol">The protocol over which data has been received - (for example "tcp", "udp", or "ssl"). - - </param> - <param name="num">How many bytes have been received.</param> - </member> - </members> -</doc> diff --git a/cs/test/Ice/optional/Test.cs b/cs/test/Ice/optional/Test.cs deleted file mode 100644 index c795f4bcd51..00000000000 --- a/cs/test/Ice/optional/Test.cs +++ /dev/null @@ -1,22299 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2012 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** -// -// Ice version 3.5b -// -// <auto-generated> -// -// Generated from file `Test.ice' -// -// Warning: do not edit this file. -// -// </auto-generated> -// - - -using _System = global::System; -using _Microsoft = global::Microsoft; - -#pragma warning disable 1591 - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OneOptionalHelper - { - public OneOptionalHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.OneOptional>("::Test::OneOptional"); - } - - public static void write(Ice.OutputStream outS__, OneOptional v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.OneOptional value - { - get - { - return (Test.OneOptional)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.OneOptional> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class OneOptional : Ice.ObjectImpl - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> a; - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public OneOptional() - { - this.a = new Ice.Optional<int>(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public OneOptional(Ice.Optional<int> a) - { - this.a = a; - } - - #endregion - - #region Slice type-related members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::OneOptional" - }; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids() - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id() - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id(Ice.Current current__) - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Operation dispatch - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), true); - os__.writeInt(1, a); - os__.endWriteSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - a = is__.readInt(1); - is__.endReadSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), true); - if(a.HasValue && outS__.writeOptional(1, Ice.OptionalFormat.F4)) - { - outS__.writeInt(a.Value); - } - outS__.endSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - if(inS__.readOptional(1, Ice.OptionalFormat.F4)) - { - int tmpValue__; - tmpValue__ = inS__.readInt(); - a = new Ice.Optional<int>(tmpValue__); - } - inS__.endSlice(); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public enum MyEnum - { - MyEnumMember - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class MyEnumHelper - { - public static void write(Ice.OutputStream outS__, Test.MyEnum v__) - { - if((int)v__ < 0 || (int)v__ > 0) - { - throw new Ice.MarshalException("enumerator out of range"); - } - outS__.writeEnum((int)v__, 0); - } - - public static Test.MyEnum read(Ice.InputStream inS__) - { - Test.MyEnum v__; - v__ = (Test.MyEnum)inS__.readEnum(0); - if((int)v__ < 0 || (int)v__ > 0) - { - throw new Ice.MarshalException("enumerator out of range"); - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class SmallStructHelper - { - public static void write(Ice.OutputStream outS__, SmallStruct v__) - { - v__.ice_write(outS__); - } - - public static SmallStruct read(Ice.InputStream inS__) - { - SmallStruct v__ = new SmallStruct(); - v__.ice_read(inS__); - return v__; - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial struct SmallStruct - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public byte m; - - #endregion - - #region Constructor - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public SmallStruct(byte m) - { - this.m = m; - } - - #endregion - - #region Object members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override int GetHashCode() - { - int h__ = 5381; - IceInternal.HashUtil.hashAdd(ref h__, "::Test::SmallStruct"); - IceInternal.HashUtil.hashAdd(ref h__, m); - return h__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool Equals(object other__) - { - if(!(other__ is SmallStruct)) - { - return false; - } - SmallStruct o__ = (SmallStruct)other__; - if(!m.Equals(o__.m)) - { - return false; - } - return true; - } - - #endregion - - #region Comparison members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator==(SmallStruct lhs__, SmallStruct rhs__) - { - return Equals(lhs__, rhs__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator!=(SmallStruct lhs__, SmallStruct rhs__) - { - return !Equals(lhs__, rhs__); - } - - #endregion - - #region Marshalling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void write__(IceInternal.BasicStream os__) - { - os__.writeByte(m); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void read__(IceInternal.BasicStream is__) - { - m = is__.readByte(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void ice_write(Ice.OutputStream outS__) - { - outS__.writeByte(m); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void ice_read(Ice.InputStream inS__) - { - m = inS__.readByte(); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class FixedStructHelper - { - public static void write(Ice.OutputStream outS__, FixedStruct v__) - { - v__.ice_write(outS__); - } - - public static FixedStruct read(Ice.InputStream inS__) - { - FixedStruct v__ = new FixedStruct(); - v__.ice_read(inS__); - return v__; - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial struct FixedStruct - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public int m; - - #endregion - - #region Constructor - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public FixedStruct(int m) - { - this.m = m; - } - - #endregion - - #region Object members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override int GetHashCode() - { - int h__ = 5381; - IceInternal.HashUtil.hashAdd(ref h__, "::Test::FixedStruct"); - IceInternal.HashUtil.hashAdd(ref h__, m); - return h__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool Equals(object other__) - { - if(!(other__ is FixedStruct)) - { - return false; - } - FixedStruct o__ = (FixedStruct)other__; - if(!m.Equals(o__.m)) - { - return false; - } - return true; - } - - #endregion - - #region Comparison members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator==(FixedStruct lhs__, FixedStruct rhs__) - { - return Equals(lhs__, rhs__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator!=(FixedStruct lhs__, FixedStruct rhs__) - { - return !Equals(lhs__, rhs__); - } - - #endregion - - #region Marshalling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void write__(IceInternal.BasicStream os__) - { - os__.writeInt(m); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void read__(IceInternal.BasicStream is__) - { - m = is__.readInt(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void ice_write(Ice.OutputStream outS__) - { - outS__.writeInt(m); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void ice_read(Ice.InputStream inS__) - { - m = inS__.readInt(); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class VarStructHelper - { - public static void write(Ice.OutputStream outS__, VarStruct v__) - { - v__.ice_write(outS__); - } - - public static VarStruct read(Ice.InputStream inS__) - { - VarStruct v__ = new VarStruct(); - v__.ice_read(inS__); - return v__; - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class VarStruct : _System.ICloneable - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public string m; - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public VarStruct() - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public VarStruct(string m) - { - this.m = m; - } - - #endregion - - #region ICloneable members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public object Clone() - { - return MemberwiseClone(); - } - - #endregion - - #region Object members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override int GetHashCode() - { - int h__ = 5381; - IceInternal.HashUtil.hashAdd(ref h__, "::Test::VarStruct"); - IceInternal.HashUtil.hashAdd(ref h__, m); - return h__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool Equals(object other__) - { - if(object.ReferenceEquals(this, other__)) - { - return true; - } - if(other__ == null) - { - return false; - } - if(GetType() != other__.GetType()) - { - return false; - } - VarStruct o__ = (VarStruct)other__; - if(m == null) - { - if(o__.m != null) - { - return false; - } - } - else - { - if(!m.Equals(o__.m)) - { - return false; - } - } - return true; - } - - #endregion - - #region Comparison members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator==(VarStruct lhs__, VarStruct rhs__) - { - return Equals(lhs__, rhs__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator!=(VarStruct lhs__, VarStruct rhs__) - { - return !Equals(lhs__, rhs__); - } - - #endregion - - #region Marshalling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void write__(IceInternal.BasicStream os__) - { - os__.writeString(m); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void read__(IceInternal.BasicStream is__) - { - m = is__.readString(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void ice_write(Ice.OutputStream outS__) - { - outS__.writeString(m); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void ice_read(Ice.InputStream inS__) - { - m = inS__.readString(); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class ClassVarStructHelper - { - public static void write(Ice.OutputStream outS__, ClassVarStruct v__) - { - v__.ice_write(outS__); - } - - public static ClassVarStruct read(Ice.InputStream inS__) - { - ClassVarStruct v__ = new ClassVarStruct(); - v__.ice_read(inS__); - return v__; - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class ClassVarStruct : _System.ICloneable - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public int a; - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public ClassVarStruct() - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public ClassVarStruct(int a) - { - this.a = a; - } - - #endregion - - #region ICloneable members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public object Clone() - { - return MemberwiseClone(); - } - - #endregion - - #region Object members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override int GetHashCode() - { - int h__ = 5381; - IceInternal.HashUtil.hashAdd(ref h__, "::Test::ClassVarStruct"); - IceInternal.HashUtil.hashAdd(ref h__, a); - return h__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool Equals(object other__) - { - if(object.ReferenceEquals(this, other__)) - { - return true; - } - if(other__ == null) - { - return false; - } - if(GetType() != other__.GetType()) - { - return false; - } - ClassVarStruct o__ = (ClassVarStruct)other__; - if(!a.Equals(o__.a)) - { - return false; - } - return true; - } - - #endregion - - #region Comparison members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator==(ClassVarStruct lhs__, ClassVarStruct rhs__) - { - return Equals(lhs__, rhs__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator!=(ClassVarStruct lhs__, ClassVarStruct rhs__) - { - return !Equals(lhs__, rhs__); - } - - #endregion - - #region Marshalling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void write__(IceInternal.BasicStream os__) - { - os__.writeInt(a); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void read__(IceInternal.BasicStream is__) - { - a = is__.readInt(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void ice_write(Ice.OutputStream outS__) - { - outS__.writeInt(a); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void ice_read(Ice.InputStream inS__) - { - a = inS__.readInt(); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class MultiOptionalHelper - { - public MultiOptionalHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.MultiOptional>("::Test::MultiOptional"); - } - - public static void write(Ice.OutputStream outS__, MultiOptional v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.MultiOptional value - { - get - { - return (Test.MultiOptional)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.MultiOptional> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class MultiOptional : Ice.ObjectImpl - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<byte> a; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<bool> b; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<short> c; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> d; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<long> e; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<float> f; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<double> g; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<string> h; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.MyEnum> i; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.MultiOptionalPrx> j; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.MultiOptional> k; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<byte[]> bs; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<string[]> ss; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> iid; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> sid; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.FixedStruct> fs; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.VarStruct> vs; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<short[]> shs; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.MyEnum[]> es; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.FixedStruct[]> fss; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.VarStruct[]> vss; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.OneOptional[]> oos; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.OneOptionalPrx[]> oops; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.MyEnum>> ied; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.FixedStruct>> ifsd; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.VarStruct>> ivsd; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptional>> iood; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>> ioopd; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<bool[]> bos; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<byte[]> ser; - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public MultiOptional() - { - this.a = new Ice.Optional<byte>(); - this.b = new Ice.Optional<bool>(); - this.c = new Ice.Optional<short>(); - this.d = new Ice.Optional<int>(); - this.e = new Ice.Optional<long>(); - this.f = new Ice.Optional<float>(); - this.g = new Ice.Optional<double>(); - this.h = new Ice.Optional<string>(); - this.i = new Ice.Optional<Test.MyEnum>(); - this.j = new Ice.Optional<Test.MultiOptionalPrx>(); - this.k = new Ice.Optional<Test.MultiOptional>(); - this.bs = new Ice.Optional<byte[]>(); - this.ss = new Ice.Optional<string[]>(); - this.iid = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - this.sid = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - this.fs = new Ice.Optional<Test.FixedStruct>(); - this.vs = new Ice.Optional<Test.VarStruct>(); - this.shs = new Ice.Optional<short[]>(); - this.es = new Ice.Optional<Test.MyEnum[]>(); - this.fss = new Ice.Optional<Test.FixedStruct[]>(); - this.vss = new Ice.Optional<Test.VarStruct[]>(); - this.oos = new Ice.Optional<Test.OneOptional[]>(); - this.oops = new Ice.Optional<Test.OneOptionalPrx[]>(); - this.ied = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.MyEnum>>(); - this.ifsd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.FixedStruct>>(); - this.ivsd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.VarStruct>>(); - this.iood = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptional>>(); - this.ioopd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>>(); - this.bos = new Ice.Optional<bool[]>(); - this.ser = new Ice.Optional<byte[]>(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public MultiOptional(Ice.Optional<byte> a, Ice.Optional<bool> b, Ice.Optional<short> c, Ice.Optional<int> d, Ice.Optional<long> e, Ice.Optional<float> f, Ice.Optional<double> g, Ice.Optional<string> h, Ice.Optional<Test.MyEnum> i, Ice.Optional<Test.MultiOptionalPrx> j, Ice.Optional<Test.MultiOptional> k, Ice.Optional<byte[]> bs, Ice.Optional<string[]> ss, Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> iid, Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> sid, Ice.Optional<Test.FixedStruct> fs, Ice.Optional<Test.VarStruct> vs, Ice.Optional<short[]> shs, Ice.Optional<Test.MyEnum[]> es, Ice.Optional<Test.FixedStruct[]> fss, Ice.Optional<Test.VarStruct[]> vss, Ice.Optional<Test.OneOptional[]> oos, Ice.Optional<Test.OneOptionalPrx[]> oops, Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.MyEnum>> ied, Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.FixedStruct>> ifsd, Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.VarStruct>> ivsd, Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptional>> iood, Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>> ioopd, Ice.Optional<bool[]> bos, Ice.Optional<byte[]> ser) - { - this.a = a; - this.b = b; - this.c = c; - this.d = d; - this.e = e; - this.f = f; - this.g = g; - this.h = h; - this.i = i; - this.j = j; - this.k = k; - this.bs = bs; - this.ss = ss; - this.iid = iid; - this.sid = sid; - this.fs = fs; - this.vs = vs; - this.shs = shs; - this.es = es; - this.fss = fss; - this.vss = vss; - this.oos = oos; - this.oops = oops; - this.ied = ied; - this.ifsd = ifsd; - this.ivsd = ivsd; - this.iood = iood; - this.ioopd = ioopd; - this.bos = bos; - this.ser = ser; - } - - #endregion - - #region Slice type-related members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::MultiOptional" - }; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids() - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id() - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id(Ice.Current current__) - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Operation dispatch - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), true); - os__.writeByte(1, a); - os__.writeBool(2, b); - os__.writeShort(3, c); - os__.writeInt(4, d); - os__.writeLong(5, e); - os__.writeFloat(6, f); - os__.writeDouble(7, g); - os__.writeString(8, h); - if(i.HasValue) - { - os__.writeEnum(9, (int)i.Value, 1); - } - if(j.HasValue && os__.writeOpt(10, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.MultiOptionalPrxHelper.write__(os__, j.Value); - os__.endSize(); - } - os__.writeObject(11, k); - os__.writeByteSeq(12, bs); - os__.writeStringSeq(13, ss); - if(iid.HasValue && os__.writeOpt(14, Ice.OptionalFormat.VSize)) - { - os__.writeSize(iid.Value == null ? 1 : iid.Value.Count * 8 + (iid.Value.Count > 254 ? 5 : 1)); - Test.IntIntDictHelper.write(os__, iid.Value); - } - if(sid.HasValue && os__.writeOpt(15, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.StringIntDictHelper.write(os__, sid.Value); - os__.endSize(); - } - if(fs.HasValue && os__.writeOpt(16, Ice.OptionalFormat.VSize)) - { - os__.writeSize(4); - fs.Value.write__(os__); - } - if(vs.HasValue && os__.writeOpt(17, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - if(vs.Value == null) - { - Test.VarStruct tmp__ = new Test.VarStruct(); - tmp__.write__(os__); - } - else - { - vs.Value.write__(os__); - } - os__.endSize(); - } - os__.writeShortSeq(18, shs); - if(es.HasValue && os__.writeOpt(19, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.MyEnumSeqHelper.write(os__, es.Value); - os__.endSize(); - } - if(fss.HasValue && os__.writeOpt(20, Ice.OptionalFormat.VSize)) - { - os__.writeSize(fss.Value == null ? 1 : fss.Value.Length * 4 + (fss.Value.Length > 254 ? 5 : 1)); - Test.FixedStructSeqHelper.write(os__, fss.Value); - } - if(vss.HasValue && os__.writeOpt(21, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.VarStructSeqHelper.write(os__, vss.Value); - os__.endSize(); - } - if(oos.HasValue && os__.writeOpt(22, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.OneOptionalSeqHelper.write(os__, oos.Value); - os__.endSize(); - } - if(oops.HasValue && os__.writeOpt(23, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.OneOptionalPrxSeqHelper.write(os__, oops.Value); - os__.endSize(); - } - if(ied.HasValue && os__.writeOpt(24, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.IntEnumDictHelper.write(os__, ied.Value); - os__.endSize(); - } - if(ifsd.HasValue && os__.writeOpt(25, Ice.OptionalFormat.VSize)) - { - os__.writeSize(ifsd.Value == null ? 1 : ifsd.Value.Count * 8 + (ifsd.Value.Count > 254 ? 5 : 1)); - Test.IntFixedStructDictHelper.write(os__, ifsd.Value); - } - if(ivsd.HasValue && os__.writeOpt(26, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.IntVarStructDictHelper.write(os__, ivsd.Value); - os__.endSize(); - } - if(iood.HasValue && os__.writeOpt(27, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.IntOneOptionalDictHelper.write(os__, iood.Value); - os__.endSize(); - } - if(ioopd.HasValue && os__.writeOpt(28, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.IntOneOptionalPrxDictHelper.write(os__, ioopd.Value); - os__.endSize(); - } - os__.writeBoolSeq(29, bos); - os__.writeByteSeq(30, ser); - os__.endWriteSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class Patcher__ : IceInternal.Patcher - { - internal Patcher__(string type, Ice.ObjectImpl instance) : base(type) - { - _instance = (MultiOptional)instance; - } - - public override void patch(Ice.Object v) - { - try - { - _instance.k = new Ice.Optional<Test.MultiOptional>((Test.MultiOptional)v); - } - catch(_System.InvalidCastException) - { - IceInternal.Ex.throwUOE(type(), v.ice_id()); - } - } - - private MultiOptional _instance; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - a = is__.readByte(1); - b = is__.readBool(2); - c = is__.readShort(3); - d = is__.readInt(4); - e = is__.readLong(5); - f = is__.readFloat(6); - g = is__.readDouble(7); - h = is__.readString(8); - if(is__.readOpt(9, Ice.OptionalFormat.Size)) - { - Test.MyEnum tmpVal__; - tmpVal__ = (Test.MyEnum)is__.readEnum(0); - i = new Ice.Optional<Test.MyEnum>(tmpVal__); - } - else - { - i = new Ice.Optional<Test.MyEnum>(); - } - if(is__.readOpt(10, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.MultiOptionalPrx tmpVal__; - tmpVal__ = Test.MultiOptionalPrxHelper.read__(is__); - j = new Ice.Optional<Test.MultiOptionalPrx>(tmpVal__); - } - else - { - j = new Ice.Optional<Test.MultiOptionalPrx>(); - } - is__.readObject(11, new Patcher__(Test.MultiOptional.ice_staticId(), this)); - if(is__.readOpt(12, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.ByteSeqHelper.read(is__); - bs = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - bs = new Ice.Optional<byte[]>(); - } - if(is__.readOpt(13, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - string[] tmpVal__; - tmpVal__ = Test.StringSeqHelper.read(is__); - ss = new Ice.Optional<string[]>(tmpVal__); - } - else - { - ss = new Ice.Optional<string[]>(); - } - if(is__.readOpt(14, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.Dictionary<int, int> tmpVal__ = new _System.Collections.Generic.Dictionary<int, int>(); - tmpVal__ = Test.IntIntDictHelper.read(is__); - iid = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(tmpVal__); - } - else - { - iid = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - } - if(is__.readOpt(15, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<string, int> tmpVal__ = new _System.Collections.Generic.Dictionary<string, int>(); - tmpVal__ = Test.StringIntDictHelper.read(is__); - sid = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(tmpVal__); - } - else - { - sid = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - } - if(is__.readOpt(16, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct tmpVal__ = new Test.FixedStruct(); - tmpVal__.read__(is__); - fs = new Ice.Optional<Test.FixedStruct>(tmpVal__); - } - else - { - fs = new Ice.Optional<Test.FixedStruct>(); - } - if(is__.readOpt(17, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct tmpVal__ = null; - if(tmpVal__ == null) - { - tmpVal__ = new Test.VarStruct(); - } - tmpVal__.read__(is__); - vs = new Ice.Optional<Test.VarStruct>(tmpVal__); - } - else - { - vs = new Ice.Optional<Test.VarStruct>(); - } - if(is__.readOpt(18, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - short[] tmpVal__; - tmpVal__ = Test.ShortSeqHelper.read(is__); - shs = new Ice.Optional<short[]>(tmpVal__); - } - else - { - shs = new Ice.Optional<short[]>(); - } - if(is__.readOpt(19, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.MyEnum[] tmpVal__; - tmpVal__ = Test.MyEnumSeqHelper.read(is__); - es = new Ice.Optional<Test.MyEnum[]>(tmpVal__); - } - else - { - es = new Ice.Optional<Test.MyEnum[]>(); - } - if(is__.readOpt(20, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct[] tmpVal__; - tmpVal__ = Test.FixedStructSeqHelper.read(is__); - fss = new Ice.Optional<Test.FixedStruct[]>(tmpVal__); - } - else - { - fss = new Ice.Optional<Test.FixedStruct[]>(); - } - if(is__.readOpt(21, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct[] tmpVal__; - tmpVal__ = Test.VarStructSeqHelper.read(is__); - vss = new Ice.Optional<Test.VarStruct[]>(tmpVal__); - } - else - { - vss = new Ice.Optional<Test.VarStruct[]>(); - } - if(is__.readOpt(22, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.OneOptional[] tmpVal__; - tmpVal__ = Test.OneOptionalSeqHelper.read(is__); - oos = new Ice.Optional<Test.OneOptional[]>(tmpVal__); - } - else - { - oos = new Ice.Optional<Test.OneOptional[]>(); - } - if(is__.readOpt(23, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.OneOptionalPrx[] tmpVal__; - tmpVal__ = Test.OneOptionalPrxSeqHelper.read(is__); - oops = new Ice.Optional<Test.OneOptionalPrx[]>(tmpVal__); - } - else - { - oops = new Ice.Optional<Test.OneOptionalPrx[]>(); - } - if(is__.readOpt(24, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<int, Test.MyEnum> tmpVal__ = new _System.Collections.Generic.Dictionary<int, Test.MyEnum>(); - tmpVal__ = Test.IntEnumDictHelper.read(is__); - ied = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.MyEnum>>(tmpVal__); - } - else - { - ied = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.MyEnum>>(); - } - if(is__.readOpt(25, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.Dictionary<int, Test.FixedStruct> tmpVal__ = new _System.Collections.Generic.Dictionary<int, Test.FixedStruct>(); - tmpVal__ = Test.IntFixedStructDictHelper.read(is__); - ifsd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.FixedStruct>>(tmpVal__); - } - else - { - ifsd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.FixedStruct>>(); - } - if(is__.readOpt(26, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<int, Test.VarStruct> tmpVal__ = new _System.Collections.Generic.Dictionary<int, Test.VarStruct>(); - tmpVal__ = Test.IntVarStructDictHelper.read(is__); - ivsd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.VarStruct>>(tmpVal__); - } - else - { - ivsd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.VarStruct>>(); - } - if(is__.readOpt(27, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<int, Test.OneOptional> tmpVal__ = new _System.Collections.Generic.Dictionary<int, Test.OneOptional>(); - tmpVal__ = Test.IntOneOptionalDictHelper.read(is__); - iood = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptional>>(tmpVal__); - } - else - { - iood = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptional>>(); - } - if(is__.readOpt(28, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx> tmpVal__ = new _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>(); - tmpVal__ = Test.IntOneOptionalPrxDictHelper.read(is__); - ioopd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>>(tmpVal__); - } - else - { - ioopd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>>(); - } - if(is__.readOpt(29, Ice.OptionalFormat.VSize)) - { - bool[] tmpVal__; - tmpVal__ = Test.BoolSeqHelper.read(is__); - bos = new Ice.Optional<bool[]>(tmpVal__); - } - else - { - bos = new Ice.Optional<bool[]>(); - } - if(is__.readOpt(30, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.SerializableHelper.read(is__); - ser = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - ser = new Ice.Optional<byte[]>(); - } - is__.endReadSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), true); - if(a.HasValue && outS__.writeOptional(1, Ice.OptionalFormat.F1)) - { - outS__.writeByte(a.Value); - } - if(b.HasValue && outS__.writeOptional(2, Ice.OptionalFormat.F1)) - { - outS__.writeBool(b.Value); - } - if(c.HasValue && outS__.writeOptional(3, Ice.OptionalFormat.F2)) - { - outS__.writeShort(c.Value); - } - if(d.HasValue && outS__.writeOptional(4, Ice.OptionalFormat.F4)) - { - outS__.writeInt(d.Value); - } - if(e.HasValue && outS__.writeOptional(5, Ice.OptionalFormat.F8)) - { - outS__.writeLong(e.Value); - } - if(f.HasValue && outS__.writeOptional(6, Ice.OptionalFormat.F4)) - { - outS__.writeFloat(f.Value); - } - if(g.HasValue && outS__.writeOptional(7, Ice.OptionalFormat.F8)) - { - outS__.writeDouble(g.Value); - } - if(h.HasValue && outS__.writeOptional(8, Ice.OptionalFormat.VSize)) - { - outS__.writeString(h.Value); - } - if(i.HasValue && outS__.writeOptional(9, Ice.OptionalFormat.Size)) - { - if((int)i.Value < 0 || (int)i.Value > 0) - { - throw new Ice.MarshalException("enumerator out of range"); - } - outS__.writeEnum((int)i.Value, 0); - } - if(j.HasValue && outS__.writeOptional(10, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.MultiOptionalPrxHelper.write(outS__, j.Value); - outS__.endSize(); - } - if(k.HasValue && outS__.writeOptional(11, Ice.OptionalFormat.Size)) - { - outS__.writeObject(k.Value); - } - if(bs.HasValue && outS__.writeOptional(12, Ice.OptionalFormat.VSize)) - { - Test.ByteSeqHelper.write(outS__, bs.Value); - } - if(ss.HasValue && outS__.writeOptional(13, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.StringSeqHelper.write(outS__, ss.Value); - outS__.endSize(); - } - if(iid.HasValue && outS__.writeOptional(14, Ice.OptionalFormat.VSize)) - { - outS__.writeSize(iid.Value == null ? 1 : iid.Value.Count * 8 + (iid.Value.Count > 254 ? 5 : 1)); - Test.IntIntDictHelper.write(outS__, iid.Value); - } - if(sid.HasValue && outS__.writeOptional(15, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.StringIntDictHelper.write(outS__, sid.Value); - outS__.endSize(); - } - if(fs.HasValue && outS__.writeOptional(16, Ice.OptionalFormat.VSize)) - { - outS__.writeSize(4); - fs.Value.ice_write(outS__); - } - if(vs.HasValue && outS__.writeOptional(17, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - if(vs.Value == null) - { - Test.VarStruct tmp__ = new Test.VarStruct(); - tmp__.ice_write(outS__); - } - else - { - vs.Value.ice_write(outS__); - } - outS__.endSize(); - } - if(shs.HasValue && outS__.writeOptional(18, Ice.OptionalFormat.VSize)) - { - outS__.writeSize(shs.Value == null ? 1 : shs.Value.Length * 2 + (shs.Value.Length > 254 ? 5 : 1)); - Test.ShortSeqHelper.write(outS__, shs.Value); - } - if(es.HasValue && outS__.writeOptional(19, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.MyEnumSeqHelper.write(outS__, es.Value); - outS__.endSize(); - } - if(fss.HasValue && outS__.writeOptional(20, Ice.OptionalFormat.VSize)) - { - outS__.writeSize(fss.Value == null ? 1 : fss.Value.Length * 4 + (fss.Value.Length > 254 ? 5 : 1)); - Test.FixedStructSeqHelper.write(outS__, fss.Value); - } - if(vss.HasValue && outS__.writeOptional(21, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.VarStructSeqHelper.write(outS__, vss.Value); - outS__.endSize(); - } - if(oos.HasValue && outS__.writeOptional(22, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.OneOptionalSeqHelper.write(outS__, oos.Value); - outS__.endSize(); - } - if(oops.HasValue && outS__.writeOptional(23, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.OneOptionalPrxSeqHelper.write(outS__, oops.Value); - outS__.endSize(); - } - if(ied.HasValue && outS__.writeOptional(24, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.IntEnumDictHelper.write(outS__, ied.Value); - outS__.endSize(); - } - if(ifsd.HasValue && outS__.writeOptional(25, Ice.OptionalFormat.VSize)) - { - outS__.writeSize(ifsd.Value == null ? 1 : ifsd.Value.Count * 8 + (ifsd.Value.Count > 254 ? 5 : 1)); - Test.IntFixedStructDictHelper.write(outS__, ifsd.Value); - } - if(ivsd.HasValue && outS__.writeOptional(26, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.IntVarStructDictHelper.write(outS__, ivsd.Value); - outS__.endSize(); - } - if(iood.HasValue && outS__.writeOptional(27, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.IntOneOptionalDictHelper.write(outS__, iood.Value); - outS__.endSize(); - } - if(ioopd.HasValue && outS__.writeOptional(28, Ice.OptionalFormat.FSize)) - { - outS__.startSize(); - Test.IntOneOptionalPrxDictHelper.write(outS__, ioopd.Value); - outS__.endSize(); - } - if(bos.HasValue && outS__.writeOptional(29, Ice.OptionalFormat.VSize)) - { - Test.BoolSeqHelper.write(outS__, bos.Value); - } - if(ser.HasValue && outS__.writeOptional(30, Ice.OptionalFormat.VSize)) - { - Test.SerializableHelper.write(outS__, ser.Value); - } - outS__.endSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - if(inS__.readOptional(1, Ice.OptionalFormat.F1)) - { - byte tmpValue__; - tmpValue__ = inS__.readByte(); - a = new Ice.Optional<byte>(tmpValue__); - } - if(inS__.readOptional(2, Ice.OptionalFormat.F1)) - { - bool tmpValue__; - tmpValue__ = inS__.readBool(); - b = new Ice.Optional<bool>(tmpValue__); - } - if(inS__.readOptional(3, Ice.OptionalFormat.F2)) - { - short tmpValue__; - tmpValue__ = inS__.readShort(); - c = new Ice.Optional<short>(tmpValue__); - } - if(inS__.readOptional(4, Ice.OptionalFormat.F4)) - { - int tmpValue__; - tmpValue__ = inS__.readInt(); - d = new Ice.Optional<int>(tmpValue__); - } - if(inS__.readOptional(5, Ice.OptionalFormat.F8)) - { - long tmpValue__; - tmpValue__ = inS__.readLong(); - e = new Ice.Optional<long>(tmpValue__); - } - if(inS__.readOptional(6, Ice.OptionalFormat.F4)) - { - float tmpValue__; - tmpValue__ = inS__.readFloat(); - f = new Ice.Optional<float>(tmpValue__); - } - if(inS__.readOptional(7, Ice.OptionalFormat.F8)) - { - double tmpValue__; - tmpValue__ = inS__.readDouble(); - g = new Ice.Optional<double>(tmpValue__); - } - if(inS__.readOptional(8, Ice.OptionalFormat.VSize)) - { - string tmpValue__; - tmpValue__ = inS__.readString(); - h = new Ice.Optional<string>(tmpValue__); - } - if(inS__.readOptional(9, Ice.OptionalFormat.Size)) - { - Test.MyEnum tmpValue__; - tmpValue__ = (Test.MyEnum)inS__.readEnum(0); - if((int)tmpValue__ < 0 || (int)tmpValue__ > 0) - { - throw new Ice.MarshalException("enumerator out of range"); - } - i = new Ice.Optional<Test.MyEnum>(tmpValue__); - } - if(inS__.readOptional(10, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - Test.MultiOptionalPrx tmpValue__; - tmpValue__ = Test.MultiOptionalPrxHelper.read(inS__); - j = new Ice.Optional<Test.MultiOptionalPrx>(tmpValue__); - } - if(inS__.readOptional(11, Ice.OptionalFormat.Size)) - { - inS__.readObject(new Patcher__(Test.MultiOptional.ice_staticId(), this)); - } - if(inS__.readOptional(12, Ice.OptionalFormat.VSize)) - { - byte[] tmpValue__; - tmpValue__ = Test.ByteSeqHelper.read(inS__); - bs = new Ice.Optional<byte[]>(tmpValue__); - } - if(inS__.readOptional(13, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - string[] tmpValue__; - tmpValue__ = Test.StringSeqHelper.read(inS__); - ss = new Ice.Optional<string[]>(tmpValue__); - } - if(inS__.readOptional(14, Ice.OptionalFormat.VSize)) - { - inS__.skipSize(); - _System.Collections.Generic.Dictionary<int, int> tmpValue__; - tmpValue__ = Test.IntIntDictHelper.read(inS__); - iid = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(tmpValue__); - } - if(inS__.readOptional(15, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - _System.Collections.Generic.Dictionary<string, int> tmpValue__; - tmpValue__ = Test.StringIntDictHelper.read(inS__); - sid = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(tmpValue__); - } - if(inS__.readOptional(16, Ice.OptionalFormat.VSize)) - { - inS__.skipSize(); - Test.FixedStruct tmpValue__ = new Test.FixedStruct(); - tmpValue__.ice_read(inS__); - fs = new Ice.Optional<Test.FixedStruct>(tmpValue__); - } - if(inS__.readOptional(17, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - Test.VarStruct tmpValue__ = null; - if(tmpValue__ == null) - { - tmpValue__ = new Test.VarStruct(); - } - tmpValue__.ice_read(inS__); - vs = new Ice.Optional<Test.VarStruct>(tmpValue__); - } - if(inS__.readOptional(18, Ice.OptionalFormat.VSize)) - { - inS__.skipSize(); - short[] tmpValue__; - tmpValue__ = Test.ShortSeqHelper.read(inS__); - shs = new Ice.Optional<short[]>(tmpValue__); - } - if(inS__.readOptional(19, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - Test.MyEnum[] tmpValue__; - tmpValue__ = Test.MyEnumSeqHelper.read(inS__); - es = new Ice.Optional<Test.MyEnum[]>(tmpValue__); - } - if(inS__.readOptional(20, Ice.OptionalFormat.VSize)) - { - inS__.skipSize(); - Test.FixedStruct[] tmpValue__; - tmpValue__ = Test.FixedStructSeqHelper.read(inS__); - fss = new Ice.Optional<Test.FixedStruct[]>(tmpValue__); - } - if(inS__.readOptional(21, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - Test.VarStruct[] tmpValue__; - tmpValue__ = Test.VarStructSeqHelper.read(inS__); - vss = new Ice.Optional<Test.VarStruct[]>(tmpValue__); - } - if(inS__.readOptional(22, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - Test.OneOptional[] tmpValue__; - tmpValue__ = Test.OneOptionalSeqHelper.read(inS__); - oos = new Ice.Optional<Test.OneOptional[]>(tmpValue__); - } - if(inS__.readOptional(23, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - Test.OneOptionalPrx[] tmpValue__; - tmpValue__ = Test.OneOptionalPrxSeqHelper.read(inS__); - oops = new Ice.Optional<Test.OneOptionalPrx[]>(tmpValue__); - } - if(inS__.readOptional(24, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - _System.Collections.Generic.Dictionary<int, Test.MyEnum> tmpValue__; - tmpValue__ = Test.IntEnumDictHelper.read(inS__); - ied = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.MyEnum>>(tmpValue__); - } - if(inS__.readOptional(25, Ice.OptionalFormat.VSize)) - { - inS__.skipSize(); - _System.Collections.Generic.Dictionary<int, Test.FixedStruct> tmpValue__; - tmpValue__ = Test.IntFixedStructDictHelper.read(inS__); - ifsd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.FixedStruct>>(tmpValue__); - } - if(inS__.readOptional(26, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - _System.Collections.Generic.Dictionary<int, Test.VarStruct> tmpValue__; - tmpValue__ = Test.IntVarStructDictHelper.read(inS__); - ivsd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.VarStruct>>(tmpValue__); - } - if(inS__.readOptional(27, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - _System.Collections.Generic.Dictionary<int, Test.OneOptional> tmpValue__; - tmpValue__ = Test.IntOneOptionalDictHelper.read(inS__); - iood = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptional>>(tmpValue__); - } - if(inS__.readOptional(28, Ice.OptionalFormat.FSize)) - { - inS__.skip(4); - _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx> tmpValue__; - tmpValue__ = Test.IntOneOptionalPrxDictHelper.read(inS__); - ioopd = new Ice.Optional<_System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>>(tmpValue__); - } - if(inS__.readOptional(29, Ice.OptionalFormat.VSize)) - { - bool[] tmpValue__; - tmpValue__ = Test.BoolSeqHelper.read(inS__); - bos = new Ice.Optional<bool[]>(tmpValue__); - } - if(inS__.readOptional(30, Ice.OptionalFormat.VSize)) - { - byte[] tmpValue__; - tmpValue__ = Test.SerializableHelper.read(inS__); - ser = new Ice.Optional<byte[]>(tmpValue__); - } - inS__.endSlice(); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class AHelper - { - public AHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.A>("::Test::A"); - } - - public static void write(Ice.OutputStream outS__, A v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.A value - { - get - { - return (Test.A)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.A> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class A : Ice.ObjectImpl - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public int requiredA; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> ma; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> mb; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> mc; - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public A() - { - this.ma = new Ice.Optional<int>(); - this.mb = new Ice.Optional<int>(); - this.mc = new Ice.Optional<int>(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public A(int requiredA, Ice.Optional<int> ma, Ice.Optional<int> mb, Ice.Optional<int> mc) - { - this.requiredA = requiredA; - this.ma = ma; - this.mb = mb; - this.mc = mc; - } - - #endregion - - #region Slice type-related members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::A" - }; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids() - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id() - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id(Ice.Current current__) - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Operation dispatch - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), true); - os__.writeInt(requiredA); - os__.writeInt(1, ma); - os__.writeInt(50, mb); - os__.writeInt(500, mc); - os__.endWriteSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - requiredA = is__.readInt(); - ma = is__.readInt(1); - mb = is__.readInt(50); - mc = is__.readInt(500); - is__.endReadSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), true); - outS__.writeInt(requiredA); - if(ma.HasValue && outS__.writeOptional(1, Ice.OptionalFormat.F4)) - { - outS__.writeInt(ma.Value); - } - if(mb.HasValue && outS__.writeOptional(50, Ice.OptionalFormat.F4)) - { - outS__.writeInt(mb.Value); - } - if(mc.HasValue && outS__.writeOptional(500, Ice.OptionalFormat.F4)) - { - outS__.writeInt(mc.Value); - } - outS__.endSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - requiredA = inS__.readInt(); - if(inS__.readOptional(1, Ice.OptionalFormat.F4)) - { - int tmpValue__; - tmpValue__ = inS__.readInt(); - ma = new Ice.Optional<int>(tmpValue__); - } - if(inS__.readOptional(50, Ice.OptionalFormat.F4)) - { - int tmpValue__; - tmpValue__ = inS__.readInt(); - mb = new Ice.Optional<int>(tmpValue__); - } - if(inS__.readOptional(500, Ice.OptionalFormat.F4)) - { - int tmpValue__; - tmpValue__ = inS__.readInt(); - mc = new Ice.Optional<int>(tmpValue__); - } - inS__.endSlice(); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class BHelper - { - public BHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.B>("::Test::B"); - } - - public static void write(Ice.OutputStream outS__, B v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.B value - { - get - { - return (Test.B)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.B> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class B : Test.A - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public int requiredB; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> md; - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public B() : base() - { - this.md = new Ice.Optional<int>(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public B(int requiredA, Ice.Optional<int> ma, Ice.Optional<int> mb, Ice.Optional<int> mc, int requiredB, Ice.Optional<int> md) : base(requiredA, ma, mb, mc) - { - this.requiredB = requiredB; - this.md = md; - } - - #endregion - - #region Slice type-related members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::A", - "::Test::B" - }; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids() - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id() - { - return ids__[2]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id(Ice.Current current__) - { - return ids__[2]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new string ice_staticId() - { - return ids__[2]; - } - - #endregion - - #region Operation dispatch - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override void write__(IceInternal.BasicStream os__) - { - os__.startWriteObject(slicedData__); - writeImpl__(os__); - os__.endWriteObject(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override void read__(IceInternal.BasicStream is__) - { - is__.startReadObject(); - readImpl__(is__); - slicedData__ = is__.endReadObject(true); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override void write__(Ice.OutputStream outS__) - { - outS__.startObject(slicedData__); - writeImpl__(outS__); - outS__.endObject(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override void read__(Ice.InputStream inS__) - { - inS__.startObject(); - readImpl__(inS__); - slicedData__ = inS__.endObject(true); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), false); - os__.writeInt(requiredB); - os__.writeInt(10, md); - os__.endWriteSlice(); - base.writeImpl__(os__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - requiredB = is__.readInt(); - md = is__.readInt(10); - is__.endReadSlice(); - base.readImpl__(is__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), false); - outS__.writeInt(requiredB); - if(md.HasValue && outS__.writeOptional(10, Ice.OptionalFormat.F4)) - { - outS__.writeInt(md.Value); - } - outS__.endSlice(); - base.writeImpl__(outS__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - requiredB = inS__.readInt(); - if(inS__.readOptional(10, Ice.OptionalFormat.F4)) - { - int tmpValue__; - tmpValue__ = inS__.readInt(); - md = new Ice.Optional<int>(tmpValue__); - } - inS__.endSlice(); - base.readImpl__(inS__); - } - - protected Ice.SlicedData slicedData__; - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class CHelper - { - public CHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.C>("::Test::C"); - } - - public static void write(Ice.OutputStream outS__, C v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.C value - { - get - { - return (Test.C)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.C> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class C : Test.B - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public string ss; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<string> ms; - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public C() : base() - { - this.ms = new Ice.Optional<string>(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public C(int requiredA, Ice.Optional<int> ma, Ice.Optional<int> mb, Ice.Optional<int> mc, int requiredB, Ice.Optional<int> md, string ss, Ice.Optional<string> ms) : base(requiredA, ma, mb, mc, requiredB, md) - { - this.ss = ss; - this.ms = ms; - } - - #endregion - - #region Slice type-related members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::A", - "::Test::B", - "::Test::C" - }; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids() - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id() - { - return ids__[3]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id(Ice.Current current__) - { - return ids__[3]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new string ice_staticId() - { - return ids__[3]; - } - - #endregion - - #region Operation dispatch - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), false); - os__.writeString(ss); - os__.writeString(890, ms); - os__.endWriteSlice(); - base.writeImpl__(os__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - ss = is__.readString(); - ms = is__.readString(890); - is__.endReadSlice(); - base.readImpl__(is__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), false); - outS__.writeString(ss); - if(ms.HasValue && outS__.writeOptional(890, Ice.OptionalFormat.VSize)) - { - outS__.writeString(ms.Value); - } - outS__.endSlice(); - base.writeImpl__(outS__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - ss = inS__.readString(); - if(inS__.readOptional(890, Ice.OptionalFormat.VSize)) - { - string tmpValue__; - tmpValue__ = inS__.readString(); - ms = new Ice.Optional<string>(tmpValue__); - } - inS__.endSlice(); - base.readImpl__(inS__); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class WDHelper - { - public WDHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.WD>("::Test::WD"); - } - - public static void write(Ice.OutputStream outS__, WD v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.WD value - { - get - { - return (Test.WD)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.WD> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class WD : Ice.ObjectImpl - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> a; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<string> s; - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public WD() - { - this.a = 5; - this.s = "test"; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public WD(Ice.Optional<int> a, Ice.Optional<string> s) - { - this.a = a; - this.s = s; - } - - #endregion - - #region Slice type-related members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::WD" - }; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids() - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id() - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id(Ice.Current current__) - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Operation dispatch - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), true); - os__.writeInt(1, a); - os__.writeString(2, s); - os__.endWriteSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - a = is__.readInt(1); - s = is__.readString(2); - is__.endReadSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), true); - if(a.HasValue && outS__.writeOptional(1, Ice.OptionalFormat.F4)) - { - outS__.writeInt(a.Value); - } - if(s.HasValue && outS__.writeOptional(2, Ice.OptionalFormat.VSize)) - { - outS__.writeString(s.Value); - } - outS__.endSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - if(inS__.readOptional(1, Ice.OptionalFormat.F4)) - { - int tmpValue__; - tmpValue__ = inS__.readInt(); - a = new Ice.Optional<int>(tmpValue__); - } - if(inS__.readOptional(2, Ice.OptionalFormat.VSize)) - { - string tmpValue__; - tmpValue__ = inS__.readString(); - s = new Ice.Optional<string>(tmpValue__); - } - inS__.endSlice(); - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class OptionalException : Ice.UserException - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public bool req; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> a; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<string> b; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.OneOptional> o; - - #endregion - - #region Constructors - - private void initDM__() - { - this.req = false; - this.a = 5; - this.b = new Ice.Optional<string>(); - this.o = new Ice.Optional<Test.OneOptional>(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public OptionalException() - { - initDM__(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public OptionalException(_System.Exception ex__) : base(ex__) - { - initDM__(); - } - - private void initDM__(bool req, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - this.req = req; - this.a = a; - this.b = b; - this.o = o; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public OptionalException(bool req, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - initDM__(req, a, b, o); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public OptionalException(bool req, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Exception ex__) : base(ex__) - { - initDM__(req, a, b, o); - } - - #endregion - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_name() - { - return "Test::OptionalException"; - } - - #region Object members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override int GetHashCode() - { - int h__ = 5381; - IceInternal.HashUtil.hashAdd(ref h__, "::Test::OptionalException"); - IceInternal.HashUtil.hashAdd(ref h__, req); - IceInternal.HashUtil.hashAdd(ref h__, a.Value); - IceInternal.HashUtil.hashAdd(ref h__, b.Value); - IceInternal.HashUtil.hashAdd(ref h__, o.Value); - return h__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool Equals(object other__) - { - if(other__ == null) - { - return false; - } - if(object.ReferenceEquals(this, other__)) - { - return true; - } - OptionalException o__ = other__ as OptionalException; - if(o__ == null) - { - return false; - } - if(!req.Equals(o__.req)) - { - return false; - } - if(!a.Equals(o__.a)) - { - return false; - } - if(!b.Equals(o__.b)) - { - return false; - } - if(!o.Equals(o__.o)) - { - return false; - } - return true; - } - - #endregion - - #region Comparison members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator==(OptionalException lhs__, OptionalException rhs__) - { - return Equals(lhs__, rhs__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator!=(OptionalException lhs__, OptionalException rhs__) - { - return !Equals(lhs__, rhs__); - } - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice("::Test::OptionalException", true); - os__.writeBool(req); - os__.writeInt(1, a); - os__.writeString(2, b); - os__.writeObject(50, o); - os__.endWriteSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class Patcher__ : IceInternal.Patcher - { - internal Patcher__(string type, Ice.Exception instance) : base(type) - { - _instance = (OptionalException)instance; - } - - public override void patch(Ice.Object v) - { - try - { - _instance.o = new Ice.Optional<Test.OneOptional>((Test.OneOptional)v); - } - catch(_System.InvalidCastException) - { - IceInternal.Ex.throwUOE(type(), v.ice_id()); - } - } - - private OptionalException _instance; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - req = is__.readBool(); - a = is__.readInt(1); - b = is__.readString(2); - is__.readObject(50, new Patcher__(Test.OneOptional.ice_staticId(), this)); - is__.endReadSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice("::Test::OptionalException", true); - outS__.writeBool(req); - if(a.HasValue && outS__.writeOptional(1, Ice.OptionalFormat.F4)) - { - outS__.writeInt(a.Value); - } - if(b.HasValue && outS__.writeOptional(2, Ice.OptionalFormat.VSize)) - { - outS__.writeString(b.Value); - } - if(o.HasValue && outS__.writeOptional(50, Ice.OptionalFormat.Size)) - { - outS__.writeObject(o.Value); - } - outS__.endSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - req = inS__.readBool(); - if(inS__.readOptional(1, Ice.OptionalFormat.F4)) - { - int tmpValue__; - tmpValue__ = inS__.readInt(); - a = new Ice.Optional<int>(tmpValue__); - } - if(inS__.readOptional(2, Ice.OptionalFormat.VSize)) - { - string tmpValue__; - tmpValue__ = inS__.readString(); - b = new Ice.Optional<string>(tmpValue__); - } - if(inS__.readOptional(50, Ice.OptionalFormat.Size)) - { - inS__.readObject(new Patcher__(Test.OneOptional.ice_staticId(), this)); - } - inS__.endSlice(); - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class DerivedException : Test.OptionalException - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<string> ss; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.OneOptional> o2; - - #endregion - - #region Constructors - - private void initDM__() - { - this.ss = "test"; - this.o2 = new Ice.Optional<Test.OneOptional>(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public DerivedException() - { - initDM__(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public DerivedException(_System.Exception ex__) : base(ex__) - { - initDM__(); - } - - private void initDM__(Ice.Optional<string> ss, Ice.Optional<Test.OneOptional> o2) - { - this.ss = ss; - this.o2 = o2; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public DerivedException(bool req, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.Optional<string> ss, Ice.Optional<Test.OneOptional> o2) : base(req, a, b, o) - { - initDM__(ss, o2); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public DerivedException(bool req, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.Optional<string> ss, Ice.Optional<Test.OneOptional> o2, _System.Exception ex__) : base(req, a, b, o, ex__) - { - initDM__(ss, o2); - } - - #endregion - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_name() - { - return "Test::DerivedException"; - } - - #region Object members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override int GetHashCode() - { - int h__ = base.GetHashCode(); - IceInternal.HashUtil.hashAdd(ref h__, "::Test::DerivedException"); - IceInternal.HashUtil.hashAdd(ref h__, ss.Value); - IceInternal.HashUtil.hashAdd(ref h__, o2.Value); - return h__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool Equals(object other__) - { - if(other__ == null) - { - return false; - } - if(object.ReferenceEquals(this, other__)) - { - return true; - } - DerivedException o__ = other__ as DerivedException; - if(o__ == null) - { - return false; - } - if(!base.Equals(other__)) - { - return false; - } - if(!ss.Equals(o__.ss)) - { - return false; - } - if(!o2.Equals(o__.o2)) - { - return false; - } - return true; - } - - #endregion - - #region Comparison members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator==(DerivedException lhs__, DerivedException rhs__) - { - return Equals(lhs__, rhs__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator!=(DerivedException lhs__, DerivedException rhs__) - { - return !Equals(lhs__, rhs__); - } - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice("::Test::DerivedException", false); - os__.writeString(600, ss); - os__.writeObject(601, o2); - os__.endWriteSlice(); - base.writeImpl__(os__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed new class Patcher__ : IceInternal.Patcher - { - internal Patcher__(string type, Ice.Exception instance, int member) : base(type) - { - _instance = (DerivedException)instance; - _member = member; - } - - public override void patch(Ice.Object v) - { - try - { - switch(_member) - { - case 0: - _instance.o = new Ice.Optional<Test.OneOptional>((Test.OneOptional)v); - break; - case 1: - _instance.o2 = new Ice.Optional<Test.OneOptional>((Test.OneOptional)v); - break; - } - } - catch(_System.InvalidCastException) - { - IceInternal.Ex.throwUOE(type(), v.ice_id()); - } - } - - private DerivedException _instance; - private int _member; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - ss = is__.readString(600); - is__.readObject(601, new Patcher__(Test.OneOptional.ice_staticId(), this, 1)); - is__.endReadSlice(); - base.readImpl__(is__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice("::Test::DerivedException", false); - if(ss.HasValue && outS__.writeOptional(600, Ice.OptionalFormat.VSize)) - { - outS__.writeString(ss.Value); - } - if(o2.HasValue && outS__.writeOptional(601, Ice.OptionalFormat.Size)) - { - outS__.writeObject(o2.Value); - } - outS__.endSlice(); - base.writeImpl__(outS__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - if(inS__.readOptional(600, Ice.OptionalFormat.VSize)) - { - string tmpValue__; - tmpValue__ = inS__.readString(); - ss = new Ice.Optional<string>(tmpValue__); - } - if(inS__.readOptional(601, Ice.OptionalFormat.Size)) - { - inS__.readObject(new Patcher__(Test.OneOptional.ice_staticId(), this, 1)); - } - inS__.endSlice(); - base.readImpl__(inS__); - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class RequiredException : Test.OptionalException - { - #region Slice data members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public string ss; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Test.OneOptional o2; - - #endregion - - #region Constructors - - private void initDM__() - { - this.ss = "test"; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public RequiredException() - { - initDM__(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public RequiredException(_System.Exception ex__) : base(ex__) - { - initDM__(); - } - - private void initDM__(string ss, Test.OneOptional o2) - { - this.ss = ss; - this.o2 = o2; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public RequiredException(bool req, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, string ss, Test.OneOptional o2) : base(req, a, b, o) - { - initDM__(ss, o2); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public RequiredException(bool req, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, string ss, Test.OneOptional o2, _System.Exception ex__) : base(req, a, b, o, ex__) - { - initDM__(ss, o2); - } - - #endregion - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_name() - { - return "Test::RequiredException"; - } - - #region Object members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override int GetHashCode() - { - int h__ = base.GetHashCode(); - IceInternal.HashUtil.hashAdd(ref h__, "::Test::RequiredException"); - IceInternal.HashUtil.hashAdd(ref h__, ss); - IceInternal.HashUtil.hashAdd(ref h__, o2); - return h__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool Equals(object other__) - { - if(other__ == null) - { - return false; - } - if(object.ReferenceEquals(this, other__)) - { - return true; - } - RequiredException o__ = other__ as RequiredException; - if(o__ == null) - { - return false; - } - if(!base.Equals(other__)) - { - return false; - } - if(ss == null) - { - if(o__.ss != null) - { - return false; - } - } - else - { - if(!ss.Equals(o__.ss)) - { - return false; - } - } - if(o2 == null) - { - if(o__.o2 != null) - { - return false; - } - } - else - { - if(!o2.Equals(o__.o2)) - { - return false; - } - } - return true; - } - - #endregion - - #region Comparison members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator==(RequiredException lhs__, RequiredException rhs__) - { - return Equals(lhs__, rhs__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static bool operator!=(RequiredException lhs__, RequiredException rhs__) - { - return !Equals(lhs__, rhs__); - } - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice("::Test::RequiredException", false); - os__.writeString(ss); - os__.writeObject(o2); - os__.endWriteSlice(); - base.writeImpl__(os__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed new class Patcher__ : IceInternal.Patcher - { - internal Patcher__(string type, Ice.Exception instance, int member) : base(type) - { - _instance = (RequiredException)instance; - _member = member; - } - - public override void patch(Ice.Object v) - { - try - { - switch(_member) - { - case 0: - _instance.o = new Ice.Optional<Test.OneOptional>((Test.OneOptional)v); - break; - case 1: - _instance.o2 = (Test.OneOptional)v; - break; - } - } - catch(_System.InvalidCastException) - { - IceInternal.Ex.throwUOE(type(), v.ice_id()); - } - } - - private RequiredException _instance; - private int _member; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - ss = is__.readString(); - is__.readObject(new Patcher__(Test.OneOptional.ice_staticId(), this, 1)); - is__.endReadSlice(); - base.readImpl__(is__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice("::Test::RequiredException", false); - outS__.writeString(ss); - outS__.writeObject(o2); - outS__.endSlice(); - base.writeImpl__(outS__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - ss = inS__.readString(); - inS__.readObject(new Patcher__(Test.OneOptional.ice_staticId(), this, 1)); - inS__.endSlice(); - base.readImpl__(inS__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool usesClasses__() - { - return true; - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OptionalWithCustomHelper - { - public OptionalWithCustomHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.OptionalWithCustom>("::Test::OptionalWithCustom"); - } - - public static void write(Ice.OutputStream outS__, OptionalWithCustom v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.OptionalWithCustom value - { - get - { - return (Test.OptionalWithCustom)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.OptionalWithCustom> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - public partial class OptionalWithCustom : Ice.ObjectImpl - { - #region Slice data members - - private Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> l__prop; - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public virtual Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> l - { - get - { - return l__prop; - } - set - { - l__prop = value; - } - } - - private Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> lp__prop; - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected virtual Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> lp - { - get - { - return lp__prop; - } - set - { - lp__prop = value; - } - } - - private Ice.Optional<Test.ClassVarStruct> s__prop; - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public virtual Ice.Optional<Test.ClassVarStruct> s - { - get - { - return s__prop; - } - set - { - s__prop = value; - } - } - - #endregion - - #region Constructors - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public OptionalWithCustom() - { - this.l = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - this.lp = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - this.s = new Ice.Optional<Test.ClassVarStruct>(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public OptionalWithCustom(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> l, Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> lp, Ice.Optional<Test.ClassVarStruct> s) - { - this.l__prop = l; - this.lp__prop = lp; - this.s__prop = s; - } - - #endregion - - #region Slice type-related members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::OptionalWithCustom" - }; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids() - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id() - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id(Ice.Current current__) - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Operation dispatch - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), true); - if(l__prop.HasValue && os__.writeOpt(1, Ice.OptionalFormat.VSize)) - { - Test.SmallStructListHelper.write(os__, l__prop.Value); - } - if(lp__prop.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - Test.SmallStructListHelper.write(os__, lp__prop.Value); - } - if(s__prop.HasValue && os__.writeOpt(3, Ice.OptionalFormat.VSize)) - { - os__.writeSize(4); - if(s__prop.Value == null) - { - Test.ClassVarStruct tmp__ = new Test.ClassVarStruct(); - tmp__.write__(os__); - } - else - { - s__prop.Value.write__(os__); - } - } - os__.endWriteSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - _System.Collections.Generic.List<Test.SmallStruct> tmpVal__; - tmpVal__ = Test.SmallStructListHelper.read(is__); - l__prop = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpVal__); - } - else - { - l__prop = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - } - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - _System.Collections.Generic.List<Test.SmallStruct> tmpVal__; - tmpVal__ = Test.SmallStructListHelper.read(is__); - lp__prop = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpVal__); - } - else - { - lp__prop = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.ClassVarStruct tmpVal__ = null; - if(tmpVal__ == null) - { - tmpVal__ = new Test.ClassVarStruct(); - } - tmpVal__.read__(is__); - s__prop = new Ice.Optional<Test.ClassVarStruct>(tmpVal__); - } - else - { - s__prop = new Ice.Optional<Test.ClassVarStruct>(); - } - is__.endReadSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), true); - if(l__prop.HasValue && outS__.writeOptional(1, Ice.OptionalFormat.VSize)) - { - outS__.writeSize(l__prop.Value == null ? 1 : l__prop.Value.Count * 1 + (l__prop.Value.Count > 254 ? 5 : 1)); - Test.SmallStructListHelper.write(outS__, l__prop.Value); - } - if(lp__prop.HasValue && outS__.writeOptional(2, Ice.OptionalFormat.VSize)) - { - outS__.writeSize(lp__prop.Value == null ? 1 : lp__prop.Value.Count * 1 + (lp__prop.Value.Count > 254 ? 5 : 1)); - Test.SmallStructListHelper.write(outS__, lp__prop.Value); - } - if(s__prop.HasValue && outS__.writeOptional(3, Ice.OptionalFormat.VSize)) - { - outS__.writeSize(4); - if(s__prop.Value == null) - { - Test.ClassVarStruct tmp__ = new Test.ClassVarStruct(); - tmp__.ice_write(outS__); - } - else - { - s__prop.Value.ice_write(outS__); - } - } - outS__.endSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - if(inS__.readOptional(1, Ice.OptionalFormat.VSize)) - { - inS__.skipSize(); - _System.Collections.Generic.List<Test.SmallStruct> tmpValue__; - tmpValue__ = Test.SmallStructListHelper.read(inS__); - l__prop = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpValue__); - } - if(inS__.readOptional(2, Ice.OptionalFormat.VSize)) - { - inS__.skipSize(); - _System.Collections.Generic.List<Test.SmallStruct> tmpValue__; - tmpValue__ = Test.SmallStructListHelper.read(inS__); - lp__prop = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpValue__); - } - if(inS__.readOptional(3, Ice.OptionalFormat.VSize)) - { - inS__.skipSize(); - Test.ClassVarStruct tmpValue__ = null; - if(tmpValue__ == null) - { - tmpValue__ = new Test.ClassVarStruct(); - } - tmpValue__.ice_read(inS__); - s__prop = new Ice.Optional<Test.ClassVarStruct>(tmpValue__); - } - inS__.endSlice(); - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class InitialHelper - { - public InitialHelper(Ice.InputStream inS__) - { - _in = inS__; - _pp = new IceInternal.ParamPatcher<Test.Initial>("::Test::Initial"); - } - - public static void write(Ice.OutputStream outS__, Initial v__) - { - outS__.writeObject(v__); - } - - public void read() - { - _in.readObject(_pp); - } - - public Test.Initial value - { - get - { - return (Test.Initial)_pp.value; - } - } - - private Ice.InputStream _in; - private IceInternal.ParamPatcher<Test.Initial> _pp; - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")] - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1012")] - public abstract partial class Initial : Ice.ObjectImpl, InitialOperations_, InitialOperationsNC_ - { - #region Slice operations - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void shutdown() - { - shutdown(Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract void shutdown(Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Object pingPong(Ice.Object o) - { - return pingPong(o, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Object pingPong(Ice.Object o, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - opOptionalException(a, b, o, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - opDerivedException(a, b, o, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - opRequiredException(a, b, o, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3) - { - return opByte(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3) - { - return opBool(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3) - { - return opShort(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3) - { - return opInt(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3) - { - return opLong(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3) - { - return opFloat(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3) - { - return opDouble(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3) - { - return opString(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3) - { - return opMyEnum(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3) - { - return opSmallStruct(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3) - { - return opFixedStruct(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3) - { - return opVarStruct(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3) - { - return opOneOptional(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3) - { - return opOneOptionalProxy(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3) - { - return opByteSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3) - { - return opBoolSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3) - { - return opShortSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3) - { - return opIntSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3) - { - return opLongSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3) - { - return opFloatSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3) - { - return opDoubleSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3) - { - return opStringSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3) - { - return opSmallStructSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3) - { - return opSmallStructList(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3) - { - return opFixedStructSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3) - { - return opFixedStructList(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3) - { - return opVarStructSeq(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3) - { - return opSerializable(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3) - { - return opIntIntDict(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3) - { - return opStringIntDict(p1, out p3, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void opClassAndUnknownOptional(Test.A p) - { - opClassAndUnknownOptional(p, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract void opClassAndUnknownOptional(Test.A p, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o) - { - sendOptionalClass(req, o, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o) - { - returnOptionalClass(req, out o, Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public bool supportsRequiredParams() - { - return supportsRequiredParams(Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract bool supportsRequiredParams(Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public bool supportsJavaSerializable() - { - return supportsJavaSerializable(Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract bool supportsJavaSerializable(Ice.Current current__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public bool supportsCsharpSerializable() - { - return supportsCsharpSerializable(Ice.ObjectImpl.defaultCurrent); - } - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract bool supportsCsharpSerializable(Ice.Current current__); - - #endregion - - #region Slice type-related members - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new readonly string[] ids__ = - { - "::Ice::Object", - "::Test::Initial" - }; - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override bool ice_isA(string s, Ice.Current current__) - { - return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids() - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string[] ice_ids(Ice.Current current__) - { - return ids__; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id() - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public override string ice_id(Ice.Current current__) - { - return ids__[1]; - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static new string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Operation dispatch - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus shutdown___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - inS__.readEmptyParams(); - obj__.shutdown(current__); - inS__.writeEmptyParams__(); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus pingPong___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - IceInternal.ParamPatcher<Ice.Object> o__PP = new IceInternal.ParamPatcher<Ice.Object>(Ice.ObjectImpl.ice_staticId()); - is__.readObject(o__PP); - is__.readPendingObjects(); - inS__.endReadParams(); - Ice.Object ret__ = obj__.pingPong(o__PP.value, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeObject(ret__); - os__.writePendingObjects(); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opOptionalException___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<int> a; - Ice.Optional<string> b; - Ice.OptionalPatcher<Test.OneOptional> o__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - a = is__.readInt(1); - b = is__.readString(2); - is__.readObject(3, o__PP); - inS__.endReadParams(); - try - { - obj__.opOptionalException(a, b, o__PP.value, current__); - inS__.writeEmptyParams__(); - return Ice.DispatchStatus.DispatchOK; - } - catch(Test.OptionalException ex__) - { - inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat); - return Ice.DispatchStatus.DispatchUserException; - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opDerivedException___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<int> a; - Ice.Optional<string> b; - Ice.OptionalPatcher<Test.OneOptional> o__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - a = is__.readInt(1); - b = is__.readString(2); - is__.readObject(3, o__PP); - inS__.endReadParams(); - try - { - obj__.opDerivedException(a, b, o__PP.value, current__); - inS__.writeEmptyParams__(); - return Ice.DispatchStatus.DispatchOK; - } - catch(Test.OptionalException ex__) - { - inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat); - return Ice.DispatchStatus.DispatchUserException; - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opRequiredException___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<int> a; - Ice.Optional<string> b; - Ice.OptionalPatcher<Test.OneOptional> o__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - a = is__.readInt(1); - b = is__.readString(2); - is__.readObject(3, o__PP); - inS__.endReadParams(); - try - { - obj__.opRequiredException(a, b, o__PP.value, current__); - inS__.writeEmptyParams__(); - return Ice.DispatchStatus.DispatchOK; - } - catch(Test.OptionalException ex__) - { - inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat); - return Ice.DispatchStatus.DispatchUserException; - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opByte___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<byte> p1; - p1 = is__.readByte(2); - inS__.endReadParams(); - Ice.Optional<byte> p3; - Ice.Optional<byte> ret__ = obj__.opByte(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeByte(1, ret__); - os__.writeByte(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opBool___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<bool> p1; - p1 = is__.readBool(2); - inS__.endReadParams(); - Ice.Optional<bool> p3; - Ice.Optional<bool> ret__ = obj__.opBool(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBool(1, ret__); - os__.writeBool(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opShort___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<short> p1; - p1 = is__.readShort(2); - inS__.endReadParams(); - Ice.Optional<short> p3; - Ice.Optional<short> ret__ = obj__.opShort(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeShort(1, ret__); - os__.writeShort(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opInt___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<int> p1; - p1 = is__.readInt(2); - inS__.endReadParams(); - Ice.Optional<int> p3; - Ice.Optional<int> ret__ = obj__.opInt(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeInt(1, ret__); - os__.writeInt(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opLong___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<long> p1; - p1 = is__.readLong(1); - inS__.endReadParams(); - Ice.Optional<long> p3; - Ice.Optional<long> ret__ = obj__.opLong(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeLong(2, p3); - os__.writeLong(3, ret__); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opFloat___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<float> p1; - p1 = is__.readFloat(2); - inS__.endReadParams(); - Ice.Optional<float> p3; - Ice.Optional<float> ret__ = obj__.opFloat(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeFloat(1, ret__); - os__.writeFloat(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opDouble___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<double> p1; - p1 = is__.readDouble(2); - inS__.endReadParams(); - Ice.Optional<double> p3; - Ice.Optional<double> ret__ = obj__.opDouble(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeDouble(1, ret__); - os__.writeDouble(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opString___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<string> p1; - p1 = is__.readString(2); - inS__.endReadParams(); - Ice.Optional<string> p3; - Ice.Optional<string> ret__ = obj__.opString(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeString(1, ret__); - os__.writeString(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opMyEnum___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<Test.MyEnum> p1; - if(is__.readOpt(2, Ice.OptionalFormat.Size)) - { - Test.MyEnum tmpVal__; - tmpVal__ = (Test.MyEnum)is__.readEnum(0); - p1 = new Ice.Optional<Test.MyEnum>(tmpVal__); - } - else - { - p1 = new Ice.Optional<Test.MyEnum>(); - } - inS__.endReadParams(); - Ice.Optional<Test.MyEnum> p3; - Ice.Optional<Test.MyEnum> ret__ = obj__.opMyEnum(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue) - { - os__.writeEnum(1, (int)ret__.Value, 1); - } - if(p3.HasValue) - { - os__.writeEnum(3, (int)p3.Value, 1); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opSmallStruct___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<Test.SmallStruct> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.SmallStruct tmpVal__ = new Test.SmallStruct(); - tmpVal__.read__(is__); - p1 = new Ice.Optional<Test.SmallStruct>(tmpVal__); - } - else - { - p1 = new Ice.Optional<Test.SmallStruct>(); - } - inS__.endReadParams(); - Ice.Optional<Test.SmallStruct> p3; - Ice.Optional<Test.SmallStruct> ret__ = obj__.opSmallStruct(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.VSize)) - { - os__.writeSize(1); - ret__.Value.write__(os__); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.VSize)) - { - os__.writeSize(1); - p3.Value.write__(os__); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opFixedStruct___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<Test.FixedStruct> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct tmpVal__ = new Test.FixedStruct(); - tmpVal__.read__(is__); - p1 = new Ice.Optional<Test.FixedStruct>(tmpVal__); - } - else - { - p1 = new Ice.Optional<Test.FixedStruct>(); - } - inS__.endReadParams(); - Ice.Optional<Test.FixedStruct> p3; - Ice.Optional<Test.FixedStruct> ret__ = obj__.opFixedStruct(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.VSize)) - { - os__.writeSize(4); - ret__.Value.write__(os__); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.VSize)) - { - os__.writeSize(4); - p3.Value.write__(os__); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opVarStruct___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<Test.VarStruct> p1; - if(is__.readOpt(2, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct tmpVal__ = null; - if(tmpVal__ == null) - { - tmpVal__ = new Test.VarStruct(); - } - tmpVal__.read__(is__); - p1 = new Ice.Optional<Test.VarStruct>(tmpVal__); - } - else - { - p1 = new Ice.Optional<Test.VarStruct>(); - } - inS__.endReadParams(); - Ice.Optional<Test.VarStruct> p3; - Ice.Optional<Test.VarStruct> ret__ = obj__.opVarStruct(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - if(ret__.Value == null) - { - Test.VarStruct tmp__ = new Test.VarStruct(); - tmp__.write__(os__); - } - else - { - ret__.Value.write__(os__); - } - os__.endSize(); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - if(p3.Value == null) - { - Test.VarStruct tmp__ = new Test.VarStruct(); - tmp__.write__(os__); - } - else - { - p3.Value.write__(os__); - } - os__.endSize(); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opOneOptional___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.OptionalPatcher<Test.OneOptional> p1__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - is__.readObject(2, p1__PP); - inS__.endReadParams(); - Ice.Optional<Test.OneOptional> p3; - Ice.Optional<Test.OneOptional> ret__ = obj__.opOneOptional(p1__PP.value, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeObject(1, ret__); - os__.writeObject(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opOneOptionalProxy___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<Test.OneOptionalPrx> p1; - if(is__.readOpt(2, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.OneOptionalPrx tmpVal__; - tmpVal__ = Test.OneOptionalPrxHelper.read__(is__); - p1 = new Ice.Optional<Test.OneOptionalPrx>(tmpVal__); - } - else - { - p1 = new Ice.Optional<Test.OneOptionalPrx>(); - } - inS__.endReadParams(); - Ice.Optional<Test.OneOptionalPrx> p3; - Ice.Optional<Test.OneOptionalPrx> ret__ = obj__.opOneOptionalProxy(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.OneOptionalPrxHelper.write__(os__, ret__.Value); - os__.endSize(); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.OneOptionalPrxHelper.write__(os__, p3.Value); - os__.endSize(); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opByteSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<byte[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.ByteSeqHelper.read(is__); - p1 = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<byte[]>(); - } - inS__.endReadParams(); - Ice.Optional<byte[]> p3; - Ice.Optional<byte[]> ret__ = obj__.opByteSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeByteSeq(1, ret__); - os__.writeByteSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opBoolSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<bool[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - bool[] tmpVal__; - tmpVal__ = Test.BoolSeqHelper.read(is__); - p1 = new Ice.Optional<bool[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<bool[]>(); - } - inS__.endReadParams(); - Ice.Optional<bool[]> p3; - Ice.Optional<bool[]> ret__ = obj__.opBoolSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBoolSeq(1, ret__); - os__.writeBoolSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opShortSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<short[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - short[] tmpVal__; - tmpVal__ = Test.ShortSeqHelper.read(is__); - p1 = new Ice.Optional<short[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<short[]>(); - } - inS__.endReadParams(); - Ice.Optional<short[]> p3; - Ice.Optional<short[]> ret__ = obj__.opShortSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeShortSeq(1, ret__); - os__.writeShortSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opIntSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<int[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - int[] tmpVal__; - tmpVal__ = Test.IntSeqHelper.read(is__); - p1 = new Ice.Optional<int[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<int[]>(); - } - inS__.endReadParams(); - Ice.Optional<int[]> p3; - Ice.Optional<int[]> ret__ = obj__.opIntSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeIntSeq(1, ret__); - os__.writeIntSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opLongSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<long[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - long[] tmpVal__; - tmpVal__ = Test.LongSeqHelper.read(is__); - p1 = new Ice.Optional<long[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<long[]>(); - } - inS__.endReadParams(); - Ice.Optional<long[]> p3; - Ice.Optional<long[]> ret__ = obj__.opLongSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeLongSeq(1, ret__); - os__.writeLongSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opFloatSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<float[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - float[] tmpVal__; - tmpVal__ = Test.FloatSeqHelper.read(is__); - p1 = new Ice.Optional<float[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<float[]>(); - } - inS__.endReadParams(); - Ice.Optional<float[]> p3; - Ice.Optional<float[]> ret__ = obj__.opFloatSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeFloatSeq(1, ret__); - os__.writeFloatSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opDoubleSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<double[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - double[] tmpVal__; - tmpVal__ = Test.DoubleSeqHelper.read(is__); - p1 = new Ice.Optional<double[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<double[]>(); - } - inS__.endReadParams(); - Ice.Optional<double[]> p3; - Ice.Optional<double[]> ret__ = obj__.opDoubleSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeDoubleSeq(1, ret__); - os__.writeDoubleSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opStringSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<string[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - string[] tmpVal__; - tmpVal__ = Test.StringSeqHelper.read(is__); - p1 = new Ice.Optional<string[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<string[]>(); - } - inS__.endReadParams(); - Ice.Optional<string[]> p3; - Ice.Optional<string[]> ret__ = obj__.opStringSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeStringSeq(1, ret__); - os__.writeStringSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opSmallStructSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<Test.SmallStruct[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - Test.SmallStruct[] tmpVal__; - tmpVal__ = Test.SmallStructSeqHelper.read(is__); - p1 = new Ice.Optional<Test.SmallStruct[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<Test.SmallStruct[]>(); - } - inS__.endReadParams(); - Ice.Optional<Test.SmallStruct[]> p3; - Ice.Optional<Test.SmallStruct[]> ret__ = obj__.opSmallStructSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.VSize)) - { - Test.SmallStructSeqHelper.write(os__, ret__.Value); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.VSize)) - { - Test.SmallStructSeqHelper.write(os__, p3.Value); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opSmallStructList___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - _System.Collections.Generic.List<Test.SmallStruct> tmpVal__; - tmpVal__ = Test.SmallStructListHelper.read(is__); - p1 = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpVal__); - } - else - { - p1 = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - } - inS__.endReadParams(); - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3; - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> ret__ = obj__.opSmallStructList(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.VSize)) - { - Test.SmallStructListHelper.write(os__, ret__.Value); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.VSize)) - { - Test.SmallStructListHelper.write(os__, p3.Value); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opFixedStructSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<Test.FixedStruct[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct[] tmpVal__; - tmpVal__ = Test.FixedStructSeqHelper.read(is__); - p1 = new Ice.Optional<Test.FixedStruct[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<Test.FixedStruct[]>(); - } - inS__.endReadParams(); - Ice.Optional<Test.FixedStruct[]> p3; - Ice.Optional<Test.FixedStruct[]> ret__ = obj__.opFixedStructSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.VSize)) - { - os__.writeSize(ret__.Value == null ? 1 : ret__.Value.Length * 4 + (ret__.Value.Length > 254 ? 5 : 1)); - Test.FixedStructSeqHelper.write(os__, ret__.Value); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p3.Value == null ? 1 : p3.Value.Length * 4 + (p3.Value.Length > 254 ? 5 : 1)); - Test.FixedStructSeqHelper.write(os__, p3.Value); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opFixedStructList___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.LinkedList<Test.FixedStruct> tmpVal__; - tmpVal__ = Test.FixedStructListHelper.read(is__); - p1 = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(tmpVal__); - } - else - { - p1 = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(); - } - inS__.endReadParams(); - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3; - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> ret__ = obj__.opFixedStructList(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.VSize)) - { - os__.writeSize(ret__.Value == null ? 1 : ret__.Value.Count * 4 + (ret__.Value.Count > 254 ? 5 : 1)); - Test.FixedStructListHelper.write(os__, ret__.Value); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p3.Value == null ? 1 : p3.Value.Count * 4 + (p3.Value.Count > 254 ? 5 : 1)); - Test.FixedStructListHelper.write(os__, p3.Value); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opVarStructSeq___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<Test.VarStruct[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct[] tmpVal__; - tmpVal__ = Test.VarStructSeqHelper.read(is__); - p1 = new Ice.Optional<Test.VarStruct[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<Test.VarStruct[]>(); - } - inS__.endReadParams(); - Ice.Optional<Test.VarStruct[]> p3; - Ice.Optional<Test.VarStruct[]> ret__ = obj__.opVarStructSeq(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.VarStructSeqHelper.write(os__, ret__.Value); - os__.endSize(); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.VarStructSeqHelper.write(os__, p3.Value); - os__.endSize(); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opSerializable___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<byte[]> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.SerializableHelper.read(is__); - p1 = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - p1 = new Ice.Optional<byte[]>(); - } - inS__.endReadParams(); - Ice.Optional<byte[]> p3; - Ice.Optional<byte[]> ret__ = obj__.opSerializable(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeByteSeq(1, ret__); - os__.writeByteSeq(3, p3); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opIntIntDict___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1; - if(is__.readOpt(2, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.Dictionary<int, int> tmpVal__ = new _System.Collections.Generic.Dictionary<int, int>(); - tmpVal__ = Test.IntIntDictHelper.read(is__); - p1 = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(tmpVal__); - } - else - { - p1 = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - } - inS__.endReadParams(); - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3; - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> ret__ = obj__.opIntIntDict(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.VSize)) - { - os__.writeSize(ret__.Value == null ? 1 : ret__.Value.Count * 8 + (ret__.Value.Count > 254 ? 5 : 1)); - Test.IntIntDictHelper.write(os__, ret__.Value); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p3.Value == null ? 1 : p3.Value.Count * 8 + (p3.Value.Count > 254 ? 5 : 1)); - Test.IntIntDictHelper.write(os__, p3.Value); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opStringIntDict___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1; - if(is__.readOpt(2, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<string, int> tmpVal__ = new _System.Collections.Generic.Dictionary<string, int>(); - tmpVal__ = Test.StringIntDictHelper.read(is__); - p1 = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(tmpVal__); - } - else - { - p1 = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - } - inS__.endReadParams(); - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3; - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> ret__ = obj__.opStringIntDict(p1, out p3, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(ret__.HasValue && os__.writeOpt(1, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.StringIntDictHelper.write(os__, ret__.Value); - os__.endSize(); - } - if(p3.HasValue && os__.writeOpt(3, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.StringIntDictHelper.write(os__, p3.Value); - os__.endSize(); - } - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus opClassAndUnknownOptional___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - IceInternal.ParamPatcher<Test.A> p__PP = new IceInternal.ParamPatcher<Test.A>(Test.A.ice_staticId()); - is__.readObject(p__PP); - is__.readPendingObjects(); - inS__.endReadParams(); - obj__.opClassAndUnknownOptional(p__PP.value, current__); - inS__.writeEmptyParams__(); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus sendOptionalClass___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - bool req; - req = is__.readBool(); - Ice.OptionalPatcher<Test.OneOptional> o__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - is__.readObject(1, o__PP); - inS__.endReadParams(); - obj__.sendOptionalClass(req, o__PP.value, current__); - inS__.writeEmptyParams__(); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus returnOptionalClass___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - IceInternal.BasicStream is__ = inS__.startReadParams(); - bool req; - req = is__.readBool(); - inS__.endReadParams(); - Ice.Optional<Test.OneOptional> o; - obj__.returnOptionalClass(req, out o, current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeObject(1, o); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus supportsRequiredParams___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - inS__.readEmptyParams(); - bool ret__ = obj__.supportsRequiredParams(current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBool(ret__); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus supportsJavaSerializable___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - inS__.readEmptyParams(); - bool ret__ = obj__.supportsJavaSerializable(current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBool(ret__); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public static Ice.DispatchStatus supportsCsharpSerializable___(Initial obj__, IceInternal.Incoming inS__, Ice.Current current__) - { - checkMode__(Ice.OperationMode.Normal, current__.mode); - inS__.readEmptyParams(); - bool ret__ = obj__.supportsCsharpSerializable(current__); - IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBool(ret__); - inS__.endWriteParams__(true); - return Ice.DispatchStatus.DispatchOK; - } - - private static string[] all__ = - { - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "opBool", - "opBoolSeq", - "opByte", - "opByteSeq", - "opClassAndUnknownOptional", - "opDerivedException", - "opDouble", - "opDoubleSeq", - "opFixedStruct", - "opFixedStructList", - "opFixedStructSeq", - "opFloat", - "opFloatSeq", - "opInt", - "opIntIntDict", - "opIntSeq", - "opLong", - "opLongSeq", - "opMyEnum", - "opOneOptional", - "opOneOptionalProxy", - "opOptionalException", - "opRequiredException", - "opSerializable", - "opShort", - "opShortSeq", - "opSmallStruct", - "opSmallStructList", - "opSmallStructSeq", - "opString", - "opStringIntDict", - "opStringSeq", - "opVarStruct", - "opVarStructSeq", - "pingPong", - "returnOptionalClass", - "sendOptionalClass", - "shutdown", - "supportsCsharpSerializable", - "supportsJavaSerializable", - "supportsRequiredParams" - }; - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - - public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__) - { - int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer); - if(pos < 0) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - - switch(pos) - { - case 0: - { - return ice_id___(this, inS__, current__); - } - case 1: - { - return ice_ids___(this, inS__, current__); - } - case 2: - { - return ice_isA___(this, inS__, current__); - } - case 3: - { - return ice_ping___(this, inS__, current__); - } - case 4: - { - return opBool___(this, inS__, current__); - } - case 5: - { - return opBoolSeq___(this, inS__, current__); - } - case 6: - { - return opByte___(this, inS__, current__); - } - case 7: - { - return opByteSeq___(this, inS__, current__); - } - case 8: - { - return opClassAndUnknownOptional___(this, inS__, current__); - } - case 9: - { - return opDerivedException___(this, inS__, current__); - } - case 10: - { - return opDouble___(this, inS__, current__); - } - case 11: - { - return opDoubleSeq___(this, inS__, current__); - } - case 12: - { - return opFixedStruct___(this, inS__, current__); - } - case 13: - { - return opFixedStructList___(this, inS__, current__); - } - case 14: - { - return opFixedStructSeq___(this, inS__, current__); - } - case 15: - { - return opFloat___(this, inS__, current__); - } - case 16: - { - return opFloatSeq___(this, inS__, current__); - } - case 17: - { - return opInt___(this, inS__, current__); - } - case 18: - { - return opIntIntDict___(this, inS__, current__); - } - case 19: - { - return opIntSeq___(this, inS__, current__); - } - case 20: - { - return opLong___(this, inS__, current__); - } - case 21: - { - return opLongSeq___(this, inS__, current__); - } - case 22: - { - return opMyEnum___(this, inS__, current__); - } - case 23: - { - return opOneOptional___(this, inS__, current__); - } - case 24: - { - return opOneOptionalProxy___(this, inS__, current__); - } - case 25: - { - return opOptionalException___(this, inS__, current__); - } - case 26: - { - return opRequiredException___(this, inS__, current__); - } - case 27: - { - return opSerializable___(this, inS__, current__); - } - case 28: - { - return opShort___(this, inS__, current__); - } - case 29: - { - return opShortSeq___(this, inS__, current__); - } - case 30: - { - return opSmallStruct___(this, inS__, current__); - } - case 31: - { - return opSmallStructList___(this, inS__, current__); - } - case 32: - { - return opSmallStructSeq___(this, inS__, current__); - } - case 33: - { - return opString___(this, inS__, current__); - } - case 34: - { - return opStringIntDict___(this, inS__, current__); - } - case 35: - { - return opStringSeq___(this, inS__, current__); - } - case 36: - { - return opVarStruct___(this, inS__, current__); - } - case 37: - { - return opVarStructSeq___(this, inS__, current__); - } - case 38: - { - return pingPong___(this, inS__, current__); - } - case 39: - { - return returnOptionalClass___(this, inS__, current__); - } - case 40: - { - return sendOptionalClass___(this, inS__, current__); - } - case 41: - { - return shutdown___(this, inS__, current__); - } - case 42: - { - return supportsCsharpSerializable___(this, inS__, current__); - } - case 43: - { - return supportsJavaSerializable___(this, inS__, current__); - } - case 44: - { - return supportsRequiredParams___(this, inS__, current__); - } - } - - _System.Diagnostics.Debug.Assert(false); - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - - #endregion - - #region Marshaling support - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(IceInternal.BasicStream os__) - { - os__.startWriteSlice(ice_staticId(), true); - os__.endWriteSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(IceInternal.BasicStream is__) - { - is__.startReadSlice(); - is__.endReadSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void writeImpl__(Ice.OutputStream outS__) - { - outS__.startSlice(ice_staticId(), true); - outS__.endSlice(); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - protected override void readImpl__(Ice.InputStream inS__) - { - inS__.startSlice(); - inS__.endSlice(); - } - - #endregion - } -} - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_shutdown(); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_pingPong(Ice.Object ret__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opOptionalException(); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opDerivedException(); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opRequiredException(); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opByte(Ice.Optional<byte> ret__, Ice.Optional<byte> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opBool(Ice.Optional<bool> ret__, Ice.Optional<bool> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opShort(Ice.Optional<short> ret__, Ice.Optional<short> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opInt(Ice.Optional<int> ret__, Ice.Optional<int> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opLong(Ice.Optional<long> ret__, Ice.Optional<long> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opFloat(Ice.Optional<float> ret__, Ice.Optional<float> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opDouble(Ice.Optional<double> ret__, Ice.Optional<double> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opString(Ice.Optional<string> ret__, Ice.Optional<string> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opMyEnum(Ice.Optional<Test.MyEnum> ret__, Ice.Optional<Test.MyEnum> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opSmallStruct(Ice.Optional<Test.SmallStruct> ret__, Ice.Optional<Test.SmallStruct> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opFixedStruct(Ice.Optional<Test.FixedStruct> ret__, Ice.Optional<Test.FixedStruct> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opVarStruct(Ice.Optional<Test.VarStruct> ret__, Ice.Optional<Test.VarStruct> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opOneOptional(Ice.Optional<Test.OneOptional> ret__, Ice.Optional<Test.OneOptional> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> ret__, Ice.Optional<Test.OneOptionalPrx> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opByteSeq(Ice.Optional<byte[]> ret__, Ice.Optional<byte[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opBoolSeq(Ice.Optional<bool[]> ret__, Ice.Optional<bool[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opShortSeq(Ice.Optional<short[]> ret__, Ice.Optional<short[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opIntSeq(Ice.Optional<int[]> ret__, Ice.Optional<int[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opLongSeq(Ice.Optional<long[]> ret__, Ice.Optional<long[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opFloatSeq(Ice.Optional<float[]> ret__, Ice.Optional<float[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opDoubleSeq(Ice.Optional<double[]> ret__, Ice.Optional<double[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opStringSeq(Ice.Optional<string[]> ret__, Ice.Optional<string[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> ret__, Ice.Optional<Test.SmallStruct[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> ret__, Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> ret__, Ice.Optional<Test.FixedStruct[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> ret__, Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opVarStructSeq(Ice.Optional<Test.VarStruct[]> ret__, Ice.Optional<Test.VarStruct[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opSerializable(Ice.Optional<byte[]> ret__, Ice.Optional<byte[]> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> ret__, Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> ret__, Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_opClassAndUnknownOptional(); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_sendOptionalClass(); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_returnOptionalClass(Ice.Optional<Test.OneOptional> o); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_supportsRequiredParams(bool ret__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_supportsJavaSerializable(bool ret__); - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public delegate void Callback_Initial_supportsCsharpSerializable(bool ret__); -} - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface OneOptionalPrx : Ice.ObjectPrx - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface MultiOptionalPrx : Ice.ObjectPrx - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface APrx : Ice.ObjectPrx - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface BPrx : Test.APrx - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface CPrx : Test.BPrx - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface WDPrx : Ice.ObjectPrx - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface OptionalWithCustomPrx : Ice.ObjectPrx - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface InitialPrx : Ice.ObjectPrx - { - void shutdown(); - void shutdown(_System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_shutdown> begin_shutdown(); - Ice.AsyncResult<Test.Callback_Initial_shutdown> begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_shutdown(Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - void end_shutdown(Ice.AsyncResult r__); - - bool shutdown_async(Test.AMI_Initial_shutdown cb__); - bool shutdown_async(Test.AMI_Initial_shutdown cb__, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Object pingPong(Ice.Object o); - Ice.Object pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_pingPong> begin_pingPong(Ice.Object o); - Ice.AsyncResult<Test.Callback_Initial_pingPong> begin_pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_pingPong(Ice.Object o, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Object end_pingPong(Ice.AsyncResult r__); - - bool pingPong_async(Test.AMI_Initial_pingPong cb__, Ice.Object o); - bool pingPong_async(Test.AMI_Initial_pingPong cb__, Ice.Object o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opOptionalException> begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - Ice.AsyncResult<Test.Callback_Initial_opOptionalException> begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - void end_opOptionalException(Ice.AsyncResult r__); - - bool opOptionalException_async(Test.AMI_Initial_opOptionalException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - bool opOptionalException_async(Test.AMI_Initial_opOptionalException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opDerivedException> begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - Ice.AsyncResult<Test.Callback_Initial_opDerivedException> begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - void end_opDerivedException(Ice.AsyncResult r__); - - bool opDerivedException_async(Test.AMI_Initial_opDerivedException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - bool opDerivedException_async(Test.AMI_Initial_opDerivedException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opRequiredException> begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - Ice.AsyncResult<Test.Callback_Initial_opRequiredException> begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - void end_opRequiredException(Ice.AsyncResult r__); - - bool opRequiredException_async(Test.AMI_Initial_opRequiredException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - bool opRequiredException_async(Test.AMI_Initial_opRequiredException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3); - Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opByte> begin_opByte(Ice.Optional<byte> p1); - Ice.AsyncResult<Test.Callback_Initial_opByte> begin_opByte(Ice.Optional<byte> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opByte(Ice.Optional<byte> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opByte(Ice.Optional<byte> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<byte> end_opByte(out Ice.Optional<byte> p3, Ice.AsyncResult r__); - - bool opByte_async(Test.AMI_Initial_opByte cb__, Ice.Optional<byte> p1); - bool opByte_async(Test.AMI_Initial_opByte cb__, Ice.Optional<byte> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3); - Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opBool> begin_opBool(Ice.Optional<bool> p1); - Ice.AsyncResult<Test.Callback_Initial_opBool> begin_opBool(Ice.Optional<bool> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opBool(Ice.Optional<bool> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opBool(Ice.Optional<bool> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<bool> end_opBool(out Ice.Optional<bool> p3, Ice.AsyncResult r__); - - bool opBool_async(Test.AMI_Initial_opBool cb__, Ice.Optional<bool> p1); - bool opBool_async(Test.AMI_Initial_opBool cb__, Ice.Optional<bool> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3); - Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opShort> begin_opShort(Ice.Optional<short> p1); - Ice.AsyncResult<Test.Callback_Initial_opShort> begin_opShort(Ice.Optional<short> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opShort(Ice.Optional<short> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opShort(Ice.Optional<short> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<short> end_opShort(out Ice.Optional<short> p3, Ice.AsyncResult r__); - - bool opShort_async(Test.AMI_Initial_opShort cb__, Ice.Optional<short> p1); - bool opShort_async(Test.AMI_Initial_opShort cb__, Ice.Optional<short> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3); - Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opInt> begin_opInt(Ice.Optional<int> p1); - Ice.AsyncResult<Test.Callback_Initial_opInt> begin_opInt(Ice.Optional<int> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opInt(Ice.Optional<int> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opInt(Ice.Optional<int> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<int> end_opInt(out Ice.Optional<int> p3, Ice.AsyncResult r__); - - bool opInt_async(Test.AMI_Initial_opInt cb__, Ice.Optional<int> p1); - bool opInt_async(Test.AMI_Initial_opInt cb__, Ice.Optional<int> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3); - Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opLong> begin_opLong(Ice.Optional<long> p1); - Ice.AsyncResult<Test.Callback_Initial_opLong> begin_opLong(Ice.Optional<long> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opLong(Ice.Optional<long> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opLong(Ice.Optional<long> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<long> end_opLong(out Ice.Optional<long> p3, Ice.AsyncResult r__); - - bool opLong_async(Test.AMI_Initial_opLong cb__, Ice.Optional<long> p1); - bool opLong_async(Test.AMI_Initial_opLong cb__, Ice.Optional<long> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3); - Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opFloat> begin_opFloat(Ice.Optional<float> p1); - Ice.AsyncResult<Test.Callback_Initial_opFloat> begin_opFloat(Ice.Optional<float> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opFloat(Ice.Optional<float> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opFloat(Ice.Optional<float> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<float> end_opFloat(out Ice.Optional<float> p3, Ice.AsyncResult r__); - - bool opFloat_async(Test.AMI_Initial_opFloat cb__, Ice.Optional<float> p1); - bool opFloat_async(Test.AMI_Initial_opFloat cb__, Ice.Optional<float> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3); - Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opDouble> begin_opDouble(Ice.Optional<double> p1); - Ice.AsyncResult<Test.Callback_Initial_opDouble> begin_opDouble(Ice.Optional<double> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opDouble(Ice.Optional<double> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opDouble(Ice.Optional<double> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<double> end_opDouble(out Ice.Optional<double> p3, Ice.AsyncResult r__); - - bool opDouble_async(Test.AMI_Initial_opDouble cb__, Ice.Optional<double> p1); - bool opDouble_async(Test.AMI_Initial_opDouble cb__, Ice.Optional<double> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3); - Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opString> begin_opString(Ice.Optional<string> p1); - Ice.AsyncResult<Test.Callback_Initial_opString> begin_opString(Ice.Optional<string> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opString(Ice.Optional<string> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opString(Ice.Optional<string> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<string> end_opString(out Ice.Optional<string> p3, Ice.AsyncResult r__); - - bool opString_async(Test.AMI_Initial_opString cb__, Ice.Optional<string> p1); - bool opString_async(Test.AMI_Initial_opString cb__, Ice.Optional<string> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3); - Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opMyEnum> begin_opMyEnum(Ice.Optional<Test.MyEnum> p1); - Ice.AsyncResult<Test.Callback_Initial_opMyEnum> begin_opMyEnum(Ice.Optional<Test.MyEnum> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opMyEnum(Ice.Optional<Test.MyEnum> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opMyEnum(Ice.Optional<Test.MyEnum> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.MyEnum> end_opMyEnum(out Ice.Optional<Test.MyEnum> p3, Ice.AsyncResult r__); - - bool opMyEnum_async(Test.AMI_Initial_opMyEnum cb__, Ice.Optional<Test.MyEnum> p1); - bool opMyEnum_async(Test.AMI_Initial_opMyEnum cb__, Ice.Optional<Test.MyEnum> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3); - Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opSmallStruct> begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1); - Ice.AsyncResult<Test.Callback_Initial_opSmallStruct> begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.SmallStruct> end_opSmallStruct(out Ice.Optional<Test.SmallStruct> p3, Ice.AsyncResult r__); - - bool opSmallStruct_async(Test.AMI_Initial_opSmallStruct cb__, Ice.Optional<Test.SmallStruct> p1); - bool opSmallStruct_async(Test.AMI_Initial_opSmallStruct cb__, Ice.Optional<Test.SmallStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3); - Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opFixedStruct> begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1); - Ice.AsyncResult<Test.Callback_Initial_opFixedStruct> begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.FixedStruct> end_opFixedStruct(out Ice.Optional<Test.FixedStruct> p3, Ice.AsyncResult r__); - - bool opFixedStruct_async(Test.AMI_Initial_opFixedStruct cb__, Ice.Optional<Test.FixedStruct> p1); - bool opFixedStruct_async(Test.AMI_Initial_opFixedStruct cb__, Ice.Optional<Test.FixedStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3); - Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opVarStruct> begin_opVarStruct(Ice.Optional<Test.VarStruct> p1); - Ice.AsyncResult<Test.Callback_Initial_opVarStruct> begin_opVarStruct(Ice.Optional<Test.VarStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opVarStruct(Ice.Optional<Test.VarStruct> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opVarStruct(Ice.Optional<Test.VarStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.VarStruct> end_opVarStruct(out Ice.Optional<Test.VarStruct> p3, Ice.AsyncResult r__); - - bool opVarStruct_async(Test.AMI_Initial_opVarStruct cb__, Ice.Optional<Test.VarStruct> p1); - bool opVarStruct_async(Test.AMI_Initial_opVarStruct cb__, Ice.Optional<Test.VarStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3); - Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opOneOptional> begin_opOneOptional(Ice.Optional<Test.OneOptional> p1); - Ice.AsyncResult<Test.Callback_Initial_opOneOptional> begin_opOneOptional(Ice.Optional<Test.OneOptional> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opOneOptional(Ice.Optional<Test.OneOptional> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opOneOptional(Ice.Optional<Test.OneOptional> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.OneOptional> end_opOneOptional(out Ice.Optional<Test.OneOptional> p3, Ice.AsyncResult r__); - - bool opOneOptional_async(Test.AMI_Initial_opOneOptional cb__, Ice.Optional<Test.OneOptional> p1); - bool opOneOptional_async(Test.AMI_Initial_opOneOptional cb__, Ice.Optional<Test.OneOptional> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3); - Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opOneOptionalProxy> begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1); - Ice.AsyncResult<Test.Callback_Initial_opOneOptionalProxy> begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.OneOptionalPrx> end_opOneOptionalProxy(out Ice.Optional<Test.OneOptionalPrx> p3, Ice.AsyncResult r__); - - bool opOneOptionalProxy_async(Test.AMI_Initial_opOneOptionalProxy cb__, Ice.Optional<Test.OneOptionalPrx> p1); - bool opOneOptionalProxy_async(Test.AMI_Initial_opOneOptionalProxy cb__, Ice.Optional<Test.OneOptionalPrx> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3); - Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opByteSeq> begin_opByteSeq(Ice.Optional<byte[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opByteSeq> begin_opByteSeq(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opByteSeq(Ice.Optional<byte[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opByteSeq(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<byte[]> end_opByteSeq(out Ice.Optional<byte[]> p3, Ice.AsyncResult r__); - - bool opByteSeq_async(Test.AMI_Initial_opByteSeq cb__, Ice.Optional<byte[]> p1); - bool opByteSeq_async(Test.AMI_Initial_opByteSeq cb__, Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3); - Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opBoolSeq> begin_opBoolSeq(Ice.Optional<bool[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opBoolSeq> begin_opBoolSeq(Ice.Optional<bool[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opBoolSeq(Ice.Optional<bool[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opBoolSeq(Ice.Optional<bool[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<bool[]> end_opBoolSeq(out Ice.Optional<bool[]> p3, Ice.AsyncResult r__); - - bool opBoolSeq_async(Test.AMI_Initial_opBoolSeq cb__, Ice.Optional<bool[]> p1); - bool opBoolSeq_async(Test.AMI_Initial_opBoolSeq cb__, Ice.Optional<bool[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3); - Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opShortSeq> begin_opShortSeq(Ice.Optional<short[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opShortSeq> begin_opShortSeq(Ice.Optional<short[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opShortSeq(Ice.Optional<short[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opShortSeq(Ice.Optional<short[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<short[]> end_opShortSeq(out Ice.Optional<short[]> p3, Ice.AsyncResult r__); - - bool opShortSeq_async(Test.AMI_Initial_opShortSeq cb__, Ice.Optional<short[]> p1); - bool opShortSeq_async(Test.AMI_Initial_opShortSeq cb__, Ice.Optional<short[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3); - Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opIntSeq> begin_opIntSeq(Ice.Optional<int[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opIntSeq> begin_opIntSeq(Ice.Optional<int[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opIntSeq(Ice.Optional<int[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opIntSeq(Ice.Optional<int[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<int[]> end_opIntSeq(out Ice.Optional<int[]> p3, Ice.AsyncResult r__); - - bool opIntSeq_async(Test.AMI_Initial_opIntSeq cb__, Ice.Optional<int[]> p1); - bool opIntSeq_async(Test.AMI_Initial_opIntSeq cb__, Ice.Optional<int[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3); - Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opLongSeq> begin_opLongSeq(Ice.Optional<long[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opLongSeq> begin_opLongSeq(Ice.Optional<long[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opLongSeq(Ice.Optional<long[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opLongSeq(Ice.Optional<long[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<long[]> end_opLongSeq(out Ice.Optional<long[]> p3, Ice.AsyncResult r__); - - bool opLongSeq_async(Test.AMI_Initial_opLongSeq cb__, Ice.Optional<long[]> p1); - bool opLongSeq_async(Test.AMI_Initial_opLongSeq cb__, Ice.Optional<long[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3); - Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opFloatSeq> begin_opFloatSeq(Ice.Optional<float[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opFloatSeq> begin_opFloatSeq(Ice.Optional<float[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opFloatSeq(Ice.Optional<float[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opFloatSeq(Ice.Optional<float[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<float[]> end_opFloatSeq(out Ice.Optional<float[]> p3, Ice.AsyncResult r__); - - bool opFloatSeq_async(Test.AMI_Initial_opFloatSeq cb__, Ice.Optional<float[]> p1); - bool opFloatSeq_async(Test.AMI_Initial_opFloatSeq cb__, Ice.Optional<float[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3); - Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opDoubleSeq> begin_opDoubleSeq(Ice.Optional<double[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opDoubleSeq> begin_opDoubleSeq(Ice.Optional<double[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opDoubleSeq(Ice.Optional<double[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opDoubleSeq(Ice.Optional<double[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<double[]> end_opDoubleSeq(out Ice.Optional<double[]> p3, Ice.AsyncResult r__); - - bool opDoubleSeq_async(Test.AMI_Initial_opDoubleSeq cb__, Ice.Optional<double[]> p1); - bool opDoubleSeq_async(Test.AMI_Initial_opDoubleSeq cb__, Ice.Optional<double[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3); - Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opStringSeq> begin_opStringSeq(Ice.Optional<string[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opStringSeq> begin_opStringSeq(Ice.Optional<string[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opStringSeq(Ice.Optional<string[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opStringSeq(Ice.Optional<string[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<string[]> end_opStringSeq(out Ice.Optional<string[]> p3, Ice.AsyncResult r__); - - bool opStringSeq_async(Test.AMI_Initial_opStringSeq cb__, Ice.Optional<string[]> p1); - bool opStringSeq_async(Test.AMI_Initial_opStringSeq cb__, Ice.Optional<string[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3); - Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opSmallStructSeq> begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opSmallStructSeq> begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.SmallStruct[]> end_opSmallStructSeq(out Ice.Optional<Test.SmallStruct[]> p3, Ice.AsyncResult r__); - - bool opSmallStructSeq_async(Test.AMI_Initial_opSmallStructSeq cb__, Ice.Optional<Test.SmallStruct[]> p1); - bool opSmallStructSeq_async(Test.AMI_Initial_opSmallStructSeq cb__, Ice.Optional<Test.SmallStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3); - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opSmallStructList> begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1); - Ice.AsyncResult<Test.Callback_Initial_opSmallStructList> begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> end_opSmallStructList(out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, Ice.AsyncResult r__); - - bool opSmallStructList_async(Test.AMI_Initial_opSmallStructList cb__, Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1); - bool opSmallStructList_async(Test.AMI_Initial_opSmallStructList cb__, Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3); - Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opFixedStructSeq> begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opFixedStructSeq> begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.FixedStruct[]> end_opFixedStructSeq(out Ice.Optional<Test.FixedStruct[]> p3, Ice.AsyncResult r__); - - bool opFixedStructSeq_async(Test.AMI_Initial_opFixedStructSeq cb__, Ice.Optional<Test.FixedStruct[]> p1); - bool opFixedStructSeq_async(Test.AMI_Initial_opFixedStructSeq cb__, Ice.Optional<Test.FixedStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3); - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opFixedStructList> begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1); - Ice.AsyncResult<Test.Callback_Initial_opFixedStructList> begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> end_opFixedStructList(out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, Ice.AsyncResult r__); - - bool opFixedStructList_async(Test.AMI_Initial_opFixedStructList cb__, Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1); - bool opFixedStructList_async(Test.AMI_Initial_opFixedStructList cb__, Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3); - Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opVarStructSeq> begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opVarStructSeq> begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<Test.VarStruct[]> end_opVarStructSeq(out Ice.Optional<Test.VarStruct[]> p3, Ice.AsyncResult r__); - - bool opVarStructSeq_async(Test.AMI_Initial_opVarStructSeq cb__, Ice.Optional<Test.VarStruct[]> p1); - bool opVarStructSeq_async(Test.AMI_Initial_opVarStructSeq cb__, Ice.Optional<Test.VarStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3); - Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opSerializable> begin_opSerializable(Ice.Optional<byte[]> p1); - Ice.AsyncResult<Test.Callback_Initial_opSerializable> begin_opSerializable(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opSerializable(Ice.Optional<byte[]> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opSerializable(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<byte[]> end_opSerializable(out Ice.Optional<byte[]> p3, Ice.AsyncResult r__); - - bool opSerializable_async(Test.AMI_Initial_opSerializable cb__, Ice.Optional<byte[]> p1); - bool opSerializable_async(Test.AMI_Initial_opSerializable cb__, Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3); - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opIntIntDict> begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1); - Ice.AsyncResult<Test.Callback_Initial_opIntIntDict> begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> end_opIntIntDict(out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, Ice.AsyncResult r__); - - bool opIntIntDict_async(Test.AMI_Initial_opIntIntDict cb__, Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1); - bool opIntIntDict_async(Test.AMI_Initial_opIntIntDict cb__, Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3); - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opStringIntDict> begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1); - Ice.AsyncResult<Test.Callback_Initial_opStringIntDict> begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> end_opStringIntDict(out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, Ice.AsyncResult r__); - - bool opStringIntDict_async(Test.AMI_Initial_opStringIntDict cb__, Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1); - bool opStringIntDict_async(Test.AMI_Initial_opStringIntDict cb__, Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__); - - void opClassAndUnknownOptional(Test.A p); - void opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_opClassAndUnknownOptional> begin_opClassAndUnknownOptional(Test.A p); - Ice.AsyncResult<Test.Callback_Initial_opClassAndUnknownOptional> begin_opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_opClassAndUnknownOptional(Test.A p, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - void end_opClassAndUnknownOptional(Ice.AsyncResult r__); - - bool opClassAndUnknownOptional_async(Test.AMI_Initial_opClassAndUnknownOptional cb__, Test.A p); - bool opClassAndUnknownOptional_async(Test.AMI_Initial_opClassAndUnknownOptional cb__, Test.A p, _System.Collections.Generic.Dictionary<string, string> ctx__); - - void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o); - void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_sendOptionalClass> begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o); - Ice.AsyncResult<Test.Callback_Initial_sendOptionalClass> begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - void end_sendOptionalClass(Ice.AsyncResult r__); - - bool sendOptionalClass_async(Test.AMI_Initial_sendOptionalClass cb__, bool req, Ice.Optional<Test.OneOptional> o); - bool sendOptionalClass_async(Test.AMI_Initial_sendOptionalClass cb__, bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__); - - void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o); - void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_returnOptionalClass> begin_returnOptionalClass(bool req); - Ice.AsyncResult<Test.Callback_Initial_returnOptionalClass> begin_returnOptionalClass(bool req, _System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_returnOptionalClass(bool req, Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_returnOptionalClass(bool req, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - void end_returnOptionalClass(out Ice.Optional<Test.OneOptional> o, Ice.AsyncResult r__); - - bool returnOptionalClass_async(Test.AMI_Initial_returnOptionalClass cb__, bool req); - bool returnOptionalClass_async(Test.AMI_Initial_returnOptionalClass cb__, bool req, _System.Collections.Generic.Dictionary<string, string> ctx__); - - bool supportsRequiredParams(); - bool supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_supportsRequiredParams> begin_supportsRequiredParams(); - Ice.AsyncResult<Test.Callback_Initial_supportsRequiredParams> begin_supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_supportsRequiredParams(Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - bool end_supportsRequiredParams(Ice.AsyncResult r__); - - bool supportsRequiredParams_async(Test.AMI_Initial_supportsRequiredParams cb__); - bool supportsRequiredParams_async(Test.AMI_Initial_supportsRequiredParams cb__, _System.Collections.Generic.Dictionary<string, string> ctx__); - - bool supportsJavaSerializable(); - bool supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_supportsJavaSerializable> begin_supportsJavaSerializable(); - Ice.AsyncResult<Test.Callback_Initial_supportsJavaSerializable> begin_supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_supportsJavaSerializable(Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - bool end_supportsJavaSerializable(Ice.AsyncResult r__); - - bool supportsJavaSerializable_async(Test.AMI_Initial_supportsJavaSerializable cb__); - bool supportsJavaSerializable_async(Test.AMI_Initial_supportsJavaSerializable cb__, _System.Collections.Generic.Dictionary<string, string> ctx__); - - bool supportsCsharpSerializable(); - bool supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> context__); - - Ice.AsyncResult<Test.Callback_Initial_supportsCsharpSerializable> begin_supportsCsharpSerializable(); - Ice.AsyncResult<Test.Callback_Initial_supportsCsharpSerializable> begin_supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__); - - Ice.AsyncResult begin_supportsCsharpSerializable(Ice.AsyncCallback cb__, object cookie__); - Ice.AsyncResult begin_supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__); - - bool end_supportsCsharpSerializable(Ice.AsyncResult r__); - - bool supportsCsharpSerializable_async(Test.AMI_Initial_supportsCsharpSerializable cb__); - bool supportsCsharpSerializable_async(Test.AMI_Initial_supportsCsharpSerializable cb__, _System.Collections.Generic.Dictionary<string, string> ctx__); - } -} - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface InitialOperations_ - { - void shutdown(Ice.Current current__); - - Ice.Object pingPong(Ice.Object o, Ice.Current current__); - - void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3, Ice.Current current__); - - Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3, Ice.Current current__); - - Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3, Ice.Current current__); - - Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3, Ice.Current current__); - - Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3, Ice.Current current__); - - Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3, Ice.Current current__); - - Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3, Ice.Current current__); - - Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3, Ice.Current current__); - - Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3, Ice.Current current__); - - Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3, Ice.Current current__); - - Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3, Ice.Current current__); - - Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3, Ice.Current current__); - - Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3, Ice.Current current__); - - Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3, Ice.Current current__); - - Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, Ice.Current current__); - - Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3, Ice.Current current__); - - Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3, Ice.Current current__); - - Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3, Ice.Current current__); - - Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3, Ice.Current current__); - - Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3, Ice.Current current__); - - Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3, Ice.Current current__); - - Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3, Ice.Current current__); - - Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3, Ice.Current current__); - - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, Ice.Current current__); - - Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3, Ice.Current current__); - - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, Ice.Current current__); - - Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3, Ice.Current current__); - - Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, Ice.Current current__); - - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, Ice.Current current__); - - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, Ice.Current current__); - - void opClassAndUnknownOptional(Test.A p, Ice.Current current__); - - void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o, Ice.Current current__); - - bool supportsRequiredParams(Ice.Current current__); - - bool supportsJavaSerializable(Ice.Current current__); - - bool supportsCsharpSerializable(Ice.Current current__); - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface InitialOperationsNC_ - { - void shutdown(); - - Ice.Object pingPong(Ice.Object o); - - void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - - void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - - void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o); - - Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3); - - Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3); - - Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3); - - Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3); - - Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3); - - Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3); - - Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3); - - Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3); - - Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3); - - Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3); - - Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3); - - Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3); - - Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3); - - Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3); - - Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3); - - Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3); - - Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3); - - Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3); - - Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3); - - Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3); - - Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3); - - Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3); - - Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3); - - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3); - - Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3); - - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3); - - Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3); - - Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3); - - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3); - - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3); - - void opClassAndUnknownOptional(Test.A p); - - void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o); - - void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o); - - bool supportsRequiredParams(); - - bool supportsJavaSerializable(); - - bool supportsCsharpSerializable(); - } -} - -namespace Test -{ - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OneOptionalPrxHelper : Ice.ObjectPrxHelperBase, OneOptionalPrx - { - #region Asynchronous operations - - #endregion - - #region Checked and unchecked cast operations - - public static OneOptionalPrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - OneOptionalPrx r = b as OneOptionalPrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - OneOptionalPrxHelper h = new OneOptionalPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static OneOptionalPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - OneOptionalPrx r = b as OneOptionalPrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - OneOptionalPrxHelper h = new OneOptionalPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static OneOptionalPrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - OneOptionalPrxHelper h = new OneOptionalPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static OneOptionalPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - OneOptionalPrxHelper h = new OneOptionalPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static OneOptionalPrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - OneOptionalPrx r = b as OneOptionalPrx; - if(r == null) - { - OneOptionalPrxHelper h = new OneOptionalPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static OneOptionalPrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - OneOptionalPrxHelper h = new OneOptionalPrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::OneOptional" - }; - - public static string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new OneOptionalDelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new OneOptionalDelD_(); - } - - public static void write__(IceInternal.BasicStream os__, OneOptionalPrx v__) - { - os__.writeProxy(v__); - } - - public static OneOptionalPrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - OneOptionalPrxHelper result = new OneOptionalPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, OneOptionalPrx v__) - { - outS__.writeProxy(v__); - } - - public static OneOptionalPrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - OneOptionalPrxHelper result = new OneOptionalPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class ByteSeqHelper - { - public static void write(IceInternal.BasicStream os__, byte[] v__) - { - os__.writeByteSeq(v__); - } - - public static byte[] read(IceInternal.BasicStream is__) - { - byte[] v__; - v__ = is__.readByteSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, byte[] v__) - { - outS__.writeByteSeq(v__); - } - - public static byte[] read(Ice.InputStream inS__) - { - byte[] v__; - v__ = inS__.readByteSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class BoolSeqHelper - { - public static void write(IceInternal.BasicStream os__, bool[] v__) - { - os__.writeBoolSeq(v__); - } - - public static bool[] read(IceInternal.BasicStream is__) - { - bool[] v__; - v__ = is__.readBoolSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, bool[] v__) - { - outS__.writeBoolSeq(v__); - } - - public static bool[] read(Ice.InputStream inS__) - { - bool[] v__; - v__ = inS__.readBoolSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class ShortSeqHelper - { - public static void write(IceInternal.BasicStream os__, short[] v__) - { - os__.writeShortSeq(v__); - } - - public static short[] read(IceInternal.BasicStream is__) - { - short[] v__; - v__ = is__.readShortSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, short[] v__) - { - outS__.writeShortSeq(v__); - } - - public static short[] read(Ice.InputStream inS__) - { - short[] v__; - v__ = inS__.readShortSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class IntSeqHelper - { - public static void write(IceInternal.BasicStream os__, int[] v__) - { - os__.writeIntSeq(v__); - } - - public static int[] read(IceInternal.BasicStream is__) - { - int[] v__; - v__ = is__.readIntSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, int[] v__) - { - outS__.writeIntSeq(v__); - } - - public static int[] read(Ice.InputStream inS__) - { - int[] v__; - v__ = inS__.readIntSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class LongSeqHelper - { - public static void write(IceInternal.BasicStream os__, long[] v__) - { - os__.writeLongSeq(v__); - } - - public static long[] read(IceInternal.BasicStream is__) - { - long[] v__; - v__ = is__.readLongSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, long[] v__) - { - outS__.writeLongSeq(v__); - } - - public static long[] read(Ice.InputStream inS__) - { - long[] v__; - v__ = inS__.readLongSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class FloatSeqHelper - { - public static void write(IceInternal.BasicStream os__, float[] v__) - { - os__.writeFloatSeq(v__); - } - - public static float[] read(IceInternal.BasicStream is__) - { - float[] v__; - v__ = is__.readFloatSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, float[] v__) - { - outS__.writeFloatSeq(v__); - } - - public static float[] read(Ice.InputStream inS__) - { - float[] v__; - v__ = inS__.readFloatSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class DoubleSeqHelper - { - public static void write(IceInternal.BasicStream os__, double[] v__) - { - os__.writeDoubleSeq(v__); - } - - public static double[] read(IceInternal.BasicStream is__) - { - double[] v__; - v__ = is__.readDoubleSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, double[] v__) - { - outS__.writeDoubleSeq(v__); - } - - public static double[] read(Ice.InputStream inS__) - { - double[] v__; - v__ = inS__.readDoubleSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class StringSeqHelper - { - public static void write(IceInternal.BasicStream os__, string[] v__) - { - os__.writeStringSeq(v__); - } - - public static string[] read(IceInternal.BasicStream is__) - { - string[] v__; - v__ = is__.readStringSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, string[] v__) - { - outS__.writeStringSeq(v__); - } - - public static string[] read(Ice.InputStream inS__) - { - string[] v__; - v__ = inS__.readStringSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class MyEnumSeqHelper - { - public static void write(IceInternal.BasicStream os__, Test.MyEnum[] v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - os__.writeEnum((int)v__[ix__], 0); - } - } - } - - public static Test.MyEnum[] read(IceInternal.BasicStream is__) - { - Test.MyEnum[] v__; - { - int szx__ = is__.readAndCheckSeqSize(1); - v__ = new Test.MyEnum[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__] = (Test.MyEnum)is__.readEnum(0); - } - } - return v__; - } - - public static void write(Ice.OutputStream outS__, Test.MyEnum[] v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - outS__.writeEnum((int)v__[ix__], 0); - } - } - } - - public static Test.MyEnum[] read(Ice.InputStream inS__) - { - Test.MyEnum[] v__; - { - int szx__ = inS__.readAndCheckSeqSize(1); - v__ = new Test.MyEnum[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__] = (Test.MyEnum)inS__.readEnum(0); - } - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class SmallStructSeqHelper - { - public static void write(IceInternal.BasicStream os__, Test.SmallStruct[] v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - v__[ix__].write__(os__); - } - } - } - - public static Test.SmallStruct[] read(IceInternal.BasicStream is__) - { - Test.SmallStruct[] v__; - { - int szx__ = is__.readAndCheckSeqSize(1); - v__ = new Test.SmallStruct[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__].read__(is__); - } - } - return v__; - } - - public static void write(Ice.OutputStream outS__, Test.SmallStruct[] v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - v__[ix__].ice_write(outS__); - } - } - } - - public static Test.SmallStruct[] read(Ice.InputStream inS__) - { - Test.SmallStruct[] v__; - { - int szx__ = inS__.readAndCheckSeqSize(1); - v__ = new Test.SmallStruct[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__].ice_read(inS__); - } - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class SmallStructListHelper - { - public static void write(IceInternal.BasicStream os__, _System.Collections.Generic.List<Test.SmallStruct> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - for(int ix__ = 0; ix__ < v__.Count; ++ix__) - { - v__[ix__].write__(os__); - } - } - } - - public static _System.Collections.Generic.List<Test.SmallStruct> read(IceInternal.BasicStream is__) - { - _System.Collections.Generic.List<Test.SmallStruct> v__; - { - int szx__ = is__.readAndCheckSeqSize(1); - v__ = new _System.Collections.Generic.List<Test.SmallStruct>(szx__); - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - Test.SmallStruct val__ = new Test.SmallStruct(); - val__.read__(is__); - v__.Add(val__); - } - } - return v__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.List<Test.SmallStruct> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - for(int ix__ = 0; ix__ < v__.Count; ++ix__) - { - v__[ix__].ice_write(outS__); - } - } - } - - public static _System.Collections.Generic.List<Test.SmallStruct> read(Ice.InputStream inS__) - { - _System.Collections.Generic.List<Test.SmallStruct> v__; - { - int szx__ = inS__.readAndCheckSeqSize(1); - v__ = new _System.Collections.Generic.List<Test.SmallStruct>(szx__); - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - Test.SmallStruct val__ = new Test.SmallStruct(); - val__.ice_read(inS__); - v__.Add(val__); - } - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class FixedStructSeqHelper - { - public static void write(IceInternal.BasicStream os__, Test.FixedStruct[] v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - v__[ix__].write__(os__); - } - } - } - - public static Test.FixedStruct[] read(IceInternal.BasicStream is__) - { - Test.FixedStruct[] v__; - { - int szx__ = is__.readAndCheckSeqSize(4); - v__ = new Test.FixedStruct[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__].read__(is__); - } - } - return v__; - } - - public static void write(Ice.OutputStream outS__, Test.FixedStruct[] v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - v__[ix__].ice_write(outS__); - } - } - } - - public static Test.FixedStruct[] read(Ice.InputStream inS__) - { - Test.FixedStruct[] v__; - { - int szx__ = inS__.readAndCheckSeqSize(4); - v__ = new Test.FixedStruct[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__].ice_read(inS__); - } - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class FixedStructListHelper - { - public static void write(IceInternal.BasicStream os__, _System.Collections.Generic.LinkedList<Test.FixedStruct> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - _System.Collections.Generic.IEnumerator<Test.FixedStruct> e__ = v__.GetEnumerator(); - while(e__.MoveNext()) - { - e__.Current.write__(os__); - } - } - } - - public static _System.Collections.Generic.LinkedList<Test.FixedStruct> read(IceInternal.BasicStream is__) - { - _System.Collections.Generic.LinkedList<Test.FixedStruct> v__; - { - int szx__ = is__.readAndCheckSeqSize(4); - v__ = new _System.Collections.Generic.LinkedList<Test.FixedStruct>(); - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - Test.FixedStruct val__ = new Test.FixedStruct(); - val__.read__(is__); - v__.AddLast(val__); - } - } - return v__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.LinkedList<Test.FixedStruct> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - _System.Collections.Generic.IEnumerator<Test.FixedStruct> e__ = v__.GetEnumerator(); - while(e__.MoveNext()) - { - e__.Current.ice_write(outS__); - } - } - } - - public static _System.Collections.Generic.LinkedList<Test.FixedStruct> read(Ice.InputStream inS__) - { - _System.Collections.Generic.LinkedList<Test.FixedStruct> v__; - { - int szx__ = inS__.readAndCheckSeqSize(4); - v__ = new _System.Collections.Generic.LinkedList<Test.FixedStruct>(); - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - Test.FixedStruct val__ = new Test.FixedStruct(); - val__.ice_read(inS__); - v__.AddLast(val__); - } - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class VarStructSeqHelper - { - public static void write(IceInternal.BasicStream os__, Test.VarStruct[] v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - (v__[ix__] == null ? new Test.VarStruct() : v__[ix__]).write__(os__); - } - } - } - - public static Test.VarStruct[] read(IceInternal.BasicStream is__) - { - Test.VarStruct[] v__; - { - int szx__ = is__.readAndCheckSeqSize(1); - v__ = new Test.VarStruct[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__] = new Test.VarStruct(); - v__[ix__].read__(is__); - } - } - return v__; - } - - public static void write(Ice.OutputStream outS__, Test.VarStruct[] v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - (v__[ix__] == null ? new Test.VarStruct() : v__[ix__]).ice_write(outS__); - } - } - } - - public static Test.VarStruct[] read(Ice.InputStream inS__) - { - Test.VarStruct[] v__; - { - int szx__ = inS__.readAndCheckSeqSize(1); - v__ = new Test.VarStruct[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__] = new Test.VarStruct(); - v__[ix__].ice_read(inS__); - } - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OneOptionalSeqHelper - { - public static void write(IceInternal.BasicStream os__, Test.OneOptional[] v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - os__.writeObject(v__[ix__]); - } - } - } - - public static Test.OneOptional[] read(IceInternal.BasicStream is__) - { - Test.OneOptional[] v__; - { - int szx__ = is__.readAndCheckSeqSize(1); - v__ = new Test.OneOptional[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - IceInternal.ArrayPatcher<Test.OneOptional> spx = new IceInternal.ArrayPatcher<Test.OneOptional>("::Test::OneOptional", v__, ix__); - is__.readObject(spx); - } - } - return v__; - } - - public static void write(Ice.OutputStream outS__, Test.OneOptional[] v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - outS__.writeObject(v__[ix__]); - } - } - } - - public static Test.OneOptional[] read(Ice.InputStream inS__) - { - Test.OneOptional[] v__; - { - int szx__ = inS__.readAndCheckSeqSize(1); - v__ = new Test.OneOptional[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - IceInternal.ArrayPatcher<Test.OneOptional> spx = new IceInternal.ArrayPatcher<Test.OneOptional>("::Test::OneOptional", v__, ix__); - inS__.readObject(spx); - } - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OneOptionalPrxSeqHelper - { - public static void write(IceInternal.BasicStream os__, Test.OneOptionalPrx[] v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - Test.OneOptionalPrxHelper.write__(os__, v__[ix__]); - } - } - } - - public static Test.OneOptionalPrx[] read(IceInternal.BasicStream is__) - { - Test.OneOptionalPrx[] v__; - { - int szx__ = is__.readAndCheckSeqSize(2); - v__ = new Test.OneOptionalPrx[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__] = Test.OneOptionalPrxHelper.read__(is__); - } - } - return v__; - } - - public static void write(Ice.OutputStream outS__, Test.OneOptionalPrx[] v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Length); - for(int ix__ = 0; ix__ < v__.Length; ++ix__) - { - Test.OneOptionalPrxHelper.write(outS__, v__[ix__]); - } - } - } - - public static Test.OneOptionalPrx[] read(Ice.InputStream inS__) - { - Test.OneOptionalPrx[] v__; - { - int szx__ = inS__.readAndCheckSeqSize(2); - v__ = new Test.OneOptionalPrx[szx__]; - for(int ix__ = 0; ix__ < szx__; ++ix__) - { - v__[ix__] = Test.OneOptionalPrxHelper.read(inS__); - } - } - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class SerializableHelper - { - public static void write(IceInternal.BasicStream os__, byte[] v__) - { - os__.writeByteSeq(v__); - } - - public static byte[] read(IceInternal.BasicStream is__) - { - byte[] v__; - v__ = is__.readByteSeq(); - return v__; - } - - public static void write(Ice.OutputStream outS__, byte[] v__) - { - outS__.writeByteSeq(v__); - } - - public static byte[] read(Ice.InputStream inS__) - { - byte[] v__; - v__ = inS__.readByteSeq(); - return v__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class IntIntDictHelper - { - public static void write(IceInternal.BasicStream os__, - _System.Collections.Generic.Dictionary<int, int> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - foreach(_System.Collections.Generic.KeyValuePair<int, int> e__ in v__) - { - os__.writeInt(e__.Key); - os__.writeInt(e__.Value); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, int> read(IceInternal.BasicStream is__) - { - int sz__ = is__.readSize(); - _System.Collections.Generic.Dictionary<int, int> r__ = new _System.Collections.Generic.Dictionary<int, int>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = is__.readInt(); - int v__; - v__ = is__.readInt(); - r__[k__] = v__; - } - return r__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.Dictionary<int, int> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - foreach(_System.Collections. - Generic.KeyValuePair<int, int> e__ in v__) - { - outS__.writeInt(e__.Key); - outS__.writeInt(e__.Value); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, int> read(Ice.InputStream inS__) - { - int sz__ = inS__.readSize(); - _System.Collections.Generic.Dictionary<int, int> r__ = new _System.Collections.Generic.Dictionary<int, int>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = inS__.readInt(); - int v__; - v__ = inS__.readInt(); - r__[k__] = v__; - } - return r__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class StringIntDictHelper - { - public static void write(IceInternal.BasicStream os__, - _System.Collections.Generic.Dictionary<string, int> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - foreach(_System.Collections.Generic.KeyValuePair<string, int> e__ in v__) - { - os__.writeString(e__.Key); - os__.writeInt(e__.Value); - } - } - } - - public static _System.Collections.Generic.Dictionary<string, int> read(IceInternal.BasicStream is__) - { - int sz__ = is__.readSize(); - _System.Collections.Generic.Dictionary<string, int> r__ = new _System.Collections.Generic.Dictionary<string, int>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - string k__; - k__ = is__.readString(); - int v__; - v__ = is__.readInt(); - r__[k__] = v__; - } - return r__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.Dictionary<string, int> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - foreach(_System.Collections. - Generic.KeyValuePair<string, int> e__ in v__) - { - outS__.writeString(e__.Key); - outS__.writeInt(e__.Value); - } - } - } - - public static _System.Collections.Generic.Dictionary<string, int> read(Ice.InputStream inS__) - { - int sz__ = inS__.readSize(); - _System.Collections.Generic.Dictionary<string, int> r__ = new _System.Collections.Generic.Dictionary<string, int>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - string k__; - k__ = inS__.readString(); - int v__; - v__ = inS__.readInt(); - r__[k__] = v__; - } - return r__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class IntEnumDictHelper - { - public static void write(IceInternal.BasicStream os__, - _System.Collections.Generic.Dictionary<int, Test.MyEnum> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - foreach(_System.Collections.Generic.KeyValuePair<int, Test.MyEnum> e__ in v__) - { - os__.writeInt(e__.Key); - os__.writeEnum((int)e__.Value, 0); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.MyEnum> read(IceInternal.BasicStream is__) - { - int sz__ = is__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.MyEnum> r__ = new _System.Collections.Generic.Dictionary<int, Test.MyEnum>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = is__.readInt(); - Test.MyEnum v__; - v__ = (Test.MyEnum)is__.readEnum(0); - r__[k__] = v__; - } - return r__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.Dictionary<int, Test.MyEnum> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - foreach(_System.Collections. - Generic.KeyValuePair<int, Test.MyEnum> e__ in v__) - { - outS__.writeInt(e__.Key); - if((int)e__.Value < 0 || (int)e__.Value > 0) - { - throw new Ice.MarshalException("enumerator out of range"); - } - outS__.writeEnum((int)e__.Value, 0); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.MyEnum> read(Ice.InputStream inS__) - { - int sz__ = inS__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.MyEnum> r__ = new _System.Collections.Generic.Dictionary<int, Test.MyEnum>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = inS__.readInt(); - Test.MyEnum v__; - v__ = (Test.MyEnum)inS__.readEnum(0); - if((int)v__ < 0 || (int)v__ > 0) - { - throw new Ice.MarshalException("enumerator out of range"); - } - r__[k__] = v__; - } - return r__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class IntFixedStructDictHelper - { - public static void write(IceInternal.BasicStream os__, - _System.Collections.Generic.Dictionary<int, Test.FixedStruct> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - foreach(_System.Collections.Generic.KeyValuePair<int, Test.FixedStruct> e__ in v__) - { - os__.writeInt(e__.Key); - e__.Value.write__(os__); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.FixedStruct> read(IceInternal.BasicStream is__) - { - int sz__ = is__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.FixedStruct> r__ = new _System.Collections.Generic.Dictionary<int, Test.FixedStruct>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = is__.readInt(); - Test.FixedStruct v__; - v__ = new Test.FixedStruct(); - v__.read__(is__); - r__[k__] = v__; - } - return r__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.Dictionary<int, Test.FixedStruct> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - foreach(_System.Collections. - Generic.KeyValuePair<int, Test.FixedStruct> e__ in v__) - { - outS__.writeInt(e__.Key); - e__.Value.ice_write(outS__); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.FixedStruct> read(Ice.InputStream inS__) - { - int sz__ = inS__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.FixedStruct> r__ = new _System.Collections.Generic.Dictionary<int, Test.FixedStruct>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = inS__.readInt(); - Test.FixedStruct v__; - v__ = new Test.FixedStruct(); - v__.ice_read(inS__); - r__[k__] = v__; - } - return r__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class IntVarStructDictHelper - { - public static void write(IceInternal.BasicStream os__, - _System.Collections.Generic.Dictionary<int, Test.VarStruct> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - foreach(_System.Collections.Generic.KeyValuePair<int, Test.VarStruct> e__ in v__) - { - os__.writeInt(e__.Key); - if(e__.Value == null) - { - Test.VarStruct tmp__ = new Test.VarStruct(); - tmp__.write__(os__); - } - else - { - e__.Value.write__(os__); - } - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.VarStruct> read(IceInternal.BasicStream is__) - { - int sz__ = is__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.VarStruct> r__ = new _System.Collections.Generic.Dictionary<int, Test.VarStruct>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = is__.readInt(); - Test.VarStruct v__; - v__ = null; - if(v__ == null) - { - v__ = new Test.VarStruct(); - } - v__.read__(is__); - r__[k__] = v__; - } - return r__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.Dictionary<int, Test.VarStruct> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - foreach(_System.Collections. - Generic.KeyValuePair<int, Test.VarStruct> e__ in v__) - { - outS__.writeInt(e__.Key); - if(e__.Value == null) - { - Test.VarStruct tmp__ = new Test.VarStruct(); - tmp__.ice_write(outS__); - } - else - { - e__.Value.ice_write(outS__); - } - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.VarStruct> read(Ice.InputStream inS__) - { - int sz__ = inS__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.VarStruct> r__ = new _System.Collections.Generic.Dictionary<int, Test.VarStruct>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = inS__.readInt(); - Test.VarStruct v__; - v__ = null; - if(v__ == null) - { - v__ = new Test.VarStruct(); - } - v__.ice_read(inS__); - r__[k__] = v__; - } - return r__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class IntOneOptionalDictHelper - { - public static void write(IceInternal.BasicStream os__, - _System.Collections.Generic.Dictionary<int, Test.OneOptional> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - foreach(_System.Collections.Generic.KeyValuePair<int, Test.OneOptional> e__ in v__) - { - os__.writeInt(e__.Key); - os__.writeObject(e__.Value); - } - } - } - - public sealed class Patcher__ : IceInternal.Patcher - { - internal Patcher__(string type, _System.Collections.Generic.Dictionary<int, Test.OneOptional> m, int key) : base(type) - { - _m = m; - _key = key; - } - - public override void patch(Ice.Object v) - { - try - { - _m[_key] = (Test.OneOptional)v; - } - catch(_System.InvalidCastException) - { - IceInternal.Ex.throwUOE(type(), v.ice_id()); - } - } - - private _System.Collections.Generic.Dictionary<int, Test.OneOptional> _m; - private int _key; - } - - public static _System.Collections.Generic.Dictionary<int, Test.OneOptional> read(IceInternal.BasicStream is__) - { - int sz__ = is__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.OneOptional> r__ = new _System.Collections.Generic.Dictionary<int, Test.OneOptional>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = is__.readInt(); - is__.readObject(new Patcher__(Test.OneOptional.ice_staticId(), r__, k__)); - } - return r__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.Dictionary<int, Test.OneOptional> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - foreach(_System.Collections. - Generic.KeyValuePair<int, Test.OneOptional> e__ in v__) - { - outS__.writeInt(e__.Key); - outS__.writeObject(e__.Value); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.OneOptional> read(Ice.InputStream inS__) - { - int sz__ = inS__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.OneOptional> r__ = new _System.Collections.Generic.Dictionary<int, Test.OneOptional>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = inS__.readInt(); - inS__.readObject(new Patcher__(Test.OneOptional.ice_staticId(), r__, k__)); - } - return r__; - } - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class IntOneOptionalPrxDictHelper - { - public static void write(IceInternal.BasicStream os__, - _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx> v__) - { - if(v__ == null) - { - os__.writeSize(0); - } - else - { - os__.writeSize(v__.Count); - foreach(_System.Collections.Generic.KeyValuePair<int, Test.OneOptionalPrx> e__ in v__) - { - os__.writeInt(e__.Key); - Test.OneOptionalPrxHelper.write__(os__, e__.Value); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx> read(IceInternal.BasicStream is__) - { - int sz__ = is__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx> r__ = new _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = is__.readInt(); - Test.OneOptionalPrx v__; - v__ = Test.OneOptionalPrxHelper.read__(is__); - r__[k__] = v__; - } - return r__; - } - - public static void write(Ice.OutputStream outS__, _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx> v__) - { - if(v__ == null) - { - outS__.writeSize(0); - } - else - { - outS__.writeSize(v__.Count); - foreach(_System.Collections. - Generic.KeyValuePair<int, Test.OneOptionalPrx> e__ in v__) - { - outS__.writeInt(e__.Key); - Test.OneOptionalPrxHelper.write(outS__, e__.Value); - } - } - } - - public static _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx> read(Ice.InputStream inS__) - { - int sz__ = inS__.readSize(); - _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx> r__ = new _System.Collections.Generic.Dictionary<int, Test.OneOptionalPrx>(); - for(int i__ = 0; i__ < sz__; ++i__) - { - int k__; - k__ = inS__.readInt(); - Test.OneOptionalPrx v__; - v__ = Test.OneOptionalPrxHelper.read(inS__); - r__[k__] = v__; - } - return r__; - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class MultiOptionalPrxHelper : Ice.ObjectPrxHelperBase, MultiOptionalPrx - { - #region Asynchronous operations - - #endregion - - #region Checked and unchecked cast operations - - public static MultiOptionalPrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - MultiOptionalPrx r = b as MultiOptionalPrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - MultiOptionalPrxHelper h = new MultiOptionalPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static MultiOptionalPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - MultiOptionalPrx r = b as MultiOptionalPrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - MultiOptionalPrxHelper h = new MultiOptionalPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static MultiOptionalPrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - MultiOptionalPrxHelper h = new MultiOptionalPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static MultiOptionalPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - MultiOptionalPrxHelper h = new MultiOptionalPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static MultiOptionalPrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - MultiOptionalPrx r = b as MultiOptionalPrx; - if(r == null) - { - MultiOptionalPrxHelper h = new MultiOptionalPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static MultiOptionalPrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - MultiOptionalPrxHelper h = new MultiOptionalPrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::MultiOptional" - }; - - public static string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new MultiOptionalDelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new MultiOptionalDelD_(); - } - - public static void write__(IceInternal.BasicStream os__, MultiOptionalPrx v__) - { - os__.writeProxy(v__); - } - - public static MultiOptionalPrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - MultiOptionalPrxHelper result = new MultiOptionalPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, MultiOptionalPrx v__) - { - outS__.writeProxy(v__); - } - - public static MultiOptionalPrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - MultiOptionalPrxHelper result = new MultiOptionalPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class APrxHelper : Ice.ObjectPrxHelperBase, APrx - { - #region Asynchronous operations - - #endregion - - #region Checked and unchecked cast operations - - public static APrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - APrx r = b as APrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - APrxHelper h = new APrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static APrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - APrx r = b as APrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - APrxHelper h = new APrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static APrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - APrxHelper h = new APrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static APrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - APrxHelper h = new APrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static APrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - APrx r = b as APrx; - if(r == null) - { - APrxHelper h = new APrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static APrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - APrxHelper h = new APrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::A" - }; - - public static string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new ADelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new ADelD_(); - } - - public static void write__(IceInternal.BasicStream os__, APrx v__) - { - os__.writeProxy(v__); - } - - public static APrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - APrxHelper result = new APrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, APrx v__) - { - outS__.writeProxy(v__); - } - - public static APrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - APrxHelper result = new APrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class BPrxHelper : Ice.ObjectPrxHelperBase, BPrx - { - #region Asynchronous operations - - #endregion - - #region Checked and unchecked cast operations - - public static BPrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - BPrx r = b as BPrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - BPrxHelper h = new BPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static BPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - BPrx r = b as BPrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - BPrxHelper h = new BPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static BPrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - BPrxHelper h = new BPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static BPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - BPrxHelper h = new BPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static BPrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - BPrx r = b as BPrx; - if(r == null) - { - BPrxHelper h = new BPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static BPrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - BPrxHelper h = new BPrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::A", - "::Test::B" - }; - - public static string ice_staticId() - { - return ids__[2]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new BDelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new BDelD_(); - } - - public static void write__(IceInternal.BasicStream os__, BPrx v__) - { - os__.writeProxy(v__); - } - - public static BPrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - BPrxHelper result = new BPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, BPrx v__) - { - outS__.writeProxy(v__); - } - - public static BPrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - BPrxHelper result = new BPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class CPrxHelper : Ice.ObjectPrxHelperBase, CPrx - { - #region Asynchronous operations - - #endregion - - #region Checked and unchecked cast operations - - public static CPrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - CPrx r = b as CPrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - CPrxHelper h = new CPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static CPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - CPrx r = b as CPrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - CPrxHelper h = new CPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static CPrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - CPrxHelper h = new CPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static CPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - CPrxHelper h = new CPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static CPrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - CPrx r = b as CPrx; - if(r == null) - { - CPrxHelper h = new CPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static CPrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - CPrxHelper h = new CPrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::A", - "::Test::B", - "::Test::C" - }; - - public static string ice_staticId() - { - return ids__[3]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new CDelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new CDelD_(); - } - - public static void write__(IceInternal.BasicStream os__, CPrx v__) - { - os__.writeProxy(v__); - } - - public static CPrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - CPrxHelper result = new CPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, CPrx v__) - { - outS__.writeProxy(v__); - } - - public static CPrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - CPrxHelper result = new CPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class WDPrxHelper : Ice.ObjectPrxHelperBase, WDPrx - { - #region Asynchronous operations - - #endregion - - #region Checked and unchecked cast operations - - public static WDPrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - WDPrx r = b as WDPrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - WDPrxHelper h = new WDPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static WDPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - WDPrx r = b as WDPrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - WDPrxHelper h = new WDPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static WDPrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - WDPrxHelper h = new WDPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static WDPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - WDPrxHelper h = new WDPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static WDPrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - WDPrx r = b as WDPrx; - if(r == null) - { - WDPrxHelper h = new WDPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static WDPrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - WDPrxHelper h = new WDPrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::WD" - }; - - public static string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new WDDelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new WDDelD_(); - } - - public static void write__(IceInternal.BasicStream os__, WDPrx v__) - { - os__.writeProxy(v__); - } - - public static WDPrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - WDPrxHelper result = new WDPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, WDPrx v__) - { - outS__.writeProxy(v__); - } - - public static WDPrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - WDPrxHelper result = new WDPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OptionalWithCustomPrxHelper : Ice.ObjectPrxHelperBase, OptionalWithCustomPrx - { - #region Asynchronous operations - - #endregion - - #region Checked and unchecked cast operations - - public static OptionalWithCustomPrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - OptionalWithCustomPrx r = b as OptionalWithCustomPrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - OptionalWithCustomPrxHelper h = new OptionalWithCustomPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static OptionalWithCustomPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - OptionalWithCustomPrx r = b as OptionalWithCustomPrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - OptionalWithCustomPrxHelper h = new OptionalWithCustomPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static OptionalWithCustomPrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - OptionalWithCustomPrxHelper h = new OptionalWithCustomPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static OptionalWithCustomPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - OptionalWithCustomPrxHelper h = new OptionalWithCustomPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static OptionalWithCustomPrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - OptionalWithCustomPrx r = b as OptionalWithCustomPrx; - if(r == null) - { - OptionalWithCustomPrxHelper h = new OptionalWithCustomPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static OptionalWithCustomPrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - OptionalWithCustomPrxHelper h = new OptionalWithCustomPrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::OptionalWithCustom" - }; - - public static string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new OptionalWithCustomDelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new OptionalWithCustomDelD_(); - } - - public static void write__(IceInternal.BasicStream os__, OptionalWithCustomPrx v__) - { - os__.writeProxy(v__); - } - - public static OptionalWithCustomPrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - OptionalWithCustomPrxHelper result = new OptionalWithCustomPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, OptionalWithCustomPrx v__) - { - outS__.writeProxy(v__); - } - - public static OptionalWithCustomPrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - OptionalWithCustomPrxHelper result = new OptionalWithCustomPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class InitialPrxHelper : Ice.ObjectPrxHelperBase, InitialPrx - { - #region Synchronous operations - - public Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3) - { - return opBool(p1, out p3, null, false); - } - - public Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opBool(p1, out p3, context__, true); - } - - private Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opBool_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opBool_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opBool(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3) - { - return opBoolSeq(p1, out p3, null, false); - } - - public Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opBoolSeq(p1, out p3, context__, true); - } - - private Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opBoolSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opBoolSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opBoolSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3) - { - return opByte(p1, out p3, null, false); - } - - public Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opByte(p1, out p3, context__, true); - } - - private Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opByte_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opByte_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opByte(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3) - { - return opByteSeq(p1, out p3, null, false); - } - - public Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opByteSeq(p1, out p3, context__, true); - } - - private Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opByteSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opByteSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opByteSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public void opClassAndUnknownOptional(Test.A p) - { - opClassAndUnknownOptional(p, null, false); - } - - public void opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> context__) - { - opClassAndUnknownOptional(p, context__, true); - } - - private void opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opClassAndUnknownOptional_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - del__.opClassAndUnknownOptional(p, context__, observer__); - return; - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - opDerivedException(a, b, o, null, false); - } - - public void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__) - { - opDerivedException(a, b, o, context__, true); - } - - private void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opDerivedException_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opDerivedException_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - del__.opDerivedException(a, b, o, context__, observer__); - return; - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3) - { - return opDouble(p1, out p3, null, false); - } - - public Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opDouble(p1, out p3, context__, true); - } - - private Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opDouble_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opDouble_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opDouble(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3) - { - return opDoubleSeq(p1, out p3, null, false); - } - - public Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opDoubleSeq(p1, out p3, context__, true); - } - - private Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opDoubleSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opDoubleSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opDoubleSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3) - { - return opFixedStruct(p1, out p3, null, false); - } - - public Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opFixedStruct(p1, out p3, context__, true); - } - - private Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opFixedStruct_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opFixedStruct_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opFixedStruct(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3) - { - return opFixedStructList(p1, out p3, null, false); - } - - public Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opFixedStructList(p1, out p3, context__, true); - } - - private Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opFixedStructList_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opFixedStructList_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opFixedStructList(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3) - { - return opFixedStructSeq(p1, out p3, null, false); - } - - public Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opFixedStructSeq(p1, out p3, context__, true); - } - - private Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opFixedStructSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opFixedStructSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opFixedStructSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3) - { - return opFloat(p1, out p3, null, false); - } - - public Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opFloat(p1, out p3, context__, true); - } - - private Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opFloat_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opFloat_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opFloat(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3) - { - return opFloatSeq(p1, out p3, null, false); - } - - public Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opFloatSeq(p1, out p3, context__, true); - } - - private Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opFloatSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opFloatSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opFloatSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3) - { - return opInt(p1, out p3, null, false); - } - - public Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opInt(p1, out p3, context__, true); - } - - private Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opInt_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opInt_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opInt(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3) - { - return opIntIntDict(p1, out p3, null, false); - } - - public Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opIntIntDict(p1, out p3, context__, true); - } - - private Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opIntIntDict_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opIntIntDict_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opIntIntDict(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3) - { - return opIntSeq(p1, out p3, null, false); - } - - public Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opIntSeq(p1, out p3, context__, true); - } - - private Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opIntSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opIntSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opIntSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3) - { - return opLong(p1, out p3, null, false); - } - - public Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opLong(p1, out p3, context__, true); - } - - private Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opLong_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opLong_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opLong(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3) - { - return opLongSeq(p1, out p3, null, false); - } - - public Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opLongSeq(p1, out p3, context__, true); - } - - private Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opLongSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opLongSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opLongSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3) - { - return opMyEnum(p1, out p3, null, false); - } - - public Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opMyEnum(p1, out p3, context__, true); - } - - private Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opMyEnum_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opMyEnum_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opMyEnum(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3) - { - return opOneOptional(p1, out p3, null, false); - } - - public Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opOneOptional(p1, out p3, context__, true); - } - - private Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opOneOptional_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opOneOptional_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opOneOptional(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3) - { - return opOneOptionalProxy(p1, out p3, null, false); - } - - public Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opOneOptionalProxy(p1, out p3, context__, true); - } - - private Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opOneOptionalProxy_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opOneOptionalProxy_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opOneOptionalProxy(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - opOptionalException(a, b, o, null, false); - } - - public void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__) - { - opOptionalException(a, b, o, context__, true); - } - - private void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opOptionalException_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opOptionalException_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - del__.opOptionalException(a, b, o, context__, observer__); - return; - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - opRequiredException(a, b, o, null, false); - } - - public void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__) - { - opRequiredException(a, b, o, context__, true); - } - - private void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opRequiredException_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opRequiredException_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - del__.opRequiredException(a, b, o, context__, observer__); - return; - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3) - { - return opSerializable(p1, out p3, null, false); - } - - public Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opSerializable(p1, out p3, context__, true); - } - - private Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opSerializable_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opSerializable_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opSerializable(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3) - { - return opShort(p1, out p3, null, false); - } - - public Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opShort(p1, out p3, context__, true); - } - - private Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opShort_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opShort_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opShort(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3) - { - return opShortSeq(p1, out p3, null, false); - } - - public Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opShortSeq(p1, out p3, context__, true); - } - - private Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opShortSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opShortSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opShortSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3) - { - return opSmallStruct(p1, out p3, null, false); - } - - public Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opSmallStruct(p1, out p3, context__, true); - } - - private Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opSmallStruct_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opSmallStruct_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opSmallStruct(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3) - { - return opSmallStructList(p1, out p3, null, false); - } - - public Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opSmallStructList(p1, out p3, context__, true); - } - - private Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opSmallStructList_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opSmallStructList_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opSmallStructList(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3) - { - return opSmallStructSeq(p1, out p3, null, false); - } - - public Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opSmallStructSeq(p1, out p3, context__, true); - } - - private Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opSmallStructSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opSmallStructSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opSmallStructSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3) - { - return opString(p1, out p3, null, false); - } - - public Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opString(p1, out p3, context__, true); - } - - private Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opString_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opString_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opString(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3) - { - return opStringIntDict(p1, out p3, null, false); - } - - public Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opStringIntDict(p1, out p3, context__, true); - } - - private Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opStringIntDict_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opStringIntDict_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opStringIntDict(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3) - { - return opStringSeq(p1, out p3, null, false); - } - - public Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opStringSeq(p1, out p3, context__, true); - } - - private Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opStringSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opStringSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opStringSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3) - { - return opVarStruct(p1, out p3, null, false); - } - - public Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opVarStruct(p1, out p3, context__, true); - } - - private Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opVarStruct_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opVarStruct_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opVarStruct(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3) - { - return opVarStructSeq(p1, out p3, null, false); - } - - public Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__) - { - return opVarStructSeq(p1, out p3, context__, true); - } - - private Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __opVarStructSeq_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__opVarStructSeq_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.opVarStructSeq(p1, out p3, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public Ice.Object pingPong(Ice.Object o) - { - return pingPong(o, null, false); - } - - public Ice.Object pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> context__) - { - return pingPong(o, context__, true); - } - - private Ice.Object pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __pingPong_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__pingPong_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.pingPong(o, context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o) - { - returnOptionalClass(req, out o, null, false); - } - - public void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__) - { - returnOptionalClass(req, out o, context__, true); - } - - private void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __returnOptionalClass_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__returnOptionalClass_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - del__.returnOptionalClass(req, out o, context__, observer__); - return; - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o) - { - sendOptionalClass(req, o, null, false); - } - - public void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__) - { - sendOptionalClass(req, o, context__, true); - } - - private void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __sendOptionalClass_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - del__.sendOptionalClass(req, o, context__, observer__); - return; - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public void shutdown() - { - shutdown(null, false); - } - - public void shutdown(_System.Collections.Generic.Dictionary<string, string> context__) - { - shutdown(context__, true); - } - - private void shutdown(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __shutdown_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - del__.shutdown(context__, observer__); - return; - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public bool supportsCsharpSerializable() - { - return supportsCsharpSerializable(null, false); - } - - public bool supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> context__) - { - return supportsCsharpSerializable(context__, true); - } - - private bool supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __supportsCsharpSerializable_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__supportsCsharpSerializable_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.supportsCsharpSerializable(context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public bool supportsJavaSerializable() - { - return supportsJavaSerializable(null, false); - } - - public bool supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> context__) - { - return supportsJavaSerializable(context__, true); - } - - private bool supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __supportsJavaSerializable_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__supportsJavaSerializable_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.supportsJavaSerializable(context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - public bool supportsRequiredParams() - { - return supportsRequiredParams(null, false); - } - - public bool supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> context__) - { - return supportsRequiredParams(context__, true); - } - - private bool supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) - { - if(explicitContext__ && context__ == null) - { - context__ = emptyContext_; - } - Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __supportsRequiredParams_name, context__); - int cnt__ = 0; - try - { - while(true) - { - Ice.ObjectDel_ delBase__ = null; - try - { - checkTwowayOnly__(__supportsRequiredParams_name); - delBase__ = getDelegate__(false); - InitialDel_ del__ = (InitialDel_)delBase__; - return del__.supportsRequiredParams(context__, observer__); - } - catch(IceInternal.LocalExceptionWrapper ex__) - { - handleExceptionWrapper__(delBase__, ex__, observer__); - } - catch(Ice.LocalException ex__) - { - handleException__(delBase__, ex__, true, ref cnt__, observer__); - } - } - } - finally - { - if(observer__ != null) - { - observer__.detach(); - } - } - } - - #endregion - - #region Asynchronous operations - - public Ice.AsyncResult<Test.Callback_Initial_opBool> begin_opBool(Ice.Optional<bool> p1) - { - return begin_opBool(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opBool> begin_opBool(Ice.Optional<bool> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opBool(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opBool(Ice.Optional<bool> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opBool(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opBool(Ice.Optional<bool> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opBool(p1, ctx__, true, cb__, cookie__); - } - - private const string __opBool_name = "opBool"; - - public Ice.Optional<bool> end_opBool(out Ice.Optional<bool> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opBool_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<bool> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readBool(1); - p3 = is__.readBool(3); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opBool> begin_opBool(Ice.Optional<bool> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opBool_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opBool> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opBool>(this, __opBool_name, opBool_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opBool_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBool(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opBool_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opBool cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<bool> p3; - Ice.Optional<bool> ret__; - try - { - ret__ = end_opBool(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opBool_async(Test.AMI_Initial_opBool cb__, Ice.Optional<bool> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opBool> result__; - try - { - checkTwowayOnly__(__opBool_name); - result__ = begin_opBool(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opBool>(this, __opBool_name, opBool_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opBool_async(Test.AMI_Initial_opBool cb__, Ice.Optional<bool> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opBool> result__; - try - { - checkTwowayOnly__(__opBool_name); - result__ = begin_opBool(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opBool>(this, __opBool_name, opBool_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opBoolSeq> begin_opBoolSeq(Ice.Optional<bool[]> p1) - { - return begin_opBoolSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opBoolSeq> begin_opBoolSeq(Ice.Optional<bool[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opBoolSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opBoolSeq(Ice.Optional<bool[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opBoolSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opBoolSeq(Ice.Optional<bool[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opBoolSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opBoolSeq_name = "opBoolSeq"; - - public Ice.Optional<bool[]> end_opBoolSeq(out Ice.Optional<bool[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opBoolSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<bool[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - bool[] tmpVal__; - tmpVal__ = Test.BoolSeqHelper.read(is__); - ret__ = new Ice.Optional<bool[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<bool[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - bool[] tmpVal__; - tmpVal__ = Test.BoolSeqHelper.read(is__); - p3 = new Ice.Optional<bool[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<bool[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opBoolSeq> begin_opBoolSeq(Ice.Optional<bool[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opBoolSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opBoolSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opBoolSeq>(this, __opBoolSeq_name, opBoolSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opBoolSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBoolSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opBoolSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opBoolSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<bool[]> p3; - Ice.Optional<bool[]> ret__; - try - { - ret__ = end_opBoolSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opBoolSeq_async(Test.AMI_Initial_opBoolSeq cb__, Ice.Optional<bool[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opBoolSeq> result__; - try - { - checkTwowayOnly__(__opBoolSeq_name); - result__ = begin_opBoolSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opBoolSeq>(this, __opBoolSeq_name, opBoolSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opBoolSeq_async(Test.AMI_Initial_opBoolSeq cb__, Ice.Optional<bool[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opBoolSeq> result__; - try - { - checkTwowayOnly__(__opBoolSeq_name); - result__ = begin_opBoolSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opBoolSeq>(this, __opBoolSeq_name, opBoolSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opByte> begin_opByte(Ice.Optional<byte> p1) - { - return begin_opByte(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opByte> begin_opByte(Ice.Optional<byte> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opByte(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opByte(Ice.Optional<byte> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opByte(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opByte(Ice.Optional<byte> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opByte(p1, ctx__, true, cb__, cookie__); - } - - private const string __opByte_name = "opByte"; - - public Ice.Optional<byte> end_opByte(out Ice.Optional<byte> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opByte_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<byte> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readByte(1); - p3 = is__.readByte(3); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opByte> begin_opByte(Ice.Optional<byte> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opByte_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opByte> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opByte>(this, __opByte_name, opByte_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opByte_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeByte(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opByte_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opByte cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<byte> p3; - Ice.Optional<byte> ret__; - try - { - ret__ = end_opByte(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opByte_async(Test.AMI_Initial_opByte cb__, Ice.Optional<byte> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opByte> result__; - try - { - checkTwowayOnly__(__opByte_name); - result__ = begin_opByte(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opByte>(this, __opByte_name, opByte_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opByte_async(Test.AMI_Initial_opByte cb__, Ice.Optional<byte> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opByte> result__; - try - { - checkTwowayOnly__(__opByte_name); - result__ = begin_opByte(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opByte>(this, __opByte_name, opByte_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opByteSeq> begin_opByteSeq(Ice.Optional<byte[]> p1) - { - return begin_opByteSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opByteSeq> begin_opByteSeq(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opByteSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opByteSeq(Ice.Optional<byte[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opByteSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opByteSeq(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opByteSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opByteSeq_name = "opByteSeq"; - - public Ice.Optional<byte[]> end_opByteSeq(out Ice.Optional<byte[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opByteSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<byte[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.ByteSeqHelper.read(is__); - ret__ = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<byte[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.ByteSeqHelper.read(is__); - p3 = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<byte[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opByteSeq> begin_opByteSeq(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opByteSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opByteSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opByteSeq>(this, __opByteSeq_name, opByteSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opByteSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeByteSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opByteSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opByteSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<byte[]> p3; - Ice.Optional<byte[]> ret__; - try - { - ret__ = end_opByteSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opByteSeq_async(Test.AMI_Initial_opByteSeq cb__, Ice.Optional<byte[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opByteSeq> result__; - try - { - checkTwowayOnly__(__opByteSeq_name); - result__ = begin_opByteSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opByteSeq>(this, __opByteSeq_name, opByteSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opByteSeq_async(Test.AMI_Initial_opByteSeq cb__, Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opByteSeq> result__; - try - { - checkTwowayOnly__(__opByteSeq_name); - result__ = begin_opByteSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opByteSeq>(this, __opByteSeq_name, opByteSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opClassAndUnknownOptional> begin_opClassAndUnknownOptional(Test.A p) - { - return begin_opClassAndUnknownOptional(p, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opClassAndUnknownOptional> begin_opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opClassAndUnknownOptional(p, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opClassAndUnknownOptional(Test.A p, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opClassAndUnknownOptional(p, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opClassAndUnknownOptional(p, ctx__, true, cb__, cookie__); - } - - private const string __opClassAndUnknownOptional_name = "opClassAndUnknownOptional"; - - public void end_opClassAndUnknownOptional(Ice.AsyncResult r__) - { - end__(r__, __opClassAndUnknownOptional_name); - } - - private Ice.AsyncResult<Test.Callback_Initial_opClassAndUnknownOptional> begin_opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - IceInternal.OnewayOutgoingAsync<Test.Callback_Initial_opClassAndUnknownOptional> result__ = new IceInternal.OnewayOutgoingAsync<Test.Callback_Initial_opClassAndUnknownOptional>(this, __opClassAndUnknownOptional_name, opClassAndUnknownOptional_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opClassAndUnknownOptional_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeObject(p); - os__.writePendingObjects(); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opClassAndUnknownOptional_completed__(Test.Callback_Initial_opClassAndUnknownOptional cb__) - { - if(cb__ != null) - { - cb__(); - } - } - - public bool opClassAndUnknownOptional_async(Test.AMI_Initial_opClassAndUnknownOptional cb__, Test.A p) - { - Ice.AsyncResult<Test.Callback_Initial_opClassAndUnknownOptional> result__ = begin_opClassAndUnknownOptional(p); - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opClassAndUnknownOptional_async(Test.AMI_Initial_opClassAndUnknownOptional cb__, Test.A p, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opClassAndUnknownOptional> result__ = begin_opClassAndUnknownOptional(p, ctx__); - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opDerivedException> begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - return begin_opDerivedException(a, b, o, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opDerivedException> begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opDerivedException(a, b, o, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opDerivedException(a, b, o, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opDerivedException(a, b, o, ctx__, true, cb__, cookie__); - } - - private const string __opDerivedException_name = "opDerivedException"; - - public void end_opDerivedException(Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opDerivedException_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - outAsync__.readEmptyParams__(); - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opDerivedException> begin_opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opDerivedException_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDerivedException> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDerivedException>(this, __opDerivedException_name, opDerivedException_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opDerivedException_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeInt(1, a); - os__.writeString(2, b); - os__.writeObject(3, o); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opDerivedException_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opDerivedException cb__, Ice.ExceptionCallback excb__) - { - try - { - end_opDerivedException(r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(); - } - } - - public bool opDerivedException_async(Test.AMI_Initial_opDerivedException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - Ice.AsyncResult<Test.Callback_Initial_opDerivedException> result__; - try - { - checkTwowayOnly__(__opDerivedException_name); - result__ = begin_opDerivedException(a, b, o); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDerivedException>(this, __opDerivedException_name, opDerivedException_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opDerivedException_async(Test.AMI_Initial_opDerivedException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opDerivedException> result__; - try - { - checkTwowayOnly__(__opDerivedException_name); - result__ = begin_opDerivedException(a, b, o, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDerivedException>(this, __opDerivedException_name, opDerivedException_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opDouble> begin_opDouble(Ice.Optional<double> p1) - { - return begin_opDouble(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opDouble> begin_opDouble(Ice.Optional<double> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opDouble(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opDouble(Ice.Optional<double> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opDouble(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opDouble(Ice.Optional<double> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opDouble(p1, ctx__, true, cb__, cookie__); - } - - private const string __opDouble_name = "opDouble"; - - public Ice.Optional<double> end_opDouble(out Ice.Optional<double> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opDouble_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<double> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readDouble(1); - p3 = is__.readDouble(3); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opDouble> begin_opDouble(Ice.Optional<double> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opDouble_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDouble> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDouble>(this, __opDouble_name, opDouble_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opDouble_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeDouble(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opDouble_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opDouble cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<double> p3; - Ice.Optional<double> ret__; - try - { - ret__ = end_opDouble(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opDouble_async(Test.AMI_Initial_opDouble cb__, Ice.Optional<double> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opDouble> result__; - try - { - checkTwowayOnly__(__opDouble_name); - result__ = begin_opDouble(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDouble>(this, __opDouble_name, opDouble_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opDouble_async(Test.AMI_Initial_opDouble cb__, Ice.Optional<double> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opDouble> result__; - try - { - checkTwowayOnly__(__opDouble_name); - result__ = begin_opDouble(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDouble>(this, __opDouble_name, opDouble_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opDoubleSeq> begin_opDoubleSeq(Ice.Optional<double[]> p1) - { - return begin_opDoubleSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opDoubleSeq> begin_opDoubleSeq(Ice.Optional<double[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opDoubleSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opDoubleSeq(Ice.Optional<double[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opDoubleSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opDoubleSeq(Ice.Optional<double[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opDoubleSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opDoubleSeq_name = "opDoubleSeq"; - - public Ice.Optional<double[]> end_opDoubleSeq(out Ice.Optional<double[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opDoubleSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<double[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - double[] tmpVal__; - tmpVal__ = Test.DoubleSeqHelper.read(is__); - ret__ = new Ice.Optional<double[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<double[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - double[] tmpVal__; - tmpVal__ = Test.DoubleSeqHelper.read(is__); - p3 = new Ice.Optional<double[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<double[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opDoubleSeq> begin_opDoubleSeq(Ice.Optional<double[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opDoubleSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDoubleSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDoubleSeq>(this, __opDoubleSeq_name, opDoubleSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opDoubleSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeDoubleSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opDoubleSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opDoubleSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<double[]> p3; - Ice.Optional<double[]> ret__; - try - { - ret__ = end_opDoubleSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opDoubleSeq_async(Test.AMI_Initial_opDoubleSeq cb__, Ice.Optional<double[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opDoubleSeq> result__; - try - { - checkTwowayOnly__(__opDoubleSeq_name); - result__ = begin_opDoubleSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDoubleSeq>(this, __opDoubleSeq_name, opDoubleSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opDoubleSeq_async(Test.AMI_Initial_opDoubleSeq cb__, Ice.Optional<double[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opDoubleSeq> result__; - try - { - checkTwowayOnly__(__opDoubleSeq_name); - result__ = begin_opDoubleSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opDoubleSeq>(this, __opDoubleSeq_name, opDoubleSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFixedStruct> begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1) - { - return begin_opFixedStruct(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFixedStruct> begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opFixedStruct(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFixedStruct(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFixedStruct(p1, ctx__, true, cb__, cookie__); - } - - private const string __opFixedStruct_name = "opFixedStruct"; - - public Ice.Optional<Test.FixedStruct> end_opFixedStruct(out Ice.Optional<Test.FixedStruct> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opFixedStruct_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.FixedStruct> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct tmpVal__ = new Test.FixedStruct(); - tmpVal__.read__(is__); - ret__ = new Ice.Optional<Test.FixedStruct>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.FixedStruct>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct tmpVal__ = new Test.FixedStruct(); - tmpVal__.read__(is__); - p3 = new Ice.Optional<Test.FixedStruct>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.FixedStruct>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opFixedStruct> begin_opFixedStruct(Ice.Optional<Test.FixedStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opFixedStruct_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStruct> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStruct>(this, __opFixedStruct_name, opFixedStruct_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opFixedStruct_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(4); - p1.Value.write__(os__); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opFixedStruct_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opFixedStruct cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.FixedStruct> p3; - Ice.Optional<Test.FixedStruct> ret__; - try - { - ret__ = end_opFixedStruct(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opFixedStruct_async(Test.AMI_Initial_opFixedStruct cb__, Ice.Optional<Test.FixedStruct> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opFixedStruct> result__; - try - { - checkTwowayOnly__(__opFixedStruct_name); - result__ = begin_opFixedStruct(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStruct>(this, __opFixedStruct_name, opFixedStruct_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opFixedStruct_async(Test.AMI_Initial_opFixedStruct cb__, Ice.Optional<Test.FixedStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opFixedStruct> result__; - try - { - checkTwowayOnly__(__opFixedStruct_name); - result__ = begin_opFixedStruct(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStruct>(this, __opFixedStruct_name, opFixedStruct_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFixedStructList> begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1) - { - return begin_opFixedStructList(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFixedStructList> begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opFixedStructList(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFixedStructList(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFixedStructList(p1, ctx__, true, cb__, cookie__); - } - - private const string __opFixedStructList_name = "opFixedStructList"; - - public Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> end_opFixedStructList(out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opFixedStructList_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.LinkedList<Test.FixedStruct> tmpVal__; - tmpVal__ = Test.FixedStructListHelper.read(is__); - ret__ = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.LinkedList<Test.FixedStruct> tmpVal__; - tmpVal__ = Test.FixedStructListHelper.read(is__); - p3 = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(tmpVal__); - } - else - { - p3 = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opFixedStructList> begin_opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opFixedStructList_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStructList> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStructList>(this, __opFixedStructList_name, opFixedStructList_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opFixedStructList_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p1.Value == null ? 1 : p1.Value.Count * 4 + (p1.Value.Count > 254 ? 5 : 1)); - Test.FixedStructListHelper.write(os__, p1.Value); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opFixedStructList_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opFixedStructList cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3; - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> ret__; - try - { - ret__ = end_opFixedStructList(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opFixedStructList_async(Test.AMI_Initial_opFixedStructList cb__, Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opFixedStructList> result__; - try - { - checkTwowayOnly__(__opFixedStructList_name); - result__ = begin_opFixedStructList(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStructList>(this, __opFixedStructList_name, opFixedStructList_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opFixedStructList_async(Test.AMI_Initial_opFixedStructList cb__, Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opFixedStructList> result__; - try - { - checkTwowayOnly__(__opFixedStructList_name); - result__ = begin_opFixedStructList(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStructList>(this, __opFixedStructList_name, opFixedStructList_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFixedStructSeq> begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1) - { - return begin_opFixedStructSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFixedStructSeq> begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opFixedStructSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFixedStructSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFixedStructSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opFixedStructSeq_name = "opFixedStructSeq"; - - public Ice.Optional<Test.FixedStruct[]> end_opFixedStructSeq(out Ice.Optional<Test.FixedStruct[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opFixedStructSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.FixedStruct[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct[] tmpVal__; - tmpVal__ = Test.FixedStructSeqHelper.read(is__); - ret__ = new Ice.Optional<Test.FixedStruct[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.FixedStruct[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct[] tmpVal__; - tmpVal__ = Test.FixedStructSeqHelper.read(is__); - p3 = new Ice.Optional<Test.FixedStruct[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.FixedStruct[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opFixedStructSeq> begin_opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opFixedStructSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStructSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStructSeq>(this, __opFixedStructSeq_name, opFixedStructSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opFixedStructSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p1.Value == null ? 1 : p1.Value.Length * 4 + (p1.Value.Length > 254 ? 5 : 1)); - Test.FixedStructSeqHelper.write(os__, p1.Value); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opFixedStructSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opFixedStructSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.FixedStruct[]> p3; - Ice.Optional<Test.FixedStruct[]> ret__; - try - { - ret__ = end_opFixedStructSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opFixedStructSeq_async(Test.AMI_Initial_opFixedStructSeq cb__, Ice.Optional<Test.FixedStruct[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opFixedStructSeq> result__; - try - { - checkTwowayOnly__(__opFixedStructSeq_name); - result__ = begin_opFixedStructSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStructSeq>(this, __opFixedStructSeq_name, opFixedStructSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opFixedStructSeq_async(Test.AMI_Initial_opFixedStructSeq cb__, Ice.Optional<Test.FixedStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opFixedStructSeq> result__; - try - { - checkTwowayOnly__(__opFixedStructSeq_name); - result__ = begin_opFixedStructSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFixedStructSeq>(this, __opFixedStructSeq_name, opFixedStructSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFloat> begin_opFloat(Ice.Optional<float> p1) - { - return begin_opFloat(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFloat> begin_opFloat(Ice.Optional<float> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opFloat(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opFloat(Ice.Optional<float> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFloat(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opFloat(Ice.Optional<float> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFloat(p1, ctx__, true, cb__, cookie__); - } - - private const string __opFloat_name = "opFloat"; - - public Ice.Optional<float> end_opFloat(out Ice.Optional<float> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opFloat_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<float> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readFloat(1); - p3 = is__.readFloat(3); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opFloat> begin_opFloat(Ice.Optional<float> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opFloat_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFloat> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFloat>(this, __opFloat_name, opFloat_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opFloat_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeFloat(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opFloat_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opFloat cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<float> p3; - Ice.Optional<float> ret__; - try - { - ret__ = end_opFloat(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opFloat_async(Test.AMI_Initial_opFloat cb__, Ice.Optional<float> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opFloat> result__; - try - { - checkTwowayOnly__(__opFloat_name); - result__ = begin_opFloat(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFloat>(this, __opFloat_name, opFloat_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opFloat_async(Test.AMI_Initial_opFloat cb__, Ice.Optional<float> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opFloat> result__; - try - { - checkTwowayOnly__(__opFloat_name); - result__ = begin_opFloat(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFloat>(this, __opFloat_name, opFloat_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFloatSeq> begin_opFloatSeq(Ice.Optional<float[]> p1) - { - return begin_opFloatSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opFloatSeq> begin_opFloatSeq(Ice.Optional<float[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opFloatSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opFloatSeq(Ice.Optional<float[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFloatSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opFloatSeq(Ice.Optional<float[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opFloatSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opFloatSeq_name = "opFloatSeq"; - - public Ice.Optional<float[]> end_opFloatSeq(out Ice.Optional<float[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opFloatSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<float[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - float[] tmpVal__; - tmpVal__ = Test.FloatSeqHelper.read(is__); - ret__ = new Ice.Optional<float[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<float[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - float[] tmpVal__; - tmpVal__ = Test.FloatSeqHelper.read(is__); - p3 = new Ice.Optional<float[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<float[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opFloatSeq> begin_opFloatSeq(Ice.Optional<float[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opFloatSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFloatSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFloatSeq>(this, __opFloatSeq_name, opFloatSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opFloatSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeFloatSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opFloatSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opFloatSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<float[]> p3; - Ice.Optional<float[]> ret__; - try - { - ret__ = end_opFloatSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opFloatSeq_async(Test.AMI_Initial_opFloatSeq cb__, Ice.Optional<float[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opFloatSeq> result__; - try - { - checkTwowayOnly__(__opFloatSeq_name); - result__ = begin_opFloatSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFloatSeq>(this, __opFloatSeq_name, opFloatSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opFloatSeq_async(Test.AMI_Initial_opFloatSeq cb__, Ice.Optional<float[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opFloatSeq> result__; - try - { - checkTwowayOnly__(__opFloatSeq_name); - result__ = begin_opFloatSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opFloatSeq>(this, __opFloatSeq_name, opFloatSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opInt> begin_opInt(Ice.Optional<int> p1) - { - return begin_opInt(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opInt> begin_opInt(Ice.Optional<int> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opInt(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opInt(Ice.Optional<int> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opInt(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opInt(Ice.Optional<int> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opInt(p1, ctx__, true, cb__, cookie__); - } - - private const string __opInt_name = "opInt"; - - public Ice.Optional<int> end_opInt(out Ice.Optional<int> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opInt_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<int> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readInt(1); - p3 = is__.readInt(3); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opInt> begin_opInt(Ice.Optional<int> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opInt_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opInt> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opInt>(this, __opInt_name, opInt_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opInt_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeInt(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opInt_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opInt cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<int> p3; - Ice.Optional<int> ret__; - try - { - ret__ = end_opInt(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opInt_async(Test.AMI_Initial_opInt cb__, Ice.Optional<int> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opInt> result__; - try - { - checkTwowayOnly__(__opInt_name); - result__ = begin_opInt(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opInt>(this, __opInt_name, opInt_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opInt_async(Test.AMI_Initial_opInt cb__, Ice.Optional<int> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opInt> result__; - try - { - checkTwowayOnly__(__opInt_name); - result__ = begin_opInt(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opInt>(this, __opInt_name, opInt_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opIntIntDict> begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1) - { - return begin_opIntIntDict(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opIntIntDict> begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opIntIntDict(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opIntIntDict(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opIntIntDict(p1, ctx__, true, cb__, cookie__); - } - - private const string __opIntIntDict_name = "opIntIntDict"; - - public Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> end_opIntIntDict(out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opIntIntDict_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.Dictionary<int, int> tmpVal__ = new _System.Collections.Generic.Dictionary<int, int>(); - tmpVal__ = Test.IntIntDictHelper.read(is__); - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.Dictionary<int, int> tmpVal__ = new _System.Collections.Generic.Dictionary<int, int>(); - tmpVal__ = Test.IntIntDictHelper.read(is__); - p3 = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(tmpVal__); - } - else - { - p3 = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opIntIntDict> begin_opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opIntIntDict_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opIntIntDict> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opIntIntDict>(this, __opIntIntDict_name, opIntIntDict_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opIntIntDict_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p1.Value == null ? 1 : p1.Value.Count * 8 + (p1.Value.Count > 254 ? 5 : 1)); - Test.IntIntDictHelper.write(os__, p1.Value); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opIntIntDict_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opIntIntDict cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3; - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> ret__; - try - { - ret__ = end_opIntIntDict(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opIntIntDict_async(Test.AMI_Initial_opIntIntDict cb__, Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opIntIntDict> result__; - try - { - checkTwowayOnly__(__opIntIntDict_name); - result__ = begin_opIntIntDict(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opIntIntDict>(this, __opIntIntDict_name, opIntIntDict_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opIntIntDict_async(Test.AMI_Initial_opIntIntDict cb__, Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opIntIntDict> result__; - try - { - checkTwowayOnly__(__opIntIntDict_name); - result__ = begin_opIntIntDict(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opIntIntDict>(this, __opIntIntDict_name, opIntIntDict_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opIntSeq> begin_opIntSeq(Ice.Optional<int[]> p1) - { - return begin_opIntSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opIntSeq> begin_opIntSeq(Ice.Optional<int[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opIntSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opIntSeq(Ice.Optional<int[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opIntSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opIntSeq(Ice.Optional<int[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opIntSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opIntSeq_name = "opIntSeq"; - - public Ice.Optional<int[]> end_opIntSeq(out Ice.Optional<int[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opIntSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<int[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - int[] tmpVal__; - tmpVal__ = Test.IntSeqHelper.read(is__); - ret__ = new Ice.Optional<int[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<int[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - int[] tmpVal__; - tmpVal__ = Test.IntSeqHelper.read(is__); - p3 = new Ice.Optional<int[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<int[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opIntSeq> begin_opIntSeq(Ice.Optional<int[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opIntSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opIntSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opIntSeq>(this, __opIntSeq_name, opIntSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opIntSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeIntSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opIntSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opIntSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<int[]> p3; - Ice.Optional<int[]> ret__; - try - { - ret__ = end_opIntSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opIntSeq_async(Test.AMI_Initial_opIntSeq cb__, Ice.Optional<int[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opIntSeq> result__; - try - { - checkTwowayOnly__(__opIntSeq_name); - result__ = begin_opIntSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opIntSeq>(this, __opIntSeq_name, opIntSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opIntSeq_async(Test.AMI_Initial_opIntSeq cb__, Ice.Optional<int[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opIntSeq> result__; - try - { - checkTwowayOnly__(__opIntSeq_name); - result__ = begin_opIntSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opIntSeq>(this, __opIntSeq_name, opIntSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opLong> begin_opLong(Ice.Optional<long> p1) - { - return begin_opLong(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opLong> begin_opLong(Ice.Optional<long> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opLong(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opLong(Ice.Optional<long> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opLong(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opLong(Ice.Optional<long> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opLong(p1, ctx__, true, cb__, cookie__); - } - - private const string __opLong_name = "opLong"; - - public Ice.Optional<long> end_opLong(out Ice.Optional<long> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opLong_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<long> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - p3 = is__.readLong(2); - ret__ = is__.readLong(3); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opLong> begin_opLong(Ice.Optional<long> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opLong_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opLong> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opLong>(this, __opLong_name, opLong_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opLong_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeLong(1, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opLong_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opLong cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<long> p3; - Ice.Optional<long> ret__; - try - { - ret__ = end_opLong(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opLong_async(Test.AMI_Initial_opLong cb__, Ice.Optional<long> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opLong> result__; - try - { - checkTwowayOnly__(__opLong_name); - result__ = begin_opLong(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opLong>(this, __opLong_name, opLong_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opLong_async(Test.AMI_Initial_opLong cb__, Ice.Optional<long> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opLong> result__; - try - { - checkTwowayOnly__(__opLong_name); - result__ = begin_opLong(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opLong>(this, __opLong_name, opLong_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opLongSeq> begin_opLongSeq(Ice.Optional<long[]> p1) - { - return begin_opLongSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opLongSeq> begin_opLongSeq(Ice.Optional<long[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opLongSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opLongSeq(Ice.Optional<long[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opLongSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opLongSeq(Ice.Optional<long[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opLongSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opLongSeq_name = "opLongSeq"; - - public Ice.Optional<long[]> end_opLongSeq(out Ice.Optional<long[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opLongSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<long[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - long[] tmpVal__; - tmpVal__ = Test.LongSeqHelper.read(is__); - ret__ = new Ice.Optional<long[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<long[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - long[] tmpVal__; - tmpVal__ = Test.LongSeqHelper.read(is__); - p3 = new Ice.Optional<long[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<long[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opLongSeq> begin_opLongSeq(Ice.Optional<long[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opLongSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opLongSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opLongSeq>(this, __opLongSeq_name, opLongSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opLongSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeLongSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opLongSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opLongSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<long[]> p3; - Ice.Optional<long[]> ret__; - try - { - ret__ = end_opLongSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opLongSeq_async(Test.AMI_Initial_opLongSeq cb__, Ice.Optional<long[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opLongSeq> result__; - try - { - checkTwowayOnly__(__opLongSeq_name); - result__ = begin_opLongSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opLongSeq>(this, __opLongSeq_name, opLongSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opLongSeq_async(Test.AMI_Initial_opLongSeq cb__, Ice.Optional<long[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opLongSeq> result__; - try - { - checkTwowayOnly__(__opLongSeq_name); - result__ = begin_opLongSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opLongSeq>(this, __opLongSeq_name, opLongSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opMyEnum> begin_opMyEnum(Ice.Optional<Test.MyEnum> p1) - { - return begin_opMyEnum(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opMyEnum> begin_opMyEnum(Ice.Optional<Test.MyEnum> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opMyEnum(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opMyEnum(Ice.Optional<Test.MyEnum> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opMyEnum(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opMyEnum(Ice.Optional<Test.MyEnum> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opMyEnum(p1, ctx__, true, cb__, cookie__); - } - - private const string __opMyEnum_name = "opMyEnum"; - - public Ice.Optional<Test.MyEnum> end_opMyEnum(out Ice.Optional<Test.MyEnum> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opMyEnum_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.MyEnum> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.Size)) - { - Test.MyEnum tmpVal__; - tmpVal__ = (Test.MyEnum)is__.readEnum(0); - ret__ = new Ice.Optional<Test.MyEnum>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.MyEnum>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.Size)) - { - Test.MyEnum tmpVal__; - tmpVal__ = (Test.MyEnum)is__.readEnum(0); - p3 = new Ice.Optional<Test.MyEnum>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.MyEnum>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opMyEnum> begin_opMyEnum(Ice.Optional<Test.MyEnum> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opMyEnum_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opMyEnum> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opMyEnum>(this, __opMyEnum_name, opMyEnum_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opMyEnum_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue) - { - os__.writeEnum(2, (int)p1.Value, 1); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opMyEnum_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opMyEnum cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.MyEnum> p3; - Ice.Optional<Test.MyEnum> ret__; - try - { - ret__ = end_opMyEnum(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opMyEnum_async(Test.AMI_Initial_opMyEnum cb__, Ice.Optional<Test.MyEnum> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opMyEnum> result__; - try - { - checkTwowayOnly__(__opMyEnum_name); - result__ = begin_opMyEnum(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opMyEnum>(this, __opMyEnum_name, opMyEnum_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opMyEnum_async(Test.AMI_Initial_opMyEnum cb__, Ice.Optional<Test.MyEnum> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opMyEnum> result__; - try - { - checkTwowayOnly__(__opMyEnum_name); - result__ = begin_opMyEnum(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opMyEnum>(this, __opMyEnum_name, opMyEnum_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opOneOptional> begin_opOneOptional(Ice.Optional<Test.OneOptional> p1) - { - return begin_opOneOptional(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opOneOptional> begin_opOneOptional(Ice.Optional<Test.OneOptional> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opOneOptional(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opOneOptional(Ice.Optional<Test.OneOptional> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opOneOptional(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opOneOptional(Ice.Optional<Test.OneOptional> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opOneOptional(p1, ctx__, true, cb__, cookie__); - } - - private const string __opOneOptional_name = "opOneOptional"; - - public Ice.Optional<Test.OneOptional> end_opOneOptional(out Ice.Optional<Test.OneOptional> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opOneOptional_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.OneOptional> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - Ice.OptionalPatcher<Test.OneOptional> p3__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - Ice.OptionalPatcher<Test.OneOptional> ret__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - is__.readObject(1, ret__PP); - is__.readObject(3, p3__PP); - outAsync__.endReadParams__(); - p3 = p3__PP.value; - ret__ = ret__PP.value; - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opOneOptional> begin_opOneOptional(Ice.Optional<Test.OneOptional> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opOneOptional_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOneOptional> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOneOptional>(this, __opOneOptional_name, opOneOptional_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opOneOptional_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeObject(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opOneOptional_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opOneOptional cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.OneOptional> p3; - Ice.Optional<Test.OneOptional> ret__; - try - { - ret__ = end_opOneOptional(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opOneOptional_async(Test.AMI_Initial_opOneOptional cb__, Ice.Optional<Test.OneOptional> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opOneOptional> result__; - try - { - checkTwowayOnly__(__opOneOptional_name); - result__ = begin_opOneOptional(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOneOptional>(this, __opOneOptional_name, opOneOptional_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opOneOptional_async(Test.AMI_Initial_opOneOptional cb__, Ice.Optional<Test.OneOptional> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opOneOptional> result__; - try - { - checkTwowayOnly__(__opOneOptional_name); - result__ = begin_opOneOptional(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOneOptional>(this, __opOneOptional_name, opOneOptional_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opOneOptionalProxy> begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1) - { - return begin_opOneOptionalProxy(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opOneOptionalProxy> begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opOneOptionalProxy(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opOneOptionalProxy(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opOneOptionalProxy(p1, ctx__, true, cb__, cookie__); - } - - private const string __opOneOptionalProxy_name = "opOneOptionalProxy"; - - public Ice.Optional<Test.OneOptionalPrx> end_opOneOptionalProxy(out Ice.Optional<Test.OneOptionalPrx> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opOneOptionalProxy_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.OneOptionalPrx> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.OneOptionalPrx tmpVal__; - tmpVal__ = Test.OneOptionalPrxHelper.read__(is__); - ret__ = new Ice.Optional<Test.OneOptionalPrx>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.OneOptionalPrx>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.OneOptionalPrx tmpVal__; - tmpVal__ = Test.OneOptionalPrxHelper.read__(is__); - p3 = new Ice.Optional<Test.OneOptionalPrx>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.OneOptionalPrx>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opOneOptionalProxy> begin_opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opOneOptionalProxy_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOneOptionalProxy> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOneOptionalProxy>(this, __opOneOptionalProxy_name, opOneOptionalProxy_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opOneOptionalProxy_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.OneOptionalPrxHelper.write__(os__, p1.Value); - os__.endSize(); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opOneOptionalProxy_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opOneOptionalProxy cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.OneOptionalPrx> p3; - Ice.Optional<Test.OneOptionalPrx> ret__; - try - { - ret__ = end_opOneOptionalProxy(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opOneOptionalProxy_async(Test.AMI_Initial_opOneOptionalProxy cb__, Ice.Optional<Test.OneOptionalPrx> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opOneOptionalProxy> result__; - try - { - checkTwowayOnly__(__opOneOptionalProxy_name); - result__ = begin_opOneOptionalProxy(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOneOptionalProxy>(this, __opOneOptionalProxy_name, opOneOptionalProxy_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opOneOptionalProxy_async(Test.AMI_Initial_opOneOptionalProxy cb__, Ice.Optional<Test.OneOptionalPrx> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opOneOptionalProxy> result__; - try - { - checkTwowayOnly__(__opOneOptionalProxy_name); - result__ = begin_opOneOptionalProxy(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOneOptionalProxy>(this, __opOneOptionalProxy_name, opOneOptionalProxy_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opOptionalException> begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - return begin_opOptionalException(a, b, o, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opOptionalException> begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opOptionalException(a, b, o, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opOptionalException(a, b, o, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opOptionalException(a, b, o, ctx__, true, cb__, cookie__); - } - - private const string __opOptionalException_name = "opOptionalException"; - - public void end_opOptionalException(Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opOptionalException_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - outAsync__.readEmptyParams__(); - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opOptionalException> begin_opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opOptionalException_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOptionalException> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOptionalException>(this, __opOptionalException_name, opOptionalException_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opOptionalException_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeInt(1, a); - os__.writeString(2, b); - os__.writeObject(3, o); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opOptionalException_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opOptionalException cb__, Ice.ExceptionCallback excb__) - { - try - { - end_opOptionalException(r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(); - } - } - - public bool opOptionalException_async(Test.AMI_Initial_opOptionalException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - Ice.AsyncResult<Test.Callback_Initial_opOptionalException> result__; - try - { - checkTwowayOnly__(__opOptionalException_name); - result__ = begin_opOptionalException(a, b, o); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOptionalException>(this, __opOptionalException_name, opOptionalException_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opOptionalException_async(Test.AMI_Initial_opOptionalException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opOptionalException> result__; - try - { - checkTwowayOnly__(__opOptionalException_name); - result__ = begin_opOptionalException(a, b, o, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opOptionalException>(this, __opOptionalException_name, opOptionalException_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opRequiredException> begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - return begin_opRequiredException(a, b, o, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opRequiredException> begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opRequiredException(a, b, o, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opRequiredException(a, b, o, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opRequiredException(a, b, o, ctx__, true, cb__, cookie__); - } - - private const string __opRequiredException_name = "opRequiredException"; - - public void end_opRequiredException(Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opRequiredException_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - outAsync__.readEmptyParams__(); - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opRequiredException> begin_opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opRequiredException_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opRequiredException> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opRequiredException>(this, __opRequiredException_name, opRequiredException_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opRequiredException_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeInt(1, a); - os__.writeString(2, b); - os__.writeObject(3, o); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opRequiredException_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opRequiredException cb__, Ice.ExceptionCallback excb__) - { - try - { - end_opRequiredException(r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(); - } - } - - public bool opRequiredException_async(Test.AMI_Initial_opRequiredException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o) - { - Ice.AsyncResult<Test.Callback_Initial_opRequiredException> result__; - try - { - checkTwowayOnly__(__opRequiredException_name); - result__ = begin_opRequiredException(a, b, o); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opRequiredException>(this, __opRequiredException_name, opRequiredException_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opRequiredException_async(Test.AMI_Initial_opRequiredException cb__, Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opRequiredException> result__; - try - { - checkTwowayOnly__(__opRequiredException_name); - result__ = begin_opRequiredException(a, b, o, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opRequiredException>(this, __opRequiredException_name, opRequiredException_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opSerializable> begin_opSerializable(Ice.Optional<byte[]> p1) - { - return begin_opSerializable(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opSerializable> begin_opSerializable(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opSerializable(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opSerializable(Ice.Optional<byte[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSerializable(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opSerializable(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSerializable(p1, ctx__, true, cb__, cookie__); - } - - private const string __opSerializable_name = "opSerializable"; - - public Ice.Optional<byte[]> end_opSerializable(out Ice.Optional<byte[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opSerializable_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<byte[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.SerializableHelper.read(is__); - ret__ = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<byte[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.SerializableHelper.read(is__); - p3 = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<byte[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opSerializable> begin_opSerializable(Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opSerializable_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSerializable> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSerializable>(this, __opSerializable_name, opSerializable_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opSerializable_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeByteSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opSerializable_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opSerializable cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<byte[]> p3; - Ice.Optional<byte[]> ret__; - try - { - ret__ = end_opSerializable(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opSerializable_async(Test.AMI_Initial_opSerializable cb__, Ice.Optional<byte[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opSerializable> result__; - try - { - checkTwowayOnly__(__opSerializable_name); - result__ = begin_opSerializable(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSerializable>(this, __opSerializable_name, opSerializable_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opSerializable_async(Test.AMI_Initial_opSerializable cb__, Ice.Optional<byte[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opSerializable> result__; - try - { - checkTwowayOnly__(__opSerializable_name); - result__ = begin_opSerializable(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSerializable>(this, __opSerializable_name, opSerializable_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opShort> begin_opShort(Ice.Optional<short> p1) - { - return begin_opShort(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opShort> begin_opShort(Ice.Optional<short> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opShort(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opShort(Ice.Optional<short> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opShort(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opShort(Ice.Optional<short> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opShort(p1, ctx__, true, cb__, cookie__); - } - - private const string __opShort_name = "opShort"; - - public Ice.Optional<short> end_opShort(out Ice.Optional<short> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opShort_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<short> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readShort(1); - p3 = is__.readShort(3); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opShort> begin_opShort(Ice.Optional<short> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opShort_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opShort> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opShort>(this, __opShort_name, opShort_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opShort_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeShort(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opShort_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opShort cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<short> p3; - Ice.Optional<short> ret__; - try - { - ret__ = end_opShort(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opShort_async(Test.AMI_Initial_opShort cb__, Ice.Optional<short> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opShort> result__; - try - { - checkTwowayOnly__(__opShort_name); - result__ = begin_opShort(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opShort>(this, __opShort_name, opShort_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opShort_async(Test.AMI_Initial_opShort cb__, Ice.Optional<short> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opShort> result__; - try - { - checkTwowayOnly__(__opShort_name); - result__ = begin_opShort(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opShort>(this, __opShort_name, opShort_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opShortSeq> begin_opShortSeq(Ice.Optional<short[]> p1) - { - return begin_opShortSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opShortSeq> begin_opShortSeq(Ice.Optional<short[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opShortSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opShortSeq(Ice.Optional<short[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opShortSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opShortSeq(Ice.Optional<short[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opShortSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opShortSeq_name = "opShortSeq"; - - public Ice.Optional<short[]> end_opShortSeq(out Ice.Optional<short[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opShortSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<short[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - short[] tmpVal__; - tmpVal__ = Test.ShortSeqHelper.read(is__); - ret__ = new Ice.Optional<short[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<short[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - short[] tmpVal__; - tmpVal__ = Test.ShortSeqHelper.read(is__); - p3 = new Ice.Optional<short[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<short[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opShortSeq> begin_opShortSeq(Ice.Optional<short[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opShortSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opShortSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opShortSeq>(this, __opShortSeq_name, opShortSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opShortSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeShortSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opShortSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opShortSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<short[]> p3; - Ice.Optional<short[]> ret__; - try - { - ret__ = end_opShortSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opShortSeq_async(Test.AMI_Initial_opShortSeq cb__, Ice.Optional<short[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opShortSeq> result__; - try - { - checkTwowayOnly__(__opShortSeq_name); - result__ = begin_opShortSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opShortSeq>(this, __opShortSeq_name, opShortSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opShortSeq_async(Test.AMI_Initial_opShortSeq cb__, Ice.Optional<short[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opShortSeq> result__; - try - { - checkTwowayOnly__(__opShortSeq_name); - result__ = begin_opShortSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opShortSeq>(this, __opShortSeq_name, opShortSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opSmallStruct> begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1) - { - return begin_opSmallStruct(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opSmallStruct> begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opSmallStruct(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSmallStruct(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSmallStruct(p1, ctx__, true, cb__, cookie__); - } - - private const string __opSmallStruct_name = "opSmallStruct"; - - public Ice.Optional<Test.SmallStruct> end_opSmallStruct(out Ice.Optional<Test.SmallStruct> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opSmallStruct_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.SmallStruct> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.SmallStruct tmpVal__ = new Test.SmallStruct(); - tmpVal__.read__(is__); - ret__ = new Ice.Optional<Test.SmallStruct>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.SmallStruct>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.SmallStruct tmpVal__ = new Test.SmallStruct(); - tmpVal__.read__(is__); - p3 = new Ice.Optional<Test.SmallStruct>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.SmallStruct>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opSmallStruct> begin_opSmallStruct(Ice.Optional<Test.SmallStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opSmallStruct_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStruct> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStruct>(this, __opSmallStruct_name, opSmallStruct_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opSmallStruct_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(1); - p1.Value.write__(os__); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opSmallStruct_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opSmallStruct cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.SmallStruct> p3; - Ice.Optional<Test.SmallStruct> ret__; - try - { - ret__ = end_opSmallStruct(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opSmallStruct_async(Test.AMI_Initial_opSmallStruct cb__, Ice.Optional<Test.SmallStruct> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opSmallStruct> result__; - try - { - checkTwowayOnly__(__opSmallStruct_name); - result__ = begin_opSmallStruct(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStruct>(this, __opSmallStruct_name, opSmallStruct_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opSmallStruct_async(Test.AMI_Initial_opSmallStruct cb__, Ice.Optional<Test.SmallStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opSmallStruct> result__; - try - { - checkTwowayOnly__(__opSmallStruct_name); - result__ = begin_opSmallStruct(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStruct>(this, __opSmallStruct_name, opSmallStruct_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opSmallStructList> begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1) - { - return begin_opSmallStructList(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opSmallStructList> begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opSmallStructList(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSmallStructList(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSmallStructList(p1, ctx__, true, cb__, cookie__); - } - - private const string __opSmallStructList_name = "opSmallStructList"; - - public Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> end_opSmallStructList(out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opSmallStructList_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - _System.Collections.Generic.List<Test.SmallStruct> tmpVal__; - tmpVal__ = Test.SmallStructListHelper.read(is__); - ret__ = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - _System.Collections.Generic.List<Test.SmallStruct> tmpVal__; - tmpVal__ = Test.SmallStructListHelper.read(is__); - p3 = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpVal__); - } - else - { - p3 = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opSmallStructList> begin_opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opSmallStructList_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStructList> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStructList>(this, __opSmallStructList_name, opSmallStructList_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opSmallStructList_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - Test.SmallStructListHelper.write(os__, p1.Value); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opSmallStructList_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opSmallStructList cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3; - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> ret__; - try - { - ret__ = end_opSmallStructList(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opSmallStructList_async(Test.AMI_Initial_opSmallStructList cb__, Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opSmallStructList> result__; - try - { - checkTwowayOnly__(__opSmallStructList_name); - result__ = begin_opSmallStructList(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStructList>(this, __opSmallStructList_name, opSmallStructList_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opSmallStructList_async(Test.AMI_Initial_opSmallStructList cb__, Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opSmallStructList> result__; - try - { - checkTwowayOnly__(__opSmallStructList_name); - result__ = begin_opSmallStructList(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStructList>(this, __opSmallStructList_name, opSmallStructList_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opSmallStructSeq> begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1) - { - return begin_opSmallStructSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opSmallStructSeq> begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opSmallStructSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSmallStructSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opSmallStructSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opSmallStructSeq_name = "opSmallStructSeq"; - - public Ice.Optional<Test.SmallStruct[]> end_opSmallStructSeq(out Ice.Optional<Test.SmallStruct[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opSmallStructSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.SmallStruct[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - Test.SmallStruct[] tmpVal__; - tmpVal__ = Test.SmallStructSeqHelper.read(is__); - ret__ = new Ice.Optional<Test.SmallStruct[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.SmallStruct[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - Test.SmallStruct[] tmpVal__; - tmpVal__ = Test.SmallStructSeqHelper.read(is__); - p3 = new Ice.Optional<Test.SmallStruct[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.SmallStruct[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opSmallStructSeq> begin_opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opSmallStructSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStructSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStructSeq>(this, __opSmallStructSeq_name, opSmallStructSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opSmallStructSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - Test.SmallStructSeqHelper.write(os__, p1.Value); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opSmallStructSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opSmallStructSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.SmallStruct[]> p3; - Ice.Optional<Test.SmallStruct[]> ret__; - try - { - ret__ = end_opSmallStructSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opSmallStructSeq_async(Test.AMI_Initial_opSmallStructSeq cb__, Ice.Optional<Test.SmallStruct[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opSmallStructSeq> result__; - try - { - checkTwowayOnly__(__opSmallStructSeq_name); - result__ = begin_opSmallStructSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStructSeq>(this, __opSmallStructSeq_name, opSmallStructSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opSmallStructSeq_async(Test.AMI_Initial_opSmallStructSeq cb__, Ice.Optional<Test.SmallStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opSmallStructSeq> result__; - try - { - checkTwowayOnly__(__opSmallStructSeq_name); - result__ = begin_opSmallStructSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opSmallStructSeq>(this, __opSmallStructSeq_name, opSmallStructSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opString> begin_opString(Ice.Optional<string> p1) - { - return begin_opString(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opString> begin_opString(Ice.Optional<string> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opString(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opString(Ice.Optional<string> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opString(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opString(Ice.Optional<string> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opString(p1, ctx__, true, cb__, cookie__); - } - - private const string __opString_name = "opString"; - - public Ice.Optional<string> end_opString(out Ice.Optional<string> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opString_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<string> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readString(1); - p3 = is__.readString(3); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opString> begin_opString(Ice.Optional<string> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opString_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opString> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opString>(this, __opString_name, opString_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opString_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeString(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opString_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opString cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<string> p3; - Ice.Optional<string> ret__; - try - { - ret__ = end_opString(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opString_async(Test.AMI_Initial_opString cb__, Ice.Optional<string> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opString> result__; - try - { - checkTwowayOnly__(__opString_name); - result__ = begin_opString(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opString>(this, __opString_name, opString_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opString_async(Test.AMI_Initial_opString cb__, Ice.Optional<string> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opString> result__; - try - { - checkTwowayOnly__(__opString_name); - result__ = begin_opString(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opString>(this, __opString_name, opString_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opStringIntDict> begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1) - { - return begin_opStringIntDict(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opStringIntDict> begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opStringIntDict(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opStringIntDict(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opStringIntDict(p1, ctx__, true, cb__, cookie__); - } - - private const string __opStringIntDict_name = "opStringIntDict"; - - public Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> end_opStringIntDict(out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opStringIntDict_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<string, int> tmpVal__ = new _System.Collections.Generic.Dictionary<string, int>(); - tmpVal__ = Test.StringIntDictHelper.read(is__); - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<string, int> tmpVal__ = new _System.Collections.Generic.Dictionary<string, int>(); - tmpVal__ = Test.StringIntDictHelper.read(is__); - p3 = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(tmpVal__); - } - else - { - p3 = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opStringIntDict> begin_opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opStringIntDict_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opStringIntDict> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opStringIntDict>(this, __opStringIntDict_name, opStringIntDict_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opStringIntDict_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.StringIntDictHelper.write(os__, p1.Value); - os__.endSize(); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opStringIntDict_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opStringIntDict cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3; - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> ret__; - try - { - ret__ = end_opStringIntDict(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opStringIntDict_async(Test.AMI_Initial_opStringIntDict cb__, Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opStringIntDict> result__; - try - { - checkTwowayOnly__(__opStringIntDict_name); - result__ = begin_opStringIntDict(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opStringIntDict>(this, __opStringIntDict_name, opStringIntDict_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opStringIntDict_async(Test.AMI_Initial_opStringIntDict cb__, Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opStringIntDict> result__; - try - { - checkTwowayOnly__(__opStringIntDict_name); - result__ = begin_opStringIntDict(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opStringIntDict>(this, __opStringIntDict_name, opStringIntDict_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opStringSeq> begin_opStringSeq(Ice.Optional<string[]> p1) - { - return begin_opStringSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opStringSeq> begin_opStringSeq(Ice.Optional<string[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opStringSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opStringSeq(Ice.Optional<string[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opStringSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opStringSeq(Ice.Optional<string[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opStringSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opStringSeq_name = "opStringSeq"; - - public Ice.Optional<string[]> end_opStringSeq(out Ice.Optional<string[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opStringSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<string[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - string[] tmpVal__; - tmpVal__ = Test.StringSeqHelper.read(is__); - ret__ = new Ice.Optional<string[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<string[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - string[] tmpVal__; - tmpVal__ = Test.StringSeqHelper.read(is__); - p3 = new Ice.Optional<string[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<string[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opStringSeq> begin_opStringSeq(Ice.Optional<string[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opStringSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opStringSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opStringSeq>(this, __opStringSeq_name, opStringSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opStringSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeStringSeq(2, p1); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opStringSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opStringSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<string[]> p3; - Ice.Optional<string[]> ret__; - try - { - ret__ = end_opStringSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opStringSeq_async(Test.AMI_Initial_opStringSeq cb__, Ice.Optional<string[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opStringSeq> result__; - try - { - checkTwowayOnly__(__opStringSeq_name); - result__ = begin_opStringSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opStringSeq>(this, __opStringSeq_name, opStringSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opStringSeq_async(Test.AMI_Initial_opStringSeq cb__, Ice.Optional<string[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opStringSeq> result__; - try - { - checkTwowayOnly__(__opStringSeq_name); - result__ = begin_opStringSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opStringSeq>(this, __opStringSeq_name, opStringSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opVarStruct> begin_opVarStruct(Ice.Optional<Test.VarStruct> p1) - { - return begin_opVarStruct(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opVarStruct> begin_opVarStruct(Ice.Optional<Test.VarStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opVarStruct(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opVarStruct(Ice.Optional<Test.VarStruct> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opVarStruct(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opVarStruct(Ice.Optional<Test.VarStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opVarStruct(p1, ctx__, true, cb__, cookie__); - } - - private const string __opVarStruct_name = "opVarStruct"; - - public Ice.Optional<Test.VarStruct> end_opVarStruct(out Ice.Optional<Test.VarStruct> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opVarStruct_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.VarStruct> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct tmpVal__ = null; - if(tmpVal__ == null) - { - tmpVal__ = new Test.VarStruct(); - } - tmpVal__.read__(is__); - ret__ = new Ice.Optional<Test.VarStruct>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.VarStruct>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct tmpVal__ = null; - if(tmpVal__ == null) - { - tmpVal__ = new Test.VarStruct(); - } - tmpVal__.read__(is__); - p3 = new Ice.Optional<Test.VarStruct>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.VarStruct>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opVarStruct> begin_opVarStruct(Ice.Optional<Test.VarStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opVarStruct_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opVarStruct> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opVarStruct>(this, __opVarStruct_name, opVarStruct_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opVarStruct_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - if(p1.Value == null) - { - Test.VarStruct tmp__ = new Test.VarStruct(); - tmp__.write__(os__); - } - else - { - p1.Value.write__(os__); - } - os__.endSize(); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opVarStruct_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opVarStruct cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.VarStruct> p3; - Ice.Optional<Test.VarStruct> ret__; - try - { - ret__ = end_opVarStruct(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opVarStruct_async(Test.AMI_Initial_opVarStruct cb__, Ice.Optional<Test.VarStruct> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opVarStruct> result__; - try - { - checkTwowayOnly__(__opVarStruct_name); - result__ = begin_opVarStruct(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opVarStruct>(this, __opVarStruct_name, opVarStruct_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opVarStruct_async(Test.AMI_Initial_opVarStruct cb__, Ice.Optional<Test.VarStruct> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opVarStruct> result__; - try - { - checkTwowayOnly__(__opVarStruct_name); - result__ = begin_opVarStruct(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opVarStruct>(this, __opVarStruct_name, opVarStruct_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_opVarStructSeq> begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1) - { - return begin_opVarStructSeq(p1, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_opVarStructSeq> begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_opVarStructSeq(p1, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opVarStructSeq(p1, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_opVarStructSeq(p1, ctx__, true, cb__, cookie__); - } - - private const string __opVarStructSeq_name = "opVarStructSeq"; - - public Ice.Optional<Test.VarStruct[]> end_opVarStructSeq(out Ice.Optional<Test.VarStruct[]> p3, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __opVarStructSeq_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Optional<Test.VarStruct[]> ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct[] tmpVal__; - tmpVal__ = Test.VarStructSeqHelper.read(is__); - ret__ = new Ice.Optional<Test.VarStruct[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.VarStruct[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct[] tmpVal__; - tmpVal__ = Test.VarStructSeqHelper.read(is__); - p3 = new Ice.Optional<Test.VarStruct[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.VarStruct[]>(); - } - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_opVarStructSeq> begin_opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__opVarStructSeq_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opVarStructSeq> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opVarStructSeq>(this, __opVarStructSeq_name, opVarStructSeq_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__opVarStructSeq_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.VarStructSeqHelper.write(os__, p1.Value); - os__.endSize(); - } - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void opVarStructSeq_completed__(Ice.AsyncResult r__, Test.Callback_Initial_opVarStructSeq cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.VarStruct[]> p3; - Ice.Optional<Test.VarStruct[]> ret__; - try - { - ret__ = end_opVarStructSeq(out p3, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__, p3); - } - } - - public bool opVarStructSeq_async(Test.AMI_Initial_opVarStructSeq cb__, Ice.Optional<Test.VarStruct[]> p1) - { - Ice.AsyncResult<Test.Callback_Initial_opVarStructSeq> result__; - try - { - checkTwowayOnly__(__opVarStructSeq_name); - result__ = begin_opVarStructSeq(p1); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opVarStructSeq>(this, __opVarStructSeq_name, opVarStructSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool opVarStructSeq_async(Test.AMI_Initial_opVarStructSeq cb__, Ice.Optional<Test.VarStruct[]> p1, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_opVarStructSeq> result__; - try - { - checkTwowayOnly__(__opVarStructSeq_name); - result__ = begin_opVarStructSeq(p1, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_opVarStructSeq>(this, __opVarStructSeq_name, opVarStructSeq_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_pingPong> begin_pingPong(Ice.Object o) - { - return begin_pingPong(o, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_pingPong> begin_pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_pingPong(o, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_pingPong(Ice.Object o, Ice.AsyncCallback cb__, object cookie__) - { - return begin_pingPong(o, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_pingPong(o, ctx__, true, cb__, cookie__); - } - - private const string __pingPong_name = "pingPong"; - - public Ice.Object end_pingPong(Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __pingPong_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - Ice.Object ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - IceInternal.ParamPatcher<Ice.Object> ret__PP = new IceInternal.ParamPatcher<Ice.Object>(Ice.ObjectImpl.ice_staticId()); - is__.readObject(ret__PP); - is__.readPendingObjects(); - outAsync__.endReadParams__(); - ret__ = ret__PP.value; - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_pingPong> begin_pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__pingPong_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_pingPong> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_pingPong>(this, __pingPong_name, pingPong_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__pingPong_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeObject(o); - os__.writePendingObjects(); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void pingPong_completed__(Ice.AsyncResult r__, Test.Callback_Initial_pingPong cb__, Ice.ExceptionCallback excb__) - { - Ice.Object ret__; - try - { - ret__ = end_pingPong(r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__); - } - } - - public bool pingPong_async(Test.AMI_Initial_pingPong cb__, Ice.Object o) - { - Ice.AsyncResult<Test.Callback_Initial_pingPong> result__; - try - { - checkTwowayOnly__(__pingPong_name); - result__ = begin_pingPong(o); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_pingPong>(this, __pingPong_name, pingPong_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool pingPong_async(Test.AMI_Initial_pingPong cb__, Ice.Object o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_pingPong> result__; - try - { - checkTwowayOnly__(__pingPong_name); - result__ = begin_pingPong(o, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_pingPong>(this, __pingPong_name, pingPong_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_returnOptionalClass> begin_returnOptionalClass(bool req) - { - return begin_returnOptionalClass(req, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_returnOptionalClass> begin_returnOptionalClass(bool req, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_returnOptionalClass(req, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_returnOptionalClass(bool req, Ice.AsyncCallback cb__, object cookie__) - { - return begin_returnOptionalClass(req, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_returnOptionalClass(bool req, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_returnOptionalClass(req, ctx__, true, cb__, cookie__); - } - - private const string __returnOptionalClass_name = "returnOptionalClass"; - - public void end_returnOptionalClass(out Ice.Optional<Test.OneOptional> o, Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __returnOptionalClass_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - Ice.OptionalPatcher<Test.OneOptional> o__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - is__.readObject(1, o__PP); - outAsync__.endReadParams__(); - o = o__PP.value; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_returnOptionalClass> begin_returnOptionalClass(bool req, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__returnOptionalClass_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_returnOptionalClass> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_returnOptionalClass>(this, __returnOptionalClass_name, returnOptionalClass_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__returnOptionalClass_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBool(req); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void returnOptionalClass_completed__(Ice.AsyncResult r__, Test.Callback_Initial_returnOptionalClass cb__, Ice.ExceptionCallback excb__) - { - Ice.Optional<Test.OneOptional> o; - try - { - end_returnOptionalClass(out o, r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(o); - } - } - - public bool returnOptionalClass_async(Test.AMI_Initial_returnOptionalClass cb__, bool req) - { - Ice.AsyncResult<Test.Callback_Initial_returnOptionalClass> result__; - try - { - checkTwowayOnly__(__returnOptionalClass_name); - result__ = begin_returnOptionalClass(req); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_returnOptionalClass>(this, __returnOptionalClass_name, returnOptionalClass_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool returnOptionalClass_async(Test.AMI_Initial_returnOptionalClass cb__, bool req, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_returnOptionalClass> result__; - try - { - checkTwowayOnly__(__returnOptionalClass_name); - result__ = begin_returnOptionalClass(req, ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_returnOptionalClass>(this, __returnOptionalClass_name, returnOptionalClass_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_sendOptionalClass> begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o) - { - return begin_sendOptionalClass(req, o, null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_sendOptionalClass> begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_sendOptionalClass(req, o, ctx__, true, null, null); - } - - public Ice.AsyncResult begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, Ice.AsyncCallback cb__, object cookie__) - { - return begin_sendOptionalClass(req, o, null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_sendOptionalClass(req, o, ctx__, true, cb__, cookie__); - } - - private const string __sendOptionalClass_name = "sendOptionalClass"; - - public void end_sendOptionalClass(Ice.AsyncResult r__) - { - end__(r__, __sendOptionalClass_name); - } - - private Ice.AsyncResult<Test.Callback_Initial_sendOptionalClass> begin_sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - IceInternal.OnewayOutgoingAsync<Test.Callback_Initial_sendOptionalClass> result__ = new IceInternal.OnewayOutgoingAsync<Test.Callback_Initial_sendOptionalClass>(this, __sendOptionalClass_name, sendOptionalClass_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__sendOptionalClass_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - IceInternal.BasicStream os__ = result__.startWriteParams__(Ice.FormatType.DefaultFormat); - os__.writeBool(req); - os__.writeObject(1, o); - result__.endWriteParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void sendOptionalClass_completed__(Test.Callback_Initial_sendOptionalClass cb__) - { - if(cb__ != null) - { - cb__(); - } - } - - public bool sendOptionalClass_async(Test.AMI_Initial_sendOptionalClass cb__, bool req, Ice.Optional<Test.OneOptional> o) - { - Ice.AsyncResult<Test.Callback_Initial_sendOptionalClass> result__ = begin_sendOptionalClass(req, o); - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool sendOptionalClass_async(Test.AMI_Initial_sendOptionalClass cb__, bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_sendOptionalClass> result__ = begin_sendOptionalClass(req, o, ctx__); - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_shutdown> begin_shutdown() - { - return begin_shutdown(null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_shutdown> begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_shutdown(ctx__, true, null, null); - } - - public Ice.AsyncResult begin_shutdown(Ice.AsyncCallback cb__, object cookie__) - { - return begin_shutdown(null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_shutdown(ctx__, true, cb__, cookie__); - } - - private const string __shutdown_name = "shutdown"; - - public void end_shutdown(Ice.AsyncResult r__) - { - end__(r__, __shutdown_name); - } - - private Ice.AsyncResult<Test.Callback_Initial_shutdown> begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - IceInternal.OnewayOutgoingAsync<Test.Callback_Initial_shutdown> result__ = new IceInternal.OnewayOutgoingAsync<Test.Callback_Initial_shutdown>(this, __shutdown_name, shutdown_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__shutdown_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - result__.writeEmptyParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void shutdown_completed__(Test.Callback_Initial_shutdown cb__) - { - if(cb__ != null) - { - cb__(); - } - } - - public bool shutdown_async(Test.AMI_Initial_shutdown cb__) - { - Ice.AsyncResult<Test.Callback_Initial_shutdown> result__ = begin_shutdown(); - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool shutdown_async(Test.AMI_Initial_shutdown cb__, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_shutdown> result__ = begin_shutdown(ctx__); - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_supportsCsharpSerializable> begin_supportsCsharpSerializable() - { - return begin_supportsCsharpSerializable(null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_supportsCsharpSerializable> begin_supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_supportsCsharpSerializable(ctx__, true, null, null); - } - - public Ice.AsyncResult begin_supportsCsharpSerializable(Ice.AsyncCallback cb__, object cookie__) - { - return begin_supportsCsharpSerializable(null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_supportsCsharpSerializable(ctx__, true, cb__, cookie__); - } - - private const string __supportsCsharpSerializable_name = "supportsCsharpSerializable"; - - public bool end_supportsCsharpSerializable(Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __supportsCsharpSerializable_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - bool ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readBool(); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_supportsCsharpSerializable> begin_supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__supportsCsharpSerializable_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsCsharpSerializable> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsCsharpSerializable>(this, __supportsCsharpSerializable_name, supportsCsharpSerializable_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__supportsCsharpSerializable_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - result__.writeEmptyParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void supportsCsharpSerializable_completed__(Ice.AsyncResult r__, Test.Callback_Initial_supportsCsharpSerializable cb__, Ice.ExceptionCallback excb__) - { - bool ret__; - try - { - ret__ = end_supportsCsharpSerializable(r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__); - } - } - - public bool supportsCsharpSerializable_async(Test.AMI_Initial_supportsCsharpSerializable cb__) - { - Ice.AsyncResult<Test.Callback_Initial_supportsCsharpSerializable> result__; - try - { - checkTwowayOnly__(__supportsCsharpSerializable_name); - result__ = begin_supportsCsharpSerializable(); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsCsharpSerializable>(this, __supportsCsharpSerializable_name, supportsCsharpSerializable_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool supportsCsharpSerializable_async(Test.AMI_Initial_supportsCsharpSerializable cb__, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_supportsCsharpSerializable> result__; - try - { - checkTwowayOnly__(__supportsCsharpSerializable_name); - result__ = begin_supportsCsharpSerializable(ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsCsharpSerializable>(this, __supportsCsharpSerializable_name, supportsCsharpSerializable_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_supportsJavaSerializable> begin_supportsJavaSerializable() - { - return begin_supportsJavaSerializable(null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_supportsJavaSerializable> begin_supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_supportsJavaSerializable(ctx__, true, null, null); - } - - public Ice.AsyncResult begin_supportsJavaSerializable(Ice.AsyncCallback cb__, object cookie__) - { - return begin_supportsJavaSerializable(null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_supportsJavaSerializable(ctx__, true, cb__, cookie__); - } - - private const string __supportsJavaSerializable_name = "supportsJavaSerializable"; - - public bool end_supportsJavaSerializable(Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __supportsJavaSerializable_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - bool ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readBool(); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_supportsJavaSerializable> begin_supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__supportsJavaSerializable_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsJavaSerializable> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsJavaSerializable>(this, __supportsJavaSerializable_name, supportsJavaSerializable_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__supportsJavaSerializable_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - result__.writeEmptyParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void supportsJavaSerializable_completed__(Ice.AsyncResult r__, Test.Callback_Initial_supportsJavaSerializable cb__, Ice.ExceptionCallback excb__) - { - bool ret__; - try - { - ret__ = end_supportsJavaSerializable(r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__); - } - } - - public bool supportsJavaSerializable_async(Test.AMI_Initial_supportsJavaSerializable cb__) - { - Ice.AsyncResult<Test.Callback_Initial_supportsJavaSerializable> result__; - try - { - checkTwowayOnly__(__supportsJavaSerializable_name); - result__ = begin_supportsJavaSerializable(); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsJavaSerializable>(this, __supportsJavaSerializable_name, supportsJavaSerializable_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool supportsJavaSerializable_async(Test.AMI_Initial_supportsJavaSerializable cb__, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_supportsJavaSerializable> result__; - try - { - checkTwowayOnly__(__supportsJavaSerializable_name); - result__ = begin_supportsJavaSerializable(ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsJavaSerializable>(this, __supportsJavaSerializable_name, supportsJavaSerializable_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public Ice.AsyncResult<Test.Callback_Initial_supportsRequiredParams> begin_supportsRequiredParams() - { - return begin_supportsRequiredParams(null, false, null, null); - } - - public Ice.AsyncResult<Test.Callback_Initial_supportsRequiredParams> begin_supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> ctx__) - { - return begin_supportsRequiredParams(ctx__, true, null, null); - } - - public Ice.AsyncResult begin_supportsRequiredParams(Ice.AsyncCallback cb__, object cookie__) - { - return begin_supportsRequiredParams(null, false, cb__, cookie__); - } - - public Ice.AsyncResult begin_supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) - { - return begin_supportsRequiredParams(ctx__, true, cb__, cookie__); - } - - private const string __supportsRequiredParams_name = "supportsRequiredParams"; - - public bool end_supportsRequiredParams(Ice.AsyncResult r__) - { - IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; - IceInternal.OutgoingAsync.check__(outAsync__, this, __supportsRequiredParams_name); - bool ok__ = outAsync__.wait__(); - try - { - if(!ok__) - { - try - { - outAsync__.throwUserException__(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - bool ret__; - IceInternal.BasicStream is__ = outAsync__.startReadParams__(); - ret__ = is__.readBool(); - outAsync__.endReadParams__(); - return ret__; - } - catch(Ice.LocalException ex) - { - Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); - if(obsv__ != null) - { - obsv__.failed(ex.ice_name()); - } - throw ex; - } - } - - private Ice.AsyncResult<Test.Callback_Initial_supportsRequiredParams> begin_supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__) - { - checkAsyncTwowayOnly__(__supportsRequiredParams_name); - IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsRequiredParams> result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsRequiredParams>(this, __supportsRequiredParams_name, supportsRequiredParams_completed__, cookie__); - if(cb__ != null) - { - result__.whenCompletedWithAsyncCallback(cb__); - } - try - { - result__.prepare__(__supportsRequiredParams_name, Ice.OperationMode.Normal, ctx__, explicitContext__); - result__.writeEmptyParams__(); - result__.send__(true); - } - catch(Ice.LocalException ex__) - { - result__.exceptionAsync__(ex__); - } - return result__; - } - - private void supportsRequiredParams_completed__(Ice.AsyncResult r__, Test.Callback_Initial_supportsRequiredParams cb__, Ice.ExceptionCallback excb__) - { - bool ret__; - try - { - ret__ = end_supportsRequiredParams(r__); - } - catch(Ice.Exception ex__) - { - if(excb__ != null) - { - excb__(ex__); - } - return; - } - if(cb__ != null) - { - cb__(ret__); - } - } - - public bool supportsRequiredParams_async(Test.AMI_Initial_supportsRequiredParams cb__) - { - Ice.AsyncResult<Test.Callback_Initial_supportsRequiredParams> result__; - try - { - checkTwowayOnly__(__supportsRequiredParams_name); - result__ = begin_supportsRequiredParams(); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsRequiredParams>(this, __supportsRequiredParams_name, supportsRequiredParams_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - public bool supportsRequiredParams_async(Test.AMI_Initial_supportsRequiredParams cb__, _System.Collections.Generic.Dictionary<string, string> ctx__) - { - Ice.AsyncResult<Test.Callback_Initial_supportsRequiredParams> result__; - try - { - checkTwowayOnly__(__supportsRequiredParams_name); - result__ = begin_supportsRequiredParams(ctx__); - } - catch(Ice.TwowayOnlyException ex) - { - result__ = new IceInternal.TwowayOutgoingAsync<Test.Callback_Initial_supportsRequiredParams>(this, __supportsRequiredParams_name, supportsRequiredParams_completed__, null); - ((IceInternal.OutgoingAsyncBase)result__).exceptionAsync__(ex); - } - result__.whenCompleted(cb__.response__, cb__.exception__); - if(cb__ is Ice.AMISentCallback) - { - result__.whenSent((Ice.AsyncCallback)cb__.sent__); - } - return result__.sentSynchronously(); - } - - #endregion - - #region Checked and unchecked cast operations - - public static InitialPrx checkedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - InitialPrx r = b as InitialPrx; - if((r == null) && b.ice_isA(ice_staticId())) - { - InitialPrxHelper h = new InitialPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static InitialPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - InitialPrx r = b as InitialPrx; - if((r == null) && b.ice_isA(ice_staticId(), ctx)) - { - InitialPrxHelper h = new InitialPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static InitialPrx checkedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId())) - { - InitialPrxHelper h = new InitialPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static InitialPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - try - { - if(bb.ice_isA(ice_staticId(), ctx)) - { - InitialPrxHelper h = new InitialPrxHelper(); - h.copyFrom__(bb); - return h; - } - } - catch(Ice.FacetNotExistException) - { - } - return null; - } - - public static InitialPrx uncheckedCast(Ice.ObjectPrx b) - { - if(b == null) - { - return null; - } - InitialPrx r = b as InitialPrx; - if(r == null) - { - InitialPrxHelper h = new InitialPrxHelper(); - h.copyFrom__(b); - r = h; - } - return r; - } - - public static InitialPrx uncheckedCast(Ice.ObjectPrx b, string f) - { - if(b == null) - { - return null; - } - Ice.ObjectPrx bb = b.ice_facet(f); - InitialPrxHelper h = new InitialPrxHelper(); - h.copyFrom__(bb); - return h; - } - - public static readonly string[] ids__ = - { - "::Ice::Object", - "::Test::Initial" - }; - - public static string ice_staticId() - { - return ids__[1]; - } - - #endregion - - #region Marshaling support - - protected override Ice.ObjectDelM_ createDelegateM__() - { - return new InitialDelM_(); - } - - protected override Ice.ObjectDelD_ createDelegateD__() - { - return new InitialDelD_(); - } - - public static void write__(IceInternal.BasicStream os__, InitialPrx v__) - { - os__.writeProxy(v__); - } - - public static InitialPrx read__(IceInternal.BasicStream is__) - { - Ice.ObjectPrx proxy = is__.readProxy(); - if(proxy != null) - { - InitialPrxHelper result = new InitialPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - public static void write(Ice.OutputStream outS__, InitialPrx v__) - { - outS__.writeProxy(v__); - } - - public static InitialPrx read(Ice.InputStream inS__) - { - Ice.ObjectPrx proxy = inS__.readProxy(); - if(proxy != null) - { - InitialPrxHelper result = new InitialPrxHelper(); - result.copyFrom__(proxy); - return result; - } - return null; - } - - #endregion - } -} - -namespace Test -{ - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface OneOptionalDel_ : Ice.ObjectDel_ - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface MultiOptionalDel_ : Ice.ObjectDel_ - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface ADel_ : Ice.ObjectDel_ - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface BDel_ : Test.ADel_ - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface CDel_ : Test.BDel_ - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface WDDel_ : Ice.ObjectDel_ - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface OptionalWithCustomDel_ : Ice.ObjectDel_ - { - } - - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public interface InitialDel_ : Ice.ObjectDel_ - { - void shutdown(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Object pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - void opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - bool supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - bool supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - - bool supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__); - } -} - -namespace Test -{ - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OneOptionalDelM_ : Ice.ObjectDelM_, OneOptionalDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class MultiOptionalDelM_ : Ice.ObjectDelM_, MultiOptionalDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class ADelM_ : Ice.ObjectDelM_, ADel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class BDelM_ : Ice.ObjectDelM_, BDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class CDelM_ : Ice.ObjectDelM_, CDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class WDDelM_ : Ice.ObjectDelM_, WDDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OptionalWithCustomDelM_ : Ice.ObjectDelM_, OptionalWithCustomDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class InitialDelM_ : Ice.ObjectDelM_, InitialDel_ - { - public Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opBool", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeBool(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<bool> ret__; - ret__ = is__.readBool(1); - p3 = is__.readBool(3); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opBoolSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeBoolSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<bool[]> ret__; - ret__ = new Ice.Optional<bool[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - bool[] tmpVal__; - tmpVal__ = Test.BoolSeqHelper.read(is__); - ret__ = new Ice.Optional<bool[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<bool[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - bool[] tmpVal__; - tmpVal__ = Test.BoolSeqHelper.read(is__); - p3 = new Ice.Optional<bool[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<bool[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opByte", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeByte(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<byte> ret__; - ret__ = is__.readByte(1); - p3 = is__.readByte(3); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opByteSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeByteSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<byte[]> ret__; - ret__ = new Ice.Optional<byte[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.ByteSeqHelper.read(is__); - ret__ = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<byte[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.ByteSeqHelper.read(is__); - p3 = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<byte[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public void opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opClassAndUnknownOptional", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeObject(p); - os__.writePendingObjects(); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - if(og__.hasResponse()) - { - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - og__.readEmptyParams(); - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opDerivedException", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeInt(1, a); - os__.writeString(2, b); - os__.writeObject(3, o); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - og__.readEmptyParams(); - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opDouble", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeDouble(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<double> ret__; - ret__ = is__.readDouble(1); - p3 = is__.readDouble(3); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opDoubleSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeDoubleSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<double[]> ret__; - ret__ = new Ice.Optional<double[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - double[] tmpVal__; - tmpVal__ = Test.DoubleSeqHelper.read(is__); - ret__ = new Ice.Optional<double[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<double[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - double[] tmpVal__; - tmpVal__ = Test.DoubleSeqHelper.read(is__); - p3 = new Ice.Optional<double[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<double[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opFixedStruct", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(4); - p1.Value.write__(os__); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.FixedStruct> ret__; - ret__ = new Ice.Optional<Test.FixedStruct>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct tmpVal__ = new Test.FixedStruct(); - tmpVal__.read__(is__); - ret__ = new Ice.Optional<Test.FixedStruct>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.FixedStruct>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct tmpVal__ = new Test.FixedStruct(); - tmpVal__.read__(is__); - p3 = new Ice.Optional<Test.FixedStruct>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.FixedStruct>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opFixedStructList", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p1.Value == null ? 1 : p1.Value.Count * 4 + (p1.Value.Count > 254 ? 5 : 1)); - Test.FixedStructListHelper.write(os__, p1.Value); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> ret__; - ret__ = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.LinkedList<Test.FixedStruct> tmpVal__; - tmpVal__ = Test.FixedStructListHelper.read(is__); - ret__ = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.LinkedList<Test.FixedStruct> tmpVal__; - tmpVal__ = Test.FixedStructListHelper.read(is__); - p3 = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(tmpVal__); - } - else - { - p3 = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opFixedStructSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p1.Value == null ? 1 : p1.Value.Length * 4 + (p1.Value.Length > 254 ? 5 : 1)); - Test.FixedStructSeqHelper.write(os__, p1.Value); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.FixedStruct[]> ret__; - ret__ = new Ice.Optional<Test.FixedStruct[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct[] tmpVal__; - tmpVal__ = Test.FixedStructSeqHelper.read(is__); - ret__ = new Ice.Optional<Test.FixedStruct[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.FixedStruct[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.FixedStruct[] tmpVal__; - tmpVal__ = Test.FixedStructSeqHelper.read(is__); - p3 = new Ice.Optional<Test.FixedStruct[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.FixedStruct[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opFloat", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeFloat(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<float> ret__; - ret__ = is__.readFloat(1); - p3 = is__.readFloat(3); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opFloatSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeFloatSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<float[]> ret__; - ret__ = new Ice.Optional<float[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - float[] tmpVal__; - tmpVal__ = Test.FloatSeqHelper.read(is__); - ret__ = new Ice.Optional<float[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<float[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - float[] tmpVal__; - tmpVal__ = Test.FloatSeqHelper.read(is__); - p3 = new Ice.Optional<float[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<float[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opInt", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeInt(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<int> ret__; - ret__ = is__.readInt(1); - p3 = is__.readInt(3); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opIntIntDict", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(p1.Value == null ? 1 : p1.Value.Count * 8 + (p1.Value.Count > 254 ? 5 : 1)); - Test.IntIntDictHelper.write(os__, p1.Value); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> ret__; - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.Dictionary<int, int> tmpVal__ = new _System.Collections.Generic.Dictionary<int, int>(); - tmpVal__ = Test.IntIntDictHelper.read(is__); - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - _System.Collections.Generic.Dictionary<int, int> tmpVal__ = new _System.Collections.Generic.Dictionary<int, int>(); - tmpVal__ = Test.IntIntDictHelper.read(is__); - p3 = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(tmpVal__); - } - else - { - p3 = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opIntSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeIntSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<int[]> ret__; - ret__ = new Ice.Optional<int[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - int[] tmpVal__; - tmpVal__ = Test.IntSeqHelper.read(is__); - ret__ = new Ice.Optional<int[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<int[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - int[] tmpVal__; - tmpVal__ = Test.IntSeqHelper.read(is__); - p3 = new Ice.Optional<int[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<int[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opLong", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeLong(1, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<long> ret__; - p3 = is__.readLong(2); - ret__ = is__.readLong(3); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opLongSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeLongSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<long[]> ret__; - ret__ = new Ice.Optional<long[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - long[] tmpVal__; - tmpVal__ = Test.LongSeqHelper.read(is__); - ret__ = new Ice.Optional<long[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<long[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - long[] tmpVal__; - tmpVal__ = Test.LongSeqHelper.read(is__); - p3 = new Ice.Optional<long[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<long[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opMyEnum", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue) - { - os__.writeEnum(2, (int)p1.Value, 1); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.MyEnum> ret__; - ret__ = new Ice.Optional<Test.MyEnum>(); - if(is__.readOpt(1, Ice.OptionalFormat.Size)) - { - Test.MyEnum tmpVal__; - tmpVal__ = (Test.MyEnum)is__.readEnum(0); - ret__ = new Ice.Optional<Test.MyEnum>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.MyEnum>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.Size)) - { - Test.MyEnum tmpVal__; - tmpVal__ = (Test.MyEnum)is__.readEnum(0); - p3 = new Ice.Optional<Test.MyEnum>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.MyEnum>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opOneOptional", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeObject(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.OneOptional> ret__; - ret__ = new Ice.Optional<Test.OneOptional>(); - Ice.OptionalPatcher<Test.OneOptional> p3__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - Ice.OptionalPatcher<Test.OneOptional> ret__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - is__.readObject(1, ret__PP); - is__.readObject(3, p3__PP); - og__.endReadParams(); - p3 = p3__PP.value; - ret__ = ret__PP.value; - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opOneOptionalProxy", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.OneOptionalPrxHelper.write__(os__, p1.Value); - os__.endSize(); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.OneOptionalPrx> ret__; - ret__ = new Ice.Optional<Test.OneOptionalPrx>(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.OneOptionalPrx tmpVal__; - tmpVal__ = Test.OneOptionalPrxHelper.read__(is__); - ret__ = new Ice.Optional<Test.OneOptionalPrx>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.OneOptionalPrx>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.OneOptionalPrx tmpVal__; - tmpVal__ = Test.OneOptionalPrxHelper.read__(is__); - p3 = new Ice.Optional<Test.OneOptionalPrx>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.OneOptionalPrx>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opOptionalException", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeInt(1, a); - os__.writeString(2, b); - os__.writeObject(3, o); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - og__.readEmptyParams(); - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opRequiredException", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeInt(1, a); - os__.writeString(2, b); - os__.writeObject(3, o); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - og__.readEmptyParams(); - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opSerializable", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeByteSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<byte[]> ret__; - ret__ = new Ice.Optional<byte[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.SerializableHelper.read(is__); - ret__ = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<byte[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - byte[] tmpVal__; - tmpVal__ = Test.SerializableHelper.read(is__); - p3 = new Ice.Optional<byte[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<byte[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opShort", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeShort(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<short> ret__; - ret__ = is__.readShort(1); - p3 = is__.readShort(3); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opShortSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeShortSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<short[]> ret__; - ret__ = new Ice.Optional<short[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - short[] tmpVal__; - tmpVal__ = Test.ShortSeqHelper.read(is__); - ret__ = new Ice.Optional<short[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<short[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - short[] tmpVal__; - tmpVal__ = Test.ShortSeqHelper.read(is__); - p3 = new Ice.Optional<short[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<short[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opSmallStruct", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - os__.writeSize(1); - p1.Value.write__(os__); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.SmallStruct> ret__; - ret__ = new Ice.Optional<Test.SmallStruct>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.SmallStruct tmpVal__ = new Test.SmallStruct(); - tmpVal__.read__(is__); - ret__ = new Ice.Optional<Test.SmallStruct>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.SmallStruct>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - is__.skipSize(); - Test.SmallStruct tmpVal__ = new Test.SmallStruct(); - tmpVal__.read__(is__); - p3 = new Ice.Optional<Test.SmallStruct>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.SmallStruct>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opSmallStructList", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - Test.SmallStructListHelper.write(os__, p1.Value); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> ret__; - ret__ = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - _System.Collections.Generic.List<Test.SmallStruct> tmpVal__; - tmpVal__ = Test.SmallStructListHelper.read(is__); - ret__ = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - _System.Collections.Generic.List<Test.SmallStruct> tmpVal__; - tmpVal__ = Test.SmallStructListHelper.read(is__); - p3 = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(tmpVal__); - } - else - { - p3 = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opSmallStructSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.VSize)) - { - Test.SmallStructSeqHelper.write(os__, p1.Value); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.SmallStruct[]> ret__; - ret__ = new Ice.Optional<Test.SmallStruct[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.VSize)) - { - Test.SmallStruct[] tmpVal__; - tmpVal__ = Test.SmallStructSeqHelper.read(is__); - ret__ = new Ice.Optional<Test.SmallStruct[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.SmallStruct[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.VSize)) - { - Test.SmallStruct[] tmpVal__; - tmpVal__ = Test.SmallStructSeqHelper.read(is__); - p3 = new Ice.Optional<Test.SmallStruct[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.SmallStruct[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opString", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeString(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<string> ret__; - ret__ = is__.readString(1); - p3 = is__.readString(3); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opStringIntDict", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.StringIntDictHelper.write(os__, p1.Value); - os__.endSize(); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> ret__; - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<string, int> tmpVal__ = new _System.Collections.Generic.Dictionary<string, int>(); - tmpVal__ = Test.StringIntDictHelper.read(is__); - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - _System.Collections.Generic.Dictionary<string, int> tmpVal__ = new _System.Collections.Generic.Dictionary<string, int>(); - tmpVal__ = Test.StringIntDictHelper.read(is__); - p3 = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(tmpVal__); - } - else - { - p3 = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opStringSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeStringSeq(2, p1); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<string[]> ret__; - ret__ = new Ice.Optional<string[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - string[] tmpVal__; - tmpVal__ = Test.StringSeqHelper.read(is__); - ret__ = new Ice.Optional<string[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<string[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - string[] tmpVal__; - tmpVal__ = Test.StringSeqHelper.read(is__); - p3 = new Ice.Optional<string[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<string[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opVarStruct", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - if(p1.Value == null) - { - Test.VarStruct tmp__ = new Test.VarStruct(); - tmp__.write__(os__); - } - else - { - p1.Value.write__(os__); - } - os__.endSize(); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.VarStruct> ret__; - ret__ = new Ice.Optional<Test.VarStruct>(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct tmpVal__ = null; - if(tmpVal__ == null) - { - tmpVal__ = new Test.VarStruct(); - } - tmpVal__.read__(is__); - ret__ = new Ice.Optional<Test.VarStruct>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.VarStruct>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct tmpVal__ = null; - if(tmpVal__ == null) - { - tmpVal__ = new Test.VarStruct(); - } - tmpVal__.read__(is__); - p3 = new Ice.Optional<Test.VarStruct>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.VarStruct>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("opVarStructSeq", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - if(p1.HasValue && os__.writeOpt(2, Ice.OptionalFormat.FSize)) - { - os__.startSize(); - Test.VarStructSeqHelper.write(os__, p1.Value); - os__.endSize(); - } - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Optional<Test.VarStruct[]> ret__; - ret__ = new Ice.Optional<Test.VarStruct[]>(); - if(is__.readOpt(1, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct[] tmpVal__; - tmpVal__ = Test.VarStructSeqHelper.read(is__); - ret__ = new Ice.Optional<Test.VarStruct[]>(tmpVal__); - } - else - { - ret__ = new Ice.Optional<Test.VarStruct[]>(); - } - if(is__.readOpt(3, Ice.OptionalFormat.FSize)) - { - is__.skip(4); - Test.VarStruct[] tmpVal__; - tmpVal__ = Test.VarStructSeqHelper.read(is__); - p3 = new Ice.Optional<Test.VarStruct[]>(tmpVal__); - } - else - { - p3 = new Ice.Optional<Test.VarStruct[]>(); - } - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public Ice.Object pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("pingPong", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeObject(o); - os__.writePendingObjects(); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.Object ret__; - IceInternal.ParamPatcher<Ice.Object> ret__PP = new IceInternal.ParamPatcher<Ice.Object>(Ice.ObjectImpl.ice_staticId()); - is__.readObject(ret__PP); - is__.readPendingObjects(); - og__.endReadParams(); - ret__ = ret__PP.value; - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("returnOptionalClass", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeBool(req); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - Ice.OptionalPatcher<Test.OneOptional> o__PP = new Ice.OptionalPatcher<Test.OneOptional>(Test.OneOptional.ice_staticId()); - is__.readObject(1, o__PP); - og__.endReadParams(); - o = o__PP.value; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("sendOptionalClass", Ice.OperationMode.Normal, context__, observer__); - try - { - try - { - IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); - os__.writeBool(req); - os__.writeObject(1, o); - og__.endWriteParams(); - } - catch(Ice.LocalException ex__) - { - og__.abort(ex__); - } - bool ok__ = og__.invoke(); - if(og__.hasResponse()) - { - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - og__.readEmptyParams(); - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public void shutdown(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("shutdown", Ice.OperationMode.Normal, context__, observer__); - try - { - og__.writeEmptyParams(); - bool ok__ = og__.invoke(); - if(og__.hasResponse()) - { - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - og__.readEmptyParams(); - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public bool supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("supportsCsharpSerializable", Ice.OperationMode.Normal, context__, observer__); - try - { - og__.writeEmptyParams(); - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - bool ret__; - ret__ = is__.readBool(); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public bool supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("supportsJavaSerializable", Ice.OperationMode.Normal, context__, observer__); - try - { - og__.writeEmptyParams(); - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - bool ret__; - ret__ = is__.readBool(); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - - public bool supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - IceInternal.Outgoing og__ = handler__.getOutgoing("supportsRequiredParams", Ice.OperationMode.Normal, context__, observer__); - try - { - og__.writeEmptyParams(); - bool ok__ = og__.invoke(); - try - { - if(!ok__) - { - try - { - og__.throwUserException(); - } - catch(Ice.UserException ex__) - { - throw new Ice.UnknownUserException(ex__.ice_name(), ex__); - } - } - IceInternal.BasicStream is__ = og__.startReadParams(); - bool ret__; - ret__ = is__.readBool(); - og__.endReadParams(); - return ret__; - } - catch(Ice.LocalException ex__) - { - throw new IceInternal.LocalExceptionWrapper(ex__, false); - } - } - finally - { - handler__.reclaimOutgoing(og__); - } - } - } -} - -namespace Test -{ - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OneOptionalDelD_ : Ice.ObjectDelD_, OneOptionalDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class MultiOptionalDelD_ : Ice.ObjectDelD_, MultiOptionalDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class ADelD_ : Ice.ObjectDelD_, ADel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class BDelD_ : Ice.ObjectDelD_, BDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class CDelD_ : Ice.ObjectDelD_, CDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class WDDelD_ : Ice.ObjectDelD_, WDDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class OptionalWithCustomDelD_ : Ice.ObjectDelD_, OptionalWithCustomDel_ - { - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public sealed class InitialDelD_ : Ice.ObjectDelD_, InitialDel_ - { - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<bool> opBool(Ice.Optional<bool> p1, out Ice.Optional<bool> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opBool", Ice.OperationMode.Normal, context__); - Ice.Optional<bool> p3Holder__ = new Ice.Optional<bool>(); - Ice.Optional<bool> result__ = new Ice.Optional<bool>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opBool(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<bool[]> opBoolSeq(Ice.Optional<bool[]> p1, out Ice.Optional<bool[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opBoolSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<bool[]> p3Holder__ = new Ice.Optional<bool[]>(); - Ice.Optional<bool[]> result__ = new Ice.Optional<bool[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opBoolSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<byte> opByte(Ice.Optional<byte> p1, out Ice.Optional<byte> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opByte", Ice.OperationMode.Normal, context__); - Ice.Optional<byte> p3Holder__ = new Ice.Optional<byte>(); - Ice.Optional<byte> result__ = new Ice.Optional<byte>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opByte(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<byte[]> opByteSeq(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opByteSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<byte[]> p3Holder__ = new Ice.Optional<byte[]>(); - Ice.Optional<byte[]> result__ = new Ice.Optional<byte[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opByteSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public void opClassAndUnknownOptional(Test.A p, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opClassAndUnknownOptional", Ice.OperationMode.Normal, context__); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - servant__.opClassAndUnknownOptional(p, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public void opDerivedException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opDerivedException", Ice.OperationMode.Normal, context__); - Ice.UserException userException__ = null; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - try - { - servant__.opDerivedException(a, b, o, current__); - return Ice.DispatchStatus.DispatchOK; - } - catch(Ice.UserException ex__) - { - userException__ = ex__; - return Ice.DispatchStatus.DispatchUserException; - } - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - if(status__ == Ice.DispatchStatus.DispatchUserException) - { - throw userException__; - } - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<double> opDouble(Ice.Optional<double> p1, out Ice.Optional<double> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opDouble", Ice.OperationMode.Normal, context__); - Ice.Optional<double> p3Holder__ = new Ice.Optional<double>(); - Ice.Optional<double> result__ = new Ice.Optional<double>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opDouble(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<double[]> opDoubleSeq(Ice.Optional<double[]> p1, out Ice.Optional<double[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opDoubleSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<double[]> p3Holder__ = new Ice.Optional<double[]>(); - Ice.Optional<double[]> result__ = new Ice.Optional<double[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opDoubleSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.FixedStruct> opFixedStruct(Ice.Optional<Test.FixedStruct> p1, out Ice.Optional<Test.FixedStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opFixedStruct", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.FixedStruct> p3Holder__ = new Ice.Optional<Test.FixedStruct>(); - Ice.Optional<Test.FixedStruct> result__ = new Ice.Optional<Test.FixedStruct>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opFixedStruct(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> opFixedStructList(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p1, out Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opFixedStructList", Ice.OperationMode.Normal, context__); - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3Holder__ = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(); - Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> result__ = new Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opFixedStructList(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.FixedStruct[]> opFixedStructSeq(Ice.Optional<Test.FixedStruct[]> p1, out Ice.Optional<Test.FixedStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opFixedStructSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.FixedStruct[]> p3Holder__ = new Ice.Optional<Test.FixedStruct[]>(); - Ice.Optional<Test.FixedStruct[]> result__ = new Ice.Optional<Test.FixedStruct[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opFixedStructSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<float> opFloat(Ice.Optional<float> p1, out Ice.Optional<float> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opFloat", Ice.OperationMode.Normal, context__); - Ice.Optional<float> p3Holder__ = new Ice.Optional<float>(); - Ice.Optional<float> result__ = new Ice.Optional<float>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opFloat(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<float[]> opFloatSeq(Ice.Optional<float[]> p1, out Ice.Optional<float[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opFloatSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<float[]> p3Holder__ = new Ice.Optional<float[]>(); - Ice.Optional<float[]> result__ = new Ice.Optional<float[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opFloatSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<int> opInt(Ice.Optional<int> p1, out Ice.Optional<int> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opInt", Ice.OperationMode.Normal, context__); - Ice.Optional<int> p3Holder__ = new Ice.Optional<int>(); - Ice.Optional<int> result__ = new Ice.Optional<int>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opInt(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> opIntIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opIntIntDict", Ice.OperationMode.Normal, context__); - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3Holder__ = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> result__ = new Ice.Optional<_System.Collections.Generic.Dictionary<int, int>>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opIntIntDict(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<int[]> opIntSeq(Ice.Optional<int[]> p1, out Ice.Optional<int[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opIntSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<int[]> p3Holder__ = new Ice.Optional<int[]>(); - Ice.Optional<int[]> result__ = new Ice.Optional<int[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opIntSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<long> opLong(Ice.Optional<long> p1, out Ice.Optional<long> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opLong", Ice.OperationMode.Normal, context__); - Ice.Optional<long> p3Holder__ = new Ice.Optional<long>(); - Ice.Optional<long> result__ = new Ice.Optional<long>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opLong(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<long[]> opLongSeq(Ice.Optional<long[]> p1, out Ice.Optional<long[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opLongSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<long[]> p3Holder__ = new Ice.Optional<long[]>(); - Ice.Optional<long[]> result__ = new Ice.Optional<long[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opLongSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.MyEnum> opMyEnum(Ice.Optional<Test.MyEnum> p1, out Ice.Optional<Test.MyEnum> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opMyEnum", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.MyEnum> p3Holder__ = new Ice.Optional<Test.MyEnum>(); - Ice.Optional<Test.MyEnum> result__ = new Ice.Optional<Test.MyEnum>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opMyEnum(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.OneOptional> opOneOptional(Ice.Optional<Test.OneOptional> p1, out Ice.Optional<Test.OneOptional> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opOneOptional", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.OneOptional> p3Holder__ = new Ice.Optional<Test.OneOptional>(); - Ice.Optional<Test.OneOptional> result__ = new Ice.Optional<Test.OneOptional>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opOneOptional(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.OneOptionalPrx> opOneOptionalProxy(Ice.Optional<Test.OneOptionalPrx> p1, out Ice.Optional<Test.OneOptionalPrx> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opOneOptionalProxy", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.OneOptionalPrx> p3Holder__ = new Ice.Optional<Test.OneOptionalPrx>(); - Ice.Optional<Test.OneOptionalPrx> result__ = new Ice.Optional<Test.OneOptionalPrx>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opOneOptionalProxy(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public void opOptionalException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opOptionalException", Ice.OperationMode.Normal, context__); - Ice.UserException userException__ = null; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - try - { - servant__.opOptionalException(a, b, o, current__); - return Ice.DispatchStatus.DispatchOK; - } - catch(Ice.UserException ex__) - { - userException__ = ex__; - return Ice.DispatchStatus.DispatchUserException; - } - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - if(status__ == Ice.DispatchStatus.DispatchUserException) - { - throw userException__; - } - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public void opRequiredException(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opRequiredException", Ice.OperationMode.Normal, context__); - Ice.UserException userException__ = null; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - try - { - servant__.opRequiredException(a, b, o, current__); - return Ice.DispatchStatus.DispatchOK; - } - catch(Ice.UserException ex__) - { - userException__ = ex__; - return Ice.DispatchStatus.DispatchUserException; - } - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - if(status__ == Ice.DispatchStatus.DispatchUserException) - { - throw userException__; - } - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Test.OptionalException) - { - throw; - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<byte[]> opSerializable(Ice.Optional<byte[]> p1, out Ice.Optional<byte[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opSerializable", Ice.OperationMode.Normal, context__); - Ice.Optional<byte[]> p3Holder__ = new Ice.Optional<byte[]>(); - Ice.Optional<byte[]> result__ = new Ice.Optional<byte[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opSerializable(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<short> opShort(Ice.Optional<short> p1, out Ice.Optional<short> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opShort", Ice.OperationMode.Normal, context__); - Ice.Optional<short> p3Holder__ = new Ice.Optional<short>(); - Ice.Optional<short> result__ = new Ice.Optional<short>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opShort(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<short[]> opShortSeq(Ice.Optional<short[]> p1, out Ice.Optional<short[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opShortSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<short[]> p3Holder__ = new Ice.Optional<short[]>(); - Ice.Optional<short[]> result__ = new Ice.Optional<short[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opShortSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.SmallStruct> opSmallStruct(Ice.Optional<Test.SmallStruct> p1, out Ice.Optional<Test.SmallStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opSmallStruct", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.SmallStruct> p3Holder__ = new Ice.Optional<Test.SmallStruct>(); - Ice.Optional<Test.SmallStruct> result__ = new Ice.Optional<Test.SmallStruct>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opSmallStruct(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> opSmallStructList(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p1, out Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opSmallStructList", Ice.OperationMode.Normal, context__); - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3Holder__ = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> result__ = new Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opSmallStructList(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.SmallStruct[]> opSmallStructSeq(Ice.Optional<Test.SmallStruct[]> p1, out Ice.Optional<Test.SmallStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opSmallStructSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.SmallStruct[]> p3Holder__ = new Ice.Optional<Test.SmallStruct[]>(); - Ice.Optional<Test.SmallStruct[]> result__ = new Ice.Optional<Test.SmallStruct[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opSmallStructSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<string> opString(Ice.Optional<string> p1, out Ice.Optional<string> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opString", Ice.OperationMode.Normal, context__); - Ice.Optional<string> p3Holder__ = new Ice.Optional<string>(); - Ice.Optional<string> result__ = new Ice.Optional<string>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opString(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> opStringIntDict(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p1, out Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opStringIntDict", Ice.OperationMode.Normal, context__); - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3Holder__ = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> result__ = new Ice.Optional<_System.Collections.Generic.Dictionary<string, int>>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opStringIntDict(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<string[]> opStringSeq(Ice.Optional<string[]> p1, out Ice.Optional<string[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opStringSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<string[]> p3Holder__ = new Ice.Optional<string[]>(); - Ice.Optional<string[]> result__ = new Ice.Optional<string[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opStringSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.VarStruct> opVarStruct(Ice.Optional<Test.VarStruct> p1, out Ice.Optional<Test.VarStruct> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opVarStruct", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.VarStruct> p3Holder__ = new Ice.Optional<Test.VarStruct>(); - Ice.Optional<Test.VarStruct> result__ = new Ice.Optional<Test.VarStruct>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opVarStruct(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Optional<Test.VarStruct[]> opVarStructSeq(Ice.Optional<Test.VarStruct[]> p1, out Ice.Optional<Test.VarStruct[]> p3, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "opVarStructSeq", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.VarStruct[]> p3Holder__ = new Ice.Optional<Test.VarStruct[]>(); - Ice.Optional<Test.VarStruct[]> result__ = new Ice.Optional<Test.VarStruct[]>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.opVarStructSeq(p1, out p3Holder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - p3 = p3Holder__; - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public Ice.Object pingPong(Ice.Object o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "pingPong", Ice.OperationMode.Normal, context__); - Ice.Object result__ = null; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.pingPong(o, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public void returnOptionalClass(bool req, out Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "returnOptionalClass", Ice.OperationMode.Normal, context__); - Ice.Optional<Test.OneOptional> oHolder__ = new Ice.Optional<Test.OneOptional>(); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - servant__.returnOptionalClass(req, out oHolder__, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - o = oHolder__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public void sendOptionalClass(bool req, Ice.Optional<Test.OneOptional> o, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "sendOptionalClass", Ice.OperationMode.Normal, context__); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - servant__.sendOptionalClass(req, o, current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public void shutdown(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "shutdown", Ice.OperationMode.Normal, context__); - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - servant__.shutdown(current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public bool supportsCsharpSerializable(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "supportsCsharpSerializable", Ice.OperationMode.Normal, context__); - bool result__ = false; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.supportsCsharpSerializable(current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public bool supportsJavaSerializable(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "supportsJavaSerializable", Ice.OperationMode.Normal, context__); - bool result__ = false; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.supportsJavaSerializable(current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - return result__; - } - - [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")] - public bool supportsRequiredParams(_System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) - { - Ice.Current current__ = new Ice.Current(); - initCurrent__(ref current__, "supportsRequiredParams", Ice.OperationMode.Normal, context__); - bool result__ = false; - IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) - { - Initial servant__ = null; - try - { - servant__ = (Initial)obj__; - } - catch(_System.InvalidCastException) - { - throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); - } - result__ = servant__.supportsRequiredParams(current__); - return Ice.DispatchStatus.DispatchOK; - }; - IceInternal.Direct direct__ = null; - try - { - direct__ = new IceInternal.Direct(current__, run__); - try - { - Ice.DispatchStatus status__ = direct__.getServant().collocDispatch__(direct__); - _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); - } - finally - { - direct__.destroy(); - } - } - catch(Ice.SystemException) - { - throw; - } - catch(_System.Exception ex__) - { - IceInternal.LocalExceptionWrapper.throwWrapper(ex__); - } - return result__; - } - } -} - -namespace Test -{ -} - -namespace Test -{ - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_shutdown : Ice.AMICallbackBase - { - public abstract void ice_response(); - - public void response__() - { - ice_response(); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_pingPong : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Object ret__); - - public void response__(Ice.Object ret__) - { - ice_response(ret__); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opOptionalException : Ice.AMICallbackBase - { - public abstract void ice_response(); - - public void response__() - { - ice_response(); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opDerivedException : Ice.AMICallbackBase - { - public abstract void ice_response(); - - public void response__() - { - ice_response(); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opRequiredException : Ice.AMICallbackBase - { - public abstract void ice_response(); - - public void response__() - { - ice_response(); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opByte : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<byte> ret__, Ice.Optional<byte> p3); - - public void response__(Ice.Optional<byte> ret__, Ice.Optional<byte> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opBool : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<bool> ret__, Ice.Optional<bool> p3); - - public void response__(Ice.Optional<bool> ret__, Ice.Optional<bool> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opShort : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<short> ret__, Ice.Optional<short> p3); - - public void response__(Ice.Optional<short> ret__, Ice.Optional<short> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opInt : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<int> ret__, Ice.Optional<int> p3); - - public void response__(Ice.Optional<int> ret__, Ice.Optional<int> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opLong : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<long> ret__, Ice.Optional<long> p3); - - public void response__(Ice.Optional<long> ret__, Ice.Optional<long> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opFloat : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<float> ret__, Ice.Optional<float> p3); - - public void response__(Ice.Optional<float> ret__, Ice.Optional<float> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opDouble : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<double> ret__, Ice.Optional<double> p3); - - public void response__(Ice.Optional<double> ret__, Ice.Optional<double> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opString : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<string> ret__, Ice.Optional<string> p3); - - public void response__(Ice.Optional<string> ret__, Ice.Optional<string> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opMyEnum : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.MyEnum> ret__, Ice.Optional<Test.MyEnum> p3); - - public void response__(Ice.Optional<Test.MyEnum> ret__, Ice.Optional<Test.MyEnum> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opSmallStruct : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.SmallStruct> ret__, Ice.Optional<Test.SmallStruct> p3); - - public void response__(Ice.Optional<Test.SmallStruct> ret__, Ice.Optional<Test.SmallStruct> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opFixedStruct : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.FixedStruct> ret__, Ice.Optional<Test.FixedStruct> p3); - - public void response__(Ice.Optional<Test.FixedStruct> ret__, Ice.Optional<Test.FixedStruct> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opVarStruct : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.VarStruct> ret__, Ice.Optional<Test.VarStruct> p3); - - public void response__(Ice.Optional<Test.VarStruct> ret__, Ice.Optional<Test.VarStruct> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opOneOptional : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.OneOptional> ret__, Ice.Optional<Test.OneOptional> p3); - - public void response__(Ice.Optional<Test.OneOptional> ret__, Ice.Optional<Test.OneOptional> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opOneOptionalProxy : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.OneOptionalPrx> ret__, Ice.Optional<Test.OneOptionalPrx> p3); - - public void response__(Ice.Optional<Test.OneOptionalPrx> ret__, Ice.Optional<Test.OneOptionalPrx> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opByteSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<byte[]> ret__, Ice.Optional<byte[]> p3); - - public void response__(Ice.Optional<byte[]> ret__, Ice.Optional<byte[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opBoolSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<bool[]> ret__, Ice.Optional<bool[]> p3); - - public void response__(Ice.Optional<bool[]> ret__, Ice.Optional<bool[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opShortSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<short[]> ret__, Ice.Optional<short[]> p3); - - public void response__(Ice.Optional<short[]> ret__, Ice.Optional<short[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opIntSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<int[]> ret__, Ice.Optional<int[]> p3); - - public void response__(Ice.Optional<int[]> ret__, Ice.Optional<int[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opLongSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<long[]> ret__, Ice.Optional<long[]> p3); - - public void response__(Ice.Optional<long[]> ret__, Ice.Optional<long[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opFloatSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<float[]> ret__, Ice.Optional<float[]> p3); - - public void response__(Ice.Optional<float[]> ret__, Ice.Optional<float[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opDoubleSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<double[]> ret__, Ice.Optional<double[]> p3); - - public void response__(Ice.Optional<double[]> ret__, Ice.Optional<double[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opStringSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<string[]> ret__, Ice.Optional<string[]> p3); - - public void response__(Ice.Optional<string[]> ret__, Ice.Optional<string[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opSmallStructSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.SmallStruct[]> ret__, Ice.Optional<Test.SmallStruct[]> p3); - - public void response__(Ice.Optional<Test.SmallStruct[]> ret__, Ice.Optional<Test.SmallStruct[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opSmallStructList : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> ret__, Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3); - - public void response__(Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> ret__, Ice.Optional<_System.Collections.Generic.List<Test.SmallStruct>> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opFixedStructSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.FixedStruct[]> ret__, Ice.Optional<Test.FixedStruct[]> p3); - - public void response__(Ice.Optional<Test.FixedStruct[]> ret__, Ice.Optional<Test.FixedStruct[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opFixedStructList : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> ret__, Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3); - - public void response__(Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> ret__, Ice.Optional<_System.Collections.Generic.LinkedList<Test.FixedStruct>> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opVarStructSeq : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.VarStruct[]> ret__, Ice.Optional<Test.VarStruct[]> p3); - - public void response__(Ice.Optional<Test.VarStruct[]> ret__, Ice.Optional<Test.VarStruct[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opSerializable : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<byte[]> ret__, Ice.Optional<byte[]> p3); - - public void response__(Ice.Optional<byte[]> ret__, Ice.Optional<byte[]> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opIntIntDict : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> ret__, Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3); - - public void response__(Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> ret__, Ice.Optional<_System.Collections.Generic.Dictionary<int, int>> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opStringIntDict : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> ret__, Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3); - - public void response__(Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> ret__, Ice.Optional<_System.Collections.Generic.Dictionary<string, int>> p3) - { - ice_response(ret__, p3); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_opClassAndUnknownOptional : Ice.AMICallbackBase - { - public abstract void ice_response(); - - public void response__() - { - ice_response(); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_sendOptionalClass : Ice.AMICallbackBase - { - public abstract void ice_response(); - - public void response__() - { - ice_response(); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_returnOptionalClass : Ice.AMICallbackBase - { - public abstract void ice_response(Ice.Optional<Test.OneOptional> o); - - public void response__(Ice.Optional<Test.OneOptional> o) - { - ice_response(o); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_supportsRequiredParams : Ice.AMICallbackBase - { - public abstract void ice_response(bool ret__); - - public void response__(bool ret__) - { - ice_response(ret__); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_supportsJavaSerializable : Ice.AMICallbackBase - { - public abstract void ice_response(bool ret__); - - public void response__(bool ret__) - { - ice_response(ret__); - } - } - - [_System.Runtime.InteropServices.ComVisible(false)] - [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.5b")] - public abstract class AMI_Initial_supportsCsharpSerializable : Ice.AMICallbackBase - { - public abstract void ice_response(bool ret__); - - public void response__(bool ret__) - { - ice_response(ret__); - } - } -} diff --git a/cs/test/Ice/optional/generated/sl/.gitignore b/cs/test/Ice/optional/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/optional/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/optional/optional.csproj b/cs/test/Ice/optional/optional.csproj index 8acacec2c0f..baa2f5e0fb9 100644 --- a/cs/test/Ice/optional/optional.csproj +++ b/cs/test/Ice/optional/optional.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.\</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.\</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,8 +74,8 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> - <Compile Include="Test.cs" /> </ItemGroup> <ItemGroup> <ApplicationDefinition Include="App.xaml"> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_Streaming="True" ZerocIce_ExtraOptions="-DSILVERLIGHT" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_Streaming="True" ZerocIce_ExtraOptions="-DSILVERLIGHT" ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/proxy/generated/sl/.gitignore b/cs/test/Ice/proxy/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/proxy/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/proxy/proxy.csproj b/cs/test/Ice/proxy/proxy.csproj index 87194019f36..a0454398e95 100644 --- a/cs/test/Ice/proxy/proxy.csproj +++ b/cs/test/Ice/proxy/proxy.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/retry/generated/sl/.gitignore b/cs/test/Ice/retry/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/retry/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/retry/retry.csproj b/cs/test/Ice/retry/retry.csproj index 268dfe7b48f..315072a2195 100644 --- a/cs/test/Ice/retry/retry.csproj +++ b/cs/test/Ice/retry/retry.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/seqMapping/generated/sl/.gitignore b/cs/test/Ice/seqMapping/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/seqMapping/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/seqMapping/seqMapping.csproj b/cs/test/Ice/seqMapping/seqMapping.csproj index 5b99c065dc2..d6ffd3fdc3a 100644 --- a/cs/test/Ice/seqMapping/seqMapping.csproj +++ b/cs/test/Ice/seqMapping/seqMapping.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -75,7 +75,7 @@ <DependentUpon>App.xaml</DependentUpon> </Compile> <Compile Include="Custom.cs" /> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Serializable.cs" /> <Compile Include="Twoways.cs" /> @@ -114,7 +114,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" ZerocIce_ExtraOptions="-DSILVERLIGHT" /> + <UserProperties ZerocIce_ExtraOptions="-DSILVERLIGHT" ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/servantLocator/generated/sl/.gitignore b/cs/test/Ice/servantLocator/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/servantLocator/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/servantLocator/servantLocator.csproj b/cs/test/Ice/servantLocator/servantLocator.csproj index 47988959169..43df967cf1b 100644 --- a/cs/test/Ice/servantLocator/servantLocator.csproj +++ b/cs/test/Ice/servantLocator/servantLocator.csproj @@ -44,7 +44,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -54,7 +54,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -76,7 +76,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -114,7 +114,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/slicing/exceptions/exceptions.csproj b/cs/test/Ice/slicing/exceptions/exceptions.csproj index 1dd5d3042e1..6c32d38f843 100644 --- a/cs/test/Ice/slicing/exceptions/exceptions.csproj +++ b/cs/test/Ice/slicing/exceptions/exceptions.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,8 +74,8 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\ClientPrivate.cs" /> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\ClientPrivate.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -111,7 +111,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_IncludePath="." ZerocIce_VerboseLevel="1" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_IncludePath="." ZerocIce_VerboseLevel="1" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/slicing/exceptions/generated/sl/.gitignore b/cs/test/Ice/slicing/exceptions/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/slicing/exceptions/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/slicing/objects/generated/sl/.gitignore b/cs/test/Ice/slicing/objects/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/slicing/objects/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/slicing/objects/objects.csproj b/cs/test/Ice/slicing/objects/objects.csproj index 43034dd7b81..3a9190faeab 100644 --- a/cs/test/Ice/slicing/objects/objects.csproj +++ b/cs/test/Ice/slicing/objects/objects.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,9 +74,9 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\ClientPrivate.cs" /> - <Compile Include="generated\Forward.cs" /> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\ClientPrivate.cs" /> + <Compile Include="generated\sl\Forward.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -113,7 +113,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" ZerocIce_IncludePath="." /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" ZerocIce_IncludePath="." /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/stream/generated/sl/.gitignore b/cs/test/Ice/stream/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/stream/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/stream/stream.csproj b/cs/test/Ice/stream/stream.csproj index 20367183bd0..cf7a53cb286 100644 --- a/cs/test/Ice/stream/stream.csproj +++ b/cs/test/Ice/stream/stream.csproj @@ -44,7 +44,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -54,7 +54,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -76,7 +76,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -114,7 +114,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_OutputDir=".\generated" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" ZerocIce_Streaming="True" ZerocIce_ExtraOptions="-DSILVERLIGHT" /> + <UserProperties ZerocIce_ExtraOptions="-DSILVERLIGHT" ZerocIce_Streaming="True" ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated\sl" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/cs/test/Ice/timeout/generated/sl/.gitignore b/cs/test/Ice/timeout/generated/sl/.gitignore new file mode 100644 index 00000000000..39af5887579 --- /dev/null +++ b/cs/test/Ice/timeout/generated/sl/.gitignore @@ -0,0 +1 @@ +# Dummy file, so that git retains this otherwise empty directory. diff --git a/cs/test/Ice/timeout/timeout.csproj b/cs/test/Ice/timeout/timeout.csproj index afda1d73dff..66372828672 100644 --- a/cs/test/Ice/timeout/timeout.csproj +++ b/cs/test/Ice/timeout/timeout.csproj @@ -42,7 +42,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -52,7 +52,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>.</OutputPath> + <OutputPath>obj\sl\</OutputPath> <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> <NoStdLib>true</NoStdLib> <NoConfig>true</NoConfig> @@ -74,7 +74,7 @@ <Compile Include="App.xaml.cs"> <DependentUpon>App.xaml</DependentUpon> </Compile> - <Compile Include="generated\Test.cs" /> + <Compile Include="generated\sl\Test.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -109,7 +109,7 @@ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> <SilverlightProjectProperties /> </FlavorProperties> - <UserProperties ZerocIce_Enabled="True" ZerocIce_ProjectVersion="1" ZerocIce_OutputDir=".\generated" /> + <UserProperties ZerocIce_OutputDir=".\generated\sl" ZerocIce_ProjectVersion="1" ZerocIce_Enabled="True" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index 0929e570c09..d3a1039c58e 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -895,7 +895,7 @@ def getCommandLine(exe, config, options = ""): elif config.lang == "rb" and config.type == "client": output.write("ruby '" + exe + "' ") elif config.silverlight and config.lang == "cs" and config.type == "client": - xap = "%s.xap" % os.path.basename(os.getcwd()) + xap = "obj/sl/%s.xap" % os.path.basename(os.getcwd()) if os.environ.get("PROCESSOR_ARCHITECTURE") == "AMD64" or os.environ.get("PROCESSOR_ARCHITEW6432") == "": output.write('"%s (x86)\Microsoft Silverlight\sllauncher.exe" /emulate:%s ' % ( os.environ["PROGRAMFILES"], xap)) else: |