Skip to content

Commit

Permalink
HEAD:(zeroc-ice/ice@6954acd599) Misc fixes to Czeroc-ice/ice# locator…
Browse files Browse the repository at this point in the history
… discovery (zeroc-ice/ice#3177)
  • Loading branch information
bernardnormier authored and temp committed Nov 22, 2024
1 parent da4c611 commit d3583bc
Show file tree
Hide file tree
Showing 1,505 changed files with 1,818 additions and 1,818 deletions.
4 changes: 2 additions & 2 deletions slice2cpp/swift/test/Ice/exceptions/Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ Test::ThrowerPrx::_iceI_throwAorDasAorD(const ::std::shared_ptr<::IceInternal::O
{
ex.ice_throw();
}
catch(const D&)
catch(const A&)
{
throw;
}
catch(const A&)
catch(const D&)
{
throw;
}
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/cpp/test/Ice/location/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1118,12 +1118,12 @@ public abstract class TestLocatorDisp_ : Ice.ObjectImpl, TestLocator
{
public abstract int getRequestCount(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<global::Ice.ObjectPrx?> findObjectByIdAsync(global::Ice.Identity id, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<global::Ice.ObjectPrx?> findAdapterByIdAsync(string id, Ice.Current current);

public abstract global::Ice.LocatorRegistryPrx? getRegistry(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<global::Ice.ObjectPrx?> findObjectByIdAsync(global::Ice.Identity id, Ice.Current current);

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test::TestLocator";
Expand Down
8 changes: 4 additions & 4 deletions slice2cs/cpp/test/Ice/operations/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13696,6 +13696,8 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

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

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

public abstract int[] opIntS(int[] s, Ice.Current current);

public abstract void opByteSOneway(byte[] s, Ice.Current current);
Expand Down Expand Up @@ -13744,8 +13746,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract MyClass_OpMDict1MarshaledResult opMDict1(Ice.Current current);

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

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test::MyDerivedClass";
Expand Down Expand Up @@ -13929,6 +13929,8 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract global::System.Collections.Generic.Dictionary<global::Test.MyEnum, global::Test.MyEnum[]> opMyEnumMyEnumSD(global::System.Collections.Generic.Dictionary<global::Test.MyEnum, global::Test.MyEnum[]> p1, global::System.Collections.Generic.Dictionary<global::Test.MyEnum, global::Test.MyEnum[]> p2, out global::System.Collections.Generic.Dictionary<global::Test.MyEnum, global::Test.MyEnum[]> p3, Ice.Current current);

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

public abstract int[] opIntS(int[] s, Ice.Current current);

public abstract void opByteSOneway(byte[] s, Ice.Current current);
Expand Down Expand Up @@ -13977,8 +13979,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

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

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

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test2::MyDerivedClass";
Expand Down
64 changes: 32 additions & 32 deletions slice2cs/csharp/test/Ice/operations/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13440,22 +13440,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract MyStruct1 opMyStruct1(MyStruct1 opMyStruct1, Ice.Current current);

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

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

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

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract MyEnum opMyEnum(MyEnum p1, out MyEnum p2, Ice.Current current);

public abstract MyClassPrx? opMyClass(MyClassPrx? p1, out MyClassPrx? p2, out MyClassPrx? p3, Ice.Current current);
Expand Down Expand Up @@ -13580,6 +13564,22 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

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

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

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

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

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test::MyDerivedClass";
Expand Down Expand Up @@ -13674,22 +13674,6 @@ namespace Test2
{
public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass
{
public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

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

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

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract global::Ice.operations.Test.MyEnum opMyEnum(global::Ice.operations.Test.MyEnum p1, out global::Ice.operations.Test.MyEnum p2, Ice.Current current);

public abstract global::Ice.operations.Test.MyClassPrx? opMyClass(global::Ice.operations.Test.MyClassPrx? p1, out global::Ice.operations.Test.MyClassPrx? p2, out global::Ice.operations.Test.MyClassPrx? p3, Ice.Current current);
Expand Down Expand Up @@ -13814,6 +13798,22 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

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

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

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

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

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test2::MyDerivedClass";
Expand Down
144 changes: 72 additions & 72 deletions slice2cs/java/test/src/main/java/test/Ice/operations/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13436,42 +13436,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract long[] opShortIntLongS(short[] p1, int[] p2, long[] p3, out short[] p4, out int[] p5, out long[] p6, Ice.Current current);

public abstract short opShort1(short opShort1, Ice.Current current);

public abstract int opInt1(int opInt1, Ice.Current current);

public abstract long opLong1(long opLong1, Ice.Current current);

public abstract float opFloat1(float opFloat1, Ice.Current current);

public abstract double opDouble1(double opDouble1, Ice.Current current);

public abstract string opString1(string opString1, Ice.Current current);

public abstract string[] opStringS1(string[] opStringS1, Ice.Current current);

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

public abstract string[] opStringS2(string[] stringS, Ice.Current current);

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

public abstract string[] opStringLiterals(Ice.Current current);

public abstract string[] opWStringLiterals(Ice.Current current);

public abstract MyClass_OpMStruct1MarshaledResult opMStruct1(Ice.Current current);

public abstract MyClass_OpMStruct2MarshaledResult opMStruct2(Structure p1, Ice.Current current);

public abstract MyClass_OpMSeq1MarshaledResult opMSeq1(Ice.Current current);

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

public abstract MyClass_OpMDict1MarshaledResult opMDict1(Ice.Current current);

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

public abstract double[] opFloatDoubleS(float[] p1, double[] p2, out float[] p3, out double[] p4, Ice.Current current);

public abstract string[] opStringS(string[] p1, string[] p2, out string[] p3, Ice.Current current);
Expand Down Expand Up @@ -13548,6 +13512,42 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract byte opByte1(byte opByte1, Ice.Current current);

public abstract short opShort1(short opShort1, Ice.Current current);

public abstract int opInt1(int opInt1, Ice.Current current);

public abstract long opLong1(long opLong1, Ice.Current current);

public abstract float opFloat1(float opFloat1, Ice.Current current);

public abstract double opDouble1(double opDouble1, Ice.Current current);

public abstract string opString1(string opString1, Ice.Current current);

public abstract string[] opStringS1(string[] opStringS1, Ice.Current current);

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

public abstract string[] opStringS2(string[] stringS, Ice.Current current);

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

public abstract string[] opStringLiterals(Ice.Current current);

public abstract string[] opWStringLiterals(Ice.Current current);

public abstract MyClass_OpMStruct1MarshaledResult opMStruct1(Ice.Current current);

public abstract MyClass_OpMStruct2MarshaledResult opMStruct2(Structure p1, Ice.Current current);

public abstract MyClass_OpMSeq1MarshaledResult opMSeq1(Ice.Current current);

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

public abstract MyClass_OpMDict1MarshaledResult opMDict1(Ice.Current current);

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

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test::MyDerivedClass";
Expand Down Expand Up @@ -13669,42 +13669,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract long[] opShortIntLongS(short[] p1, int[] p2, long[] p3, out short[] p4, out int[] p5, out long[] p6, Ice.Current current);

public abstract short opShort1(short opShort1, Ice.Current current);

public abstract int opInt1(int opInt1, Ice.Current current);

public abstract long opLong1(long opLong1, Ice.Current current);

public abstract float opFloat1(float opFloat1, Ice.Current current);

public abstract double opDouble1(double opDouble1, Ice.Current current);

public abstract string opString1(string opString1, Ice.Current current);

public abstract string[] opStringS1(string[] opStringS1, Ice.Current current);

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

public abstract string[] opStringS2(string[] stringS, Ice.Current current);

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

public abstract string[] opStringLiterals(Ice.Current current);

public abstract string[] opWStringLiterals(Ice.Current current);

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

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

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

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

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

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

public abstract double[] opFloatDoubleS(float[] p1, double[] p2, out float[] p3, out double[] p4, Ice.Current current);

public abstract string[] opStringS(string[] p1, string[] p2, out string[] p3, Ice.Current current);
Expand Down Expand Up @@ -13781,6 +13745,42 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract byte opByte1(byte opByte1, Ice.Current current);

public abstract short opShort1(short opShort1, Ice.Current current);

public abstract int opInt1(int opInt1, Ice.Current current);

public abstract long opLong1(long opLong1, Ice.Current current);

public abstract float opFloat1(float opFloat1, Ice.Current current);

public abstract double opDouble1(double opDouble1, Ice.Current current);

public abstract string opString1(string opString1, Ice.Current current);

public abstract string[] opStringS1(string[] opStringS1, Ice.Current current);

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

public abstract string[] opStringS2(string[] stringS, Ice.Current current);

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

public abstract string[] opStringLiterals(Ice.Current current);

public abstract string[] opWStringLiterals(Ice.Current current);

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

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

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

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

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

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

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test2::MyDerivedClass";
Expand Down
10 changes: 5 additions & 5 deletions slice2cs/js/test/Ice/location/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ private void _iceI_setAdapterDirectProxy(string iceP_id, global::Ice.ObjectPrx?
{
throw ex;
}
catch(global::Ice.AdapterAlreadyActiveException)
catch(global::Ice.AdapterNotFoundException)
{
throw;
}
catch(global::Ice.AdapterNotFoundException)
catch(global::Ice.AdapterAlreadyActiveException)
{
throw;
}
Expand Down Expand Up @@ -255,15 +255,15 @@ private void _iceI_setReplicatedAdapterDirectProxy(string iceP_adapterId, string
{
throw ex;
}
catch(global::Ice.AdapterAlreadyActiveException)
catch(global::Ice.AdapterNotFoundException)
{
throw;
}
catch(global::Ice.AdapterNotFoundException)
catch(global::Ice.InvalidReplicaGroupIdException)
{
throw;
}
catch(global::Ice.InvalidReplicaGroupIdException)
catch(global::Ice.AdapterAlreadyActiveException)
{
throw;
}
Expand Down
Loading

0 comments on commit d3583bc

Please sign in to comment.