Skip to content

Commit

Permalink
HEAD:(zeroc-ice/ice@7c6f7543b7) Ice::Object cleanup (zeroc-ice/ice#1954)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier authored and temp committed Mar 16, 2024
1 parent 9d64e1d commit a0ced93
Show file tree
Hide file tree
Showing 1,684 changed files with 2,477 additions and 2,477 deletions.
4 changes: 2 additions & 2 deletions slice2cpp/cpp/src/IceGrid/Internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1814,11 +1814,11 @@ IceGrid::InternalRegistryPrx::_iceI_registerNode(const ::std::shared_ptr<::IceIn
{
ex.ice_throw();
}
catch(const NodeActiveException&)
catch(const PermissionDeniedException&)
{
throw;
}
catch(const PermissionDeniedException&)
catch(const NodeActiveException&)
{
throw;
}
Expand Down
8 changes: 4 additions & 4 deletions slice2cpp/slice/Glacier2/Router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ Glacier2::RouterPrx::_iceI_createSession(const ::std::shared_ptr<::IceInternal::
{
ex.ice_throw();
}
catch(const PermissionDeniedException&)
catch(const CannotCreateSessionException&)
{
throw;
}
catch(const CannotCreateSessionException&)
catch(const PermissionDeniedException&)
{
throw;
}
Expand Down Expand Up @@ -152,11 +152,11 @@ Glacier2::RouterPrx::_iceI_createSessionFromSecureConnection(const ::std::shared
{
ex.ice_throw();
}
catch(const PermissionDeniedException&)
catch(const CannotCreateSessionException&)
{
throw;
}
catch(const CannotCreateSessionException&)
catch(const PermissionDeniedException&)
{
throw;
}
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/cpp/src/IceGrid/Internal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8066,11 +8066,11 @@ private void _iceI_registerNode(InternalNodeInfo iceP_info, NodePrx iceP_prx, Lo
{
throw ex;
}
catch(PermissionDeniedException)
catch(NodeActiveException)
{
throw;
}
catch(NodeActiveException)
catch(PermissionDeniedException)
{
throw;
}
Expand Down
224 changes: 112 additions & 112 deletions slice2cs/cpp/test/Ice/operations/Test.cs

Large diffs are not rendered by default.

124 changes: 62 additions & 62 deletions slice2cs/cpp/test/Ice/operations/TestAMD.cs

Large diffs are not rendered by default.

136 changes: 68 additions & 68 deletions slice2cs/csharp/test/Ice/operations/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17005,35 +17005,13 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

#region Inherited Slice operations

public abstract float opFloat1(float opFloat1, global::Ice.Current current = null);

public abstract double opDouble1(double opDouble1, global::Ice.Current current = null);

public abstract string opString1(string opString1, global::Ice.Current current = null);

public abstract string[] opStringS1(string[] opStringS1, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD1(global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD1, global::Ice.Current current = null);

public abstract string[] opStringS2(string[] stringS, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD2(global::System.Collections.Generic.Dictionary<byte, bool> byteBoolD, global::Ice.Current current = null);

public abstract string[] opStringLiterals(global::Ice.Current current = null);

public abstract string[] opWStringLiterals(global::Ice.Current current = null);

public abstract MyClass_OpMStruct1MarshaledResult opMStruct1(global::Ice.Current current = null);

public abstract MyClass_OpMStruct2MarshaledResult opMStruct2(Structure p1, global::Ice.Current current = null);

public abstract MyClass_OpMSeq1MarshaledResult opMSeq1(global::Ice.Current current = null);
public abstract void shutdown(global::Ice.Current current = null);

public abstract MyClass_OpMSeq2MarshaledResult opMSeq2(string[] p1, global::Ice.Current current = null);
public abstract bool supportsCompress(global::Ice.Current current = null);

public abstract MyClass_OpMDict1MarshaledResult opMDict1(global::Ice.Current current = null);
public abstract void opVoid(global::Ice.Current current = null);

public abstract MyClass_OpMDict2MarshaledResult opMDict2(global::System.Collections.Generic.Dictionary<string, string> p1, global::Ice.Current current = null);
public abstract byte opByte(byte p1, byte p2, out byte p3, global::Ice.Current current = null);

public abstract bool opBool(bool p1, bool p2, out bool p3, global::Ice.Current current = null);

Expand Down Expand Up @@ -17103,14 +17081,6 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

public abstract global::System.Collections.Generic.Dictionary<bool, bool[]> opBoolBoolSD(global::System.Collections.Generic.Dictionary<bool, bool[]> p1, global::System.Collections.Generic.Dictionary<bool, bool[]> p2, out global::System.Collections.Generic.Dictionary<bool, bool[]> p3, global::Ice.Current current = null);

public abstract void shutdown(global::Ice.Current current = null);

public abstract bool supportsCompress(global::Ice.Current current = null);

public abstract void opVoid(global::Ice.Current current = null);

public abstract byte opByte(byte p1, byte p2, out byte p3, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<short, short[]> opShortShortSD(global::System.Collections.Generic.Dictionary<short, short[]> p1, global::System.Collections.Generic.Dictionary<short, short[]> p2, out global::System.Collections.Generic.Dictionary<short, short[]> p3, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<int, int[]> opIntIntSD(global::System.Collections.Generic.Dictionary<int, int[]> p1, global::System.Collections.Generic.Dictionary<int, int[]> p2, out global::System.Collections.Generic.Dictionary<int, int[]> p3, global::Ice.Current current = null);
Expand Down Expand Up @@ -17147,6 +17117,36 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

public abstract long opLong1(long opLong1, global::Ice.Current current = null);

public abstract float opFloat1(float opFloat1, global::Ice.Current current = null);

public abstract double opDouble1(double opDouble1, global::Ice.Current current = null);

public abstract string opString1(string opString1, global::Ice.Current current = null);

public abstract string[] opStringS1(string[] opStringS1, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD1(global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD1, global::Ice.Current current = null);

public abstract string[] opStringS2(string[] stringS, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD2(global::System.Collections.Generic.Dictionary<byte, bool> byteBoolD, global::Ice.Current current = null);

public abstract string[] opStringLiterals(global::Ice.Current current = null);

public abstract string[] opWStringLiterals(global::Ice.Current current = null);

public abstract MyClass_OpMStruct1MarshaledResult opMStruct1(global::Ice.Current current = null);

public abstract MyClass_OpMStruct2MarshaledResult opMStruct2(Structure p1, global::Ice.Current current = null);

public abstract MyClass_OpMSeq1MarshaledResult opMSeq1(global::Ice.Current current = null);

public abstract MyClass_OpMSeq2MarshaledResult opMSeq2(string[] p1, global::Ice.Current current = null);

public abstract MyClass_OpMDict1MarshaledResult opMDict1(global::Ice.Current current = null);

public abstract MyClass_OpMDict2MarshaledResult opMDict2(global::System.Collections.Generic.Dictionary<string, string> p1, global::Ice.Current current = null);

#endregion

#region Slice type-related members
Expand Down Expand Up @@ -18070,35 +18070,13 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla
{
#region Inherited Slice operations

public abstract float opFloat1(float opFloat1, global::Ice.Current current = null);

public abstract double opDouble1(double opDouble1, global::Ice.Current current = null);

public abstract string opString1(string opString1, global::Ice.Current current = null);

public abstract string[] opStringS1(string[] opStringS1, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD1(global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD1, global::Ice.Current current = null);

public abstract string[] opStringS2(string[] stringS, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD2(global::System.Collections.Generic.Dictionary<byte, bool> byteBoolD, global::Ice.Current current = null);

public abstract string[] opStringLiterals(global::Ice.Current current = null);

public abstract string[] opWStringLiterals(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMStruct1MarshaledResult opMStruct1(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMStruct2MarshaledResult opMStruct2(global::Ice.operations.Test.Structure p1, global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMSeq1MarshaledResult opMSeq1(global::Ice.Current current = null);
public abstract void shutdown(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMSeq2MarshaledResult opMSeq2(string[] p1, global::Ice.Current current = null);
public abstract bool supportsCompress(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMDict1MarshaledResult opMDict1(global::Ice.Current current = null);
public abstract void opVoid(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMDict2MarshaledResult opMDict2(global::System.Collections.Generic.Dictionary<string, string> p1, global::Ice.Current current = null);
public abstract byte opByte(byte p1, byte p2, out byte p3, global::Ice.Current current = null);

public abstract bool opBool(bool p1, bool p2, out bool p3, global::Ice.Current current = null);

Expand Down Expand Up @@ -18168,14 +18146,6 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

public abstract global::System.Collections.Generic.Dictionary<bool, bool[]> opBoolBoolSD(global::System.Collections.Generic.Dictionary<bool, bool[]> p1, global::System.Collections.Generic.Dictionary<bool, bool[]> p2, out global::System.Collections.Generic.Dictionary<bool, bool[]> p3, global::Ice.Current current = null);

public abstract void shutdown(global::Ice.Current current = null);

public abstract bool supportsCompress(global::Ice.Current current = null);

public abstract void opVoid(global::Ice.Current current = null);

public abstract byte opByte(byte p1, byte p2, out byte p3, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<short, short[]> opShortShortSD(global::System.Collections.Generic.Dictionary<short, short[]> p1, global::System.Collections.Generic.Dictionary<short, short[]> p2, out global::System.Collections.Generic.Dictionary<short, short[]> p3, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<int, int[]> opIntIntSD(global::System.Collections.Generic.Dictionary<int, int[]> p1, global::System.Collections.Generic.Dictionary<int, int[]> p2, out global::System.Collections.Generic.Dictionary<int, int[]> p3, global::Ice.Current current = null);
Expand Down Expand Up @@ -18212,6 +18182,36 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

public abstract long opLong1(long opLong1, global::Ice.Current current = null);

public abstract float opFloat1(float opFloat1, global::Ice.Current current = null);

public abstract double opDouble1(double opDouble1, global::Ice.Current current = null);

public abstract string opString1(string opString1, global::Ice.Current current = null);

public abstract string[] opStringS1(string[] opStringS1, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD1(global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD1, global::Ice.Current current = null);

public abstract string[] opStringS2(string[] stringS, global::Ice.Current current = null);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD2(global::System.Collections.Generic.Dictionary<byte, bool> byteBoolD, global::Ice.Current current = null);

public abstract string[] opStringLiterals(global::Ice.Current current = null);

public abstract string[] opWStringLiterals(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMStruct1MarshaledResult opMStruct1(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMStruct2MarshaledResult opMStruct2(global::Ice.operations.Test.Structure p1, global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMSeq1MarshaledResult opMSeq1(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMSeq2MarshaledResult opMSeq2(string[] p1, global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMDict1MarshaledResult opMDict1(global::Ice.Current current = null);

public abstract global::Ice.operations.Test.MyClass_OpMDict2MarshaledResult opMDict2(global::System.Collections.Generic.Dictionary<string, string> p1, global::Ice.Current current = null);

#endregion

#region Slice type-related members
Expand Down
42 changes: 21 additions & 21 deletions slice2cs/csharp/test/Ice/operations/TestAMD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13169,9 +13169,25 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

#region Inherited Slice operations

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSSResult> opShortIntLongSSAsync(short[][] p1, int[][] p2, long[][] p3, global::Ice.Current current = null);
public abstract global::System.Threading.Tasks.Task shutdownAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleSSResult> opFloatDoubleSSAsync(float[][] p1, double[][] p2, global::Ice.Current current = null);
public abstract global::System.Threading.Tasks.Task<bool> supportsCompressAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task opVoidAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteResult> opByteAsync(byte p1, byte p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolResult> opBoolAsync(bool p1, bool p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongResult> opShortIntLongAsync(short p1, int p2, long p3, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleResult> opFloatDoubleAsync(float p1, double p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringResult> opStringAsync(string p1, string p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyEnumResult> opMyEnumAsync(MyEnum p1, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyClassResult> opMyClassAsync(MyClassPrx p1, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringSSResult> opStringSSAsync(string[][] p1, string[][] p2, global::Ice.Current current = null);

Expand Down Expand Up @@ -13275,25 +13291,11 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

public abstract global::System.Threading.Tasks.Task<MyClass_OpMDict2MarshaledResult> opMDict2Async(global::System.Collections.Generic.Dictionary<string, string> p1, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task shutdownAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<bool> supportsCompressAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task opVoidAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteResult> opByteAsync(byte p1, byte p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolResult> opBoolAsync(bool p1, bool p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongResult> opShortIntLongAsync(short p1, int p2, long p3, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleResult> opFloatDoubleAsync(float p1, double p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringResult> opStringAsync(string p1, string p2, global::Ice.Current current = null);
public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSSResult> opBoolSSAsync(bool[][] p1, bool[][] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyEnumResult> opMyEnumAsync(MyEnum p1, global::Ice.Current current = null);
public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSSResult> opShortIntLongSSAsync(short[][] p1, int[][] p2, long[][] p3, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyClassResult> opMyClassAsync(MyClassPrx p1, global::Ice.Current current = null);
public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleSSResult> opFloatDoubleSSAsync(float[][] p1, double[][] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStructResult> opStructAsync(Structure p1, Structure p2, global::Ice.Current current = null);

Expand All @@ -13309,8 +13311,6 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSSResult> opByteSSAsync(byte[][] p1, byte[][] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSSResult> opBoolSSAsync(bool[][] p1, bool[][] p2, global::Ice.Current current = null);

#endregion

#region Slice type-related members
Expand Down
Loading

0 comments on commit a0ced93

Please sign in to comment.