public fastCSharp.net.returnValue logout()
 {
     fastCSharp.net.returnValue.type _returnType_;
     fastCSharp.net.waitCall         _wait_ = fastCSharp.net.waitCall.Get();
     if (_wait_ == null)
     {
         _returnType_ = fastCSharp.net.returnValue.type.ClientException;
     }
     else
     {
         this.logout(null, _wait_, false);
         fastCSharp.net.returnValue _returnValue_;
         _wait_.Get(out _returnValue_);
         return(_returnValue_);
     }
     return(new fastCSharp.net.returnValue {
         Type = _returnType_
     });
 }
 public fastCSharp.net.returnValue send(string message, string[] users)
 {
     fastCSharp.net.returnValue.type _returnType_;
     fastCSharp.net.waitCall         _wait_ = fastCSharp.net.waitCall.Get();
     if (_wait_ == null)
     {
         _returnType_ = fastCSharp.net.returnValue.type.ClientException;
     }
     else
     {
         this.send(message, users, null, _wait_, false);
         fastCSharp.net.returnValue _returnValue_;
         _wait_.Get(out _returnValue_);
         return(_returnValue_);
     }
     return(new fastCSharp.net.returnValue {
         Type = _returnType_
     });
 }
Ejemplo n.º 3
0
            public fastCSharp.net.returnValue <int> add(int left, int right)
            {
                fastCSharp.net.returnValue.type         _returnType_;
                fastCSharp.net.waitCall <tcpServer._o0> _wait_ = fastCSharp.net.waitCall <tcpServer._o0> .Get();

                if (_wait_ == null)
                {
                    _returnType_ = fastCSharp.net.returnValue.type.ClientException;
                }
                else
                {
                    this.add(left, right, null, _wait_, false);
                    fastCSharp.net.returnValue <tcpServer._o0> _outputParameter_;
                    _wait_.Get(out _outputParameter_);
                    if (_outputParameter_.Type == fastCSharp.net.returnValue.type.Success)
                    {
                        return(_outputParameter_.Value.Return);
                    }
                    _returnType_ = _outputParameter_.Type;
                }
                return(new fastCSharp.net.returnValue <int> {
                    Type = _returnType_
                });
            }
            public fastCSharp.net.returnValue <fastCSharp.demo.udpPortServer.ipPort> get(fastCSharp.code.cSharp.tcpBase.subByteArrayBuffer name)
            {
                fastCSharp.net.returnValue.type         _returnType_;
                fastCSharp.net.waitCall <tcpServer._o0> _wait_ = fastCSharp.net.waitCall <tcpServer._o0> .Get();

                if (_wait_ == null)
                {
                    _returnType_ = fastCSharp.net.returnValue.type.ClientException;
                }
                else
                {
                    this.get(name, null, _wait_, false);
                    fastCSharp.net.returnValue <tcpServer._o0> _outputParameter_;
                    _wait_.Get(out _outputParameter_);
                    if (_outputParameter_.Type == fastCSharp.net.returnValue.type.Success)
                    {
                        return(_outputParameter_.Value.Return);
                    }
                    _returnType_ = _outputParameter_.Type;
                }
                return(new fastCSharp.net.returnValue <fastCSharp.demo.udpPortServer.ipPort> {
                    Type = _returnType_
                });
            }
            public fastCSharp.net.returnValue <bool> login(string user)
            {
                fastCSharp.net.returnValue.type         _returnType_;
                fastCSharp.net.waitCall <tcpServer._o0> _wait_ = fastCSharp.net.waitCall <tcpServer._o0> .Get();

                if (_wait_ == null)
                {
                    _returnType_ = fastCSharp.net.returnValue.type.ClientException;
                }
                else
                {
                    this.login(user, null, _wait_, false);
                    fastCSharp.net.returnValue <tcpServer._o0> _outputParameter_;
                    _wait_.Get(out _outputParameter_);
                    if (_outputParameter_.Type == fastCSharp.net.returnValue.type.Success)
                    {
                        return(_outputParameter_.Value.Return);
                    }
                    _returnType_ = _outputParameter_.Type;
                }
                return(new fastCSharp.net.returnValue <bool> {
                    Type = _returnType_
                });
            }