示例#1
0
 @Override
 public void opDerivedException_async(
     AMD_Initial_opDerivedException cb,
     Ice.IntOptional a,
     Ice.Optional<String> b,
     Ice.Optional<OneOptional> o,
     Ice.Current current)
     throws OptionalException {
   DerivedException ex = new DerivedException();
   if (a.isSet()) {
     ex.setA(a.get());
   } else {
     ex.clearA(); // The member "a" has a default value.
   }
   if (b.isSet()) {
     ex.setB(b.get());
     ex.setSs(b.get());
   } else {
     ex.clearSs(); // The member "ss" has a default value.
   }
   if (o.isSet()) {
     ex.setO(o.get());
     ex.setO2(o.get());
   }
   cb.ice_exception(ex);
 }
示例#2
0
 @Override
 public void opSerializableReq_async(
     AMD_Initial_opSerializableReq cb, Ice.Optional<SerializableClass> p1, Ice.Current current) {
   cb.ice_response(p1.get(), p1.get());
 }
示例#3
0
 @Override
 public void opVarStructSeqReq_async(
     AMD_Initial_opVarStructSeqReq cb, Ice.Optional<VarStruct[]> p1, Ice.Current current) {
   cb.ice_response(p1.get(), p1.get());
 }
示例#4
0
 @Override
 public void opDoubleSeqReq_async(
     AMD_Initial_opDoubleSeqReq cb, Ice.Optional<double[]> p1, Ice.Current current) {
   cb.ice_response(p1.get(), p1.get());
 }
示例#5
0
 @Override
 public void opOneOptionalProxyReq_async(
     AMD_Initial_opOneOptionalProxyReq cb, Ice.Optional<OneOptionalPrx> p1, Ice.Current current) {
   cb.ice_response(p1.get(), p1.get());
 }
示例#6
0
 @Override
 public void opFixedStructReq_async(
     AMD_Initial_opFixedStructReq cb, Ice.Optional<FixedStruct> p1, Ice.Current current) {
   cb.ice_response(p1.get(), p1.get());
 }
示例#7
0
 @Override
 public void opMyEnumReq_async(
     AMD_Initial_opMyEnumReq cb, Ice.Optional<MyEnum> p1, Ice.Current current) {
   cb.ice_response(p1.get(), p1.get());
 }