예제 #1
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opLongAsync(Ice.Optional <long> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpLongResult(p1, p1)));
 }
예제 #2
0
 public override void returnOptionalClass(bool req,
                                          out Ice.Optional <Test.OneOptional> o,
                                          Ice.Current current)
 {
     o = new Test.OneOptional(53);
 }
예제 #3
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opByteAsync(Ice.Optional <byte> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpByteResult(p1, p1)));
 }
예제 #4
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opShortAsync(Ice.Optional <short> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpShortResult(p1, p1)));
 }
예제 #5
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opIntOneOptionalDictAsync(Ice.Optional <Dictionary <int, Test.OneOptional> > p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpIntOneOptionalDictResult(p1, p1)));
 }
예제 #6
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
                opMDict2Async(Ice.Optional <Dictionary <string, int> > p1, Ice.Current current)
                {
                    await Task.Delay(0);

                    return(new Test.Initial_OpMDict2MarshaledResult(p1, p1, current));
                }
예제 #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));
        }
예제 #8
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opSerializableAsync(Ice.Optional <Ice.optional.Test.SerializableClass> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpSerializableResult(p1, p1)));
 }
예제 #9
0
 opMG2(Ice.Optional <Test.G> p1, Ice.Current current)
 {
     return(new Test.Initial_OpMG2MarshaledResult(p1, p1, current));
 }
예제 #10
0
 public override Ice.ObjectPrx getClientProxy(out Ice.Optional <bool> hasRoutingTable,
                                              Ice.Current current)
 {
     hasRoutingTable = false;
     return(null);
 }
예제 #11
0
 opMDict2(Ice.Optional <Dictionary <string, int> > p1, Ice.Current current)
 {
     return(new Test.Initial_OpMDict2MarshaledResult(p1, p1, current));
 }
예제 #12
0
 opMSeq2(Ice.Optional <string[]> p1, Ice.Current current)
 {
     return(new Test.Initial_OpMSeq2MarshaledResult(p1, p1, current));
 }
예제 #13
0
 opMStruct2(Ice.Optional <Test.SmallStruct> p1, Ice.Current current)
 {
     return(new Test.Initial_OpMStruct2MarshaledResult(p1, p1, current));
 }
예제 #14
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opFixedStructListAsync(Ice.Optional <LinkedList <Test.FixedStruct> > p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpFixedStructListResult(p1, p1)));
 }
예제 #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));
 }
예제 #16
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opVarStructSeqAsync(Ice.Optional <Test.VarStruct[]> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpVarStructSeqResult(p1, p1)));
 }
예제 #17
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opMyEnumAsync(Ice.Optional <Test.MyEnum> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpMyEnumResult(p1, p1)));
 }
예제 #18
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opStringIntDictAsync(Ice.Optional <Dictionary <string, int> > p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpStringIntDictResult(p1, p1)));
 }
예제 #19
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opOneOptionalAsync(Ice.Optional <Test.OneOptional> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpOneOptionalResult(p1, p1)));
 }
예제 #20
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 sendOptionalClassAsync(bool req, Ice.Optional <Test.OneOptional> o, Ice.Current current)
 {
     return(null);
 }
예제 #21
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opOneOptionalProxyAsync(Ice.Optional <Ice.ObjectPrx> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpOneOptionalProxyResult(p1, p1)));
 }
예제 #22
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
                opMG2Async(Ice.Optional <Test.G> p1, Ice.Current current)
                {
                    await Task.Delay(0);

                    return(new Test.Initial_OpMG2MarshaledResult(p1, p1, current));
                }
예제 #23
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opDoubleSeqAsync(Ice.Optional <double[]> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpDoubleSeqResult(p1, p1)));
 }
예제 #24
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opBoolAsync(Ice.Optional <bool> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpBoolResult(p1, p1)));
 }
예제 #25
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opStringSeqAsync(Ice.Optional <string[]> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpStringSeqResult(p1, p1)));
 }
예제 #26
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opIntAsync(Ice.Optional <int> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpIntResult(p1, p1)));
 }
예제 #27
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opSmallStructListAsync(Ice.Optional <List <Test.SmallStruct> > p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpSmallStructListResult(p1, p1)));
 }
예제 #28
0
파일: TestAMDI.cs 프로젝트: zj771484545/ice
 opFloatAsync(Ice.Optional <float> p1, Ice.Current current)
 {
     return(Task.FromResult(new Test.Initial_OpFloatResult(p1, p1)));
 }
예제 #29
0
 public override void sendOptionalClass(bool req,
                                        Ice.Optional <Test.OneOptional> o,
                                        Ice.Current current)
 {
 }