Esempio n. 1
0
 opLongAsync(Ice.Optional <long> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpLongResult(p1, p1)));
 }
Esempio n. 2
0
 public override void returnOptionalClass(bool req,
                                          out Ice.Optional <Test.OneOptional> o,
                                          Ice.Current current)
 {
     o = new Test.OneOptional(53);
 }
Esempio n. 3
0
 opByteAsync(Ice.Optional <byte> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpByteResult(p1, p1)));
 }
Esempio n. 4
0
 opShortAsync(Ice.Optional <short> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpShortResult(p1, p1)));
 }
Esempio n. 5
0
 opIntOneOptionalDictAsync(Ice.Optional <Dictionary <int, Test.OneOptional> > p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpIntOneOptionalDictResult(p1, p1)));
 }
Esempio n. 6
0
                opMDict2Async(Ice.Optional <Dictionary <string, int> > p1, Ice.Current current)
                {
                    await Task.Delay(0);

                    return(new Test.Initial_OpMDict2MarshaledResult(p1, p1, current));
                }
Esempio n. 7
0
        public ACMMonitor acm(Ice.Optional <int> timeout, Ice.Optional <Ice.ACMClose> c, Ice.Optional <Ice.ACMHeartbeat> h)
        {
            Debug.Assert(_instance != null);

            ACMConfig config = (ACMConfig)_config.Clone();

            if (timeout.HasValue)
            {
                config.timeout = timeout.Value * 1000; // To milliseconds
            }
            if (c.HasValue)
            {
                config.close = c.Value;
            }
            if (h.HasValue)
            {
                config.heartbeat = h.Value;
            }
            return(new ConnectionACMMonitor(this, _instance.timer(), config));
        }
Esempio n. 8
0
 opSerializableAsync(Ice.Optional <Ice.optional.Test.SerializableClass> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpSerializableResult(p1, p1)));
 }
Esempio n. 9
0
 opMG2(Ice.Optional <Test.G> p1, Ice.Current current)
 {
     return(new Test.Initial_OpMG2MarshaledResult(p1, p1, current));
 }
Esempio n. 10
0
 public override Ice.ObjectPrx getClientProxy(out Ice.Optional <bool> hasRoutingTable,
                                              Ice.Current current)
 {
     hasRoutingTable = false;
     return(null);
 }
Esempio n. 11
0
 opMDict2(Ice.Optional <Dictionary <string, int> > p1, Ice.Current current)
 {
     return(new Test.Initial_OpMDict2MarshaledResult(p1, p1, current));
 }
Esempio n. 12
0
 opMSeq2(Ice.Optional <string[]> p1, Ice.Current current)
 {
     return(new Test.Initial_OpMSeq2MarshaledResult(p1, p1, current));
 }
Esempio n. 13
0
 opMStruct2(Ice.Optional <Test.SmallStruct> p1, Ice.Current current)
 {
     return(new Test.Initial_OpMStruct2MarshaledResult(p1, p1, current));
 }
Esempio n. 14
0
 opFixedStructListAsync(Ice.Optional <LinkedList <Test.FixedStruct> > p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpFixedStructListResult(p1, p1)));
 }
Esempio n. 15
0
 public ACMMonitor acm(Ice.Optional <int> timeout, Ice.Optional <Ice.ACMClose> c, Ice.Optional <Ice.ACMHeartbeat> h)
 {
     return(_parent.acm(timeout, c, h));
 }
Esempio n. 16
0
 opVarStructSeqAsync(Ice.Optional <Test.VarStruct[]> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpVarStructSeqResult(p1, p1)));
 }
Esempio n. 17
0
 opMyEnumAsync(Ice.Optional <Test.MyEnum> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpMyEnumResult(p1, p1)));
 }
Esempio n. 18
0
 opStringIntDictAsync(Ice.Optional <Dictionary <string, int> > p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpStringIntDictResult(p1, p1)));
 }
Esempio n. 19
0
 opOneOptionalAsync(Ice.Optional <Test.OneOptional> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpOneOptionalResult(p1, p1)));
 }
Esempio n. 20
0
 sendOptionalClassAsync(bool req, Ice.Optional <Test.OneOptional> o, Ice.Current current)
 {
     return(null);
 }
Esempio n. 21
0
 opOneOptionalProxyAsync(Ice.Optional <Ice.ObjectPrx> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpOneOptionalProxyResult(p1, p1)));
 }
Esempio n. 22
0
                opMG2Async(Ice.Optional <Test.G> p1, Ice.Current current)
                {
                    await Task.Delay(0);

                    return(new Test.Initial_OpMG2MarshaledResult(p1, p1, current));
                }
Esempio n. 23
0
 opDoubleSeqAsync(Ice.Optional <double[]> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpDoubleSeqResult(p1, p1)));
 }
Esempio n. 24
0
 opBoolAsync(Ice.Optional <bool> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpBoolResult(p1, p1)));
 }
Esempio n. 25
0
 opStringSeqAsync(Ice.Optional <string[]> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpStringSeqResult(p1, p1)));
 }
Esempio n. 26
0
 opIntAsync(Ice.Optional <int> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpIntResult(p1, p1)));
 }
Esempio n. 27
0
 opSmallStructListAsync(Ice.Optional <List <Test.SmallStruct> > p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpSmallStructListResult(p1, p1)));
 }
Esempio n. 28
0
 opFloatAsync(Ice.Optional <float> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpFloatResult(p1, p1)));
 }
Esempio n. 29
0
 public override void sendOptionalClass(bool req,
                                        Ice.Optional <Test.OneOptional> o,
                                        Ice.Current current)
 {
 }