示例#1
0
 public Tunnel()
 {
     providerid = 0;
     sessionid  = 0;
     label      = 0;
     data       = new limax.codec.Octets();
 }
示例#2
0
 public ProviderLoginData(int _pvid_, int _type_, int _label_, limax.codec.Octets _data_)
 {
     this.pvid  = _pvid_;
     this.type  = _type_;
     this.label = _label_;
     this.data  = _data_;
 }
示例#3
0
 public Tunnel(int _providerid_, long _sessionid_, int _label_, limax.codec.Octets _data_)
 {
     this.providerid = _providerid_;
     this.sessionid  = _sessionid_;
     this.label      = _label_;
     this.data       = _data_;
 }
示例#4
0
 public ProviderLoginData()
 {
     pvid  = 0;
     type  = 0;
     label = 0;
     data  = new limax.codec.Octets();
 }
示例#5
0
 public ViewVariableData()
 {
     index       = 0;
     field       = 0;
     data        = new limax.codec.Octets();
     dataremoved = new limax.codec.Octets();
 }
示例#6
0
 public ViewVariableData(byte _index_, byte _field_, limax.codec.Octets _data_, limax.codec.Octets _dataremoved_)
 {
     this.index       = _index_;
     this.field       = _field_;
     this.data        = _data_;
     this.dataremoved = _dataremoved_;
 }
 public override OctetsStream unmarshal(OctetsStream _os_)
 {
     this.dh_data         = _os_.unmarshal_Octets();
     this.s2cneedcompress = _os_.unmarshal_bool();
     this.c2sneedcompress = _os_.unmarshal_bool();
     return(_os_);
 }
 public PortForward(int _command_, int _portsid_, int _code_, limax.codec.Octets _data_)
 {
     this.command = _command_;
     this.portsid = _portsid_;
     this.code    = _code_;
     this.data    = _data_;
 }
 public PortForward()
 {
     command = 0;
     portsid = 0;
     code    = 0;
     data    = new limax.codec.Octets();
 }
示例#10
0
 public OctetsStream unmarshal(OctetsStream _os_)
 {
     this.pvid  = _os_.unmarshal_int();
     this.type  = _os_.unmarshal_int();
     this.label = _os_.unmarshal_int();
     this.data  = _os_.unmarshal_Octets();
     return(_os_);
 }
示例#11
0
 public OctetsStream unmarshal(OctetsStream _os_)
 {
     this.index       = _os_.unmarshal_byte();
     this.field       = _os_.unmarshal_byte();
     this.data        = _os_.unmarshal_Octets();
     this.dataremoved = _os_.unmarshal_Octets();
     return(_os_);
 }
示例#12
0
 public override OctetsStream unmarshal(OctetsStream _os_)
 {
     this.providerid = _os_.unmarshal_int();
     this.sessionid  = _os_.unmarshal_long();
     this.label      = _os_.unmarshal_int();
     this.data       = _os_.unmarshal_Octets();
     return(_os_);
 }
 public override OctetsStream unmarshal(OctetsStream _os_)
 {
     this.command = _os_.unmarshal_int();
     this.portsid = _os_.unmarshal_int();
     this.code    = _os_.unmarshal_int();
     this.data    = _os_.unmarshal_Octets();
     return(_os_);
 }
示例#14
0
 public AuanyAuthArg(string _username_, string _token_, string _platflag_, Dictionary <int, byte> _pvids_, limax.codec.Octets _clientaddress_, byte _sockettype_)
 {
     this.username      = _username_;
     this.token         = _token_;
     this.platflag      = _platflag_;
     this.pvids         = _pvids_;
     this.clientaddress = _clientaddress_;
     this.sockettype    = _sockettype_;
 }
示例#15
0
 public AuanyAuthArg()
 {
     username      = "";
     token         = "";
     platflag      = "";
     pvids         = new Dictionary <int, byte>();
     clientaddress = new limax.codec.Octets();
     sockettype    = 0;
 }
 public SessionLoginByToken(string _username_, string _token_, string _platflag_, Dictionary <int, byte> _pvids_, limax.codec.Octets _report_ip_, short _report_port_)
 {
     this.username    = _username_;
     this.token       = _token_;
     this.platflag    = _platflag_;
     this.pvids       = _pvids_;
     this.report_ip   = _report_ip_;
     this.report_port = _report_port_;
 }
 public SessionLoginByToken()
 {
     username    = "";
     token       = "";
     platflag    = "";
     pvids       = new Dictionary <int, byte>();
     report_ip   = new limax.codec.Octets();
     report_port = 0;
 }
示例#18
0
 public AuanyAuthRes()
 {
     errorSource = 0;
     errorCode   = 0;
     sessionid   = 0;
     mainid      = 0;
     uid         = "";
     flags       = 0;
     lmkdata     = new limax.codec.Octets();
 }
示例#19
0
 public SendControlToServer(int _providerid_, long _sessionid_, short _classindex_, int _instanceindex_, byte _controlindex_, limax.codec.Octets _controlparameter_, string _stringdata_)
 {
     this.providerid       = _providerid_;
     this.sessionid        = _sessionid_;
     this.classindex       = _classindex_;
     this.instanceindex    = _instanceindex_;
     this.controlindex     = _controlindex_;
     this.controlparameter = _controlparameter_;
     this.stringdata       = _stringdata_;
 }
示例#20
0
 public SendControlToServer()
 {
     providerid       = 0;
     sessionid        = 0;
     classindex       = 0;
     instanceindex    = 0;
     controlindex     = 0;
     controlparameter = new limax.codec.Octets();
     stringdata       = "";
 }
 public OnlineAnnounce()
 {
     errorSource    = 0;
     errorCode      = 0;
     sessionid      = 0;
     flags          = 0;
     variantdefines = new Dictionary <int, limax.defines.VariantDefines>();
     scriptdefines  = "";
     lmkdata        = new limax.codec.Octets();
 }
示例#22
0
 public AuanyAuthRes(int _errorSource_, int _errorCode_, long _sessionid_, long _mainid_, string _uid_, long _flags_, limax.codec.Octets _lmkdata_)
 {
     this.errorSource = _errorSource_;
     this.errorCode   = _errorCode_;
     this.sessionid   = _sessionid_;
     this.mainid      = _mainid_;
     this.uid         = _uid_;
     this.flags       = _flags_;
     this.lmkdata     = _lmkdata_;
 }
 public OnlineAnnounce(int _errorSource_, int _errorCode_, long _sessionid_, long _flags_, Dictionary <int, limax.defines.VariantDefines> _variantdefines_, string _scriptdefines_, limax.codec.Octets _lmkdata_)
 {
     this.errorSource    = _errorSource_;
     this.errorCode      = _errorCode_;
     this.sessionid      = _sessionid_;
     this.flags          = _flags_;
     this.variantdefines = _variantdefines_;
     this.scriptdefines  = _scriptdefines_;
     this.lmkdata        = _lmkdata_;
 }
示例#24
0
 public override OctetsStream unmarshal(OctetsStream _os_)
 {
     this.providerid       = _os_.unmarshal_int();
     this.sessionid        = _os_.unmarshal_long();
     this.classindex       = _os_.unmarshal_short();
     this.instanceindex    = _os_.unmarshal_int();
     this.controlindex     = _os_.unmarshal_byte();
     this.controlparameter = _os_.unmarshal_Octets();
     this.stringdata       = _os_.unmarshal_string();
     return(_os_);
 }
示例#25
0
 public OctetsStream unmarshal(OctetsStream _os_)
 {
     this.errorSource = _os_.unmarshal_int();
     this.errorCode   = _os_.unmarshal_int();
     this.sessionid   = _os_.unmarshal_long();
     this.mainid      = _os_.unmarshal_long();
     this.uid         = _os_.unmarshal_string();
     this.flags       = _os_.unmarshal_long();
     this.lmkdata     = _os_.unmarshal_Octets();
     return(_os_);
 }
 public override OctetsStream unmarshal(OctetsStream _os_)
 {
     this.username = _os_.unmarshal_string();
     this.token    = _os_.unmarshal_string();
     this.platflag = _os_.unmarshal_string();
     for (int _i_ = _os_.unmarshal_size(); _i_ > 0; --_i_)
     {
         int  _k_ = _os_.unmarshal_int();
         byte _v_ = _os_.unmarshal_byte();
         this.pvids[_k_] = _v_;
     }
     this.report_ip   = _os_.unmarshal_Octets();
     this.report_port = _os_.unmarshal_short();
     return(_os_);
 }
示例#27
0
 public OctetsStream unmarshal(OctetsStream _os_)
 {
     this.username = _os_.unmarshal_string();
     this.token    = _os_.unmarshal_string();
     this.platflag = _os_.unmarshal_string();
     for (int _i_ = _os_.unmarshal_size(); _i_ > 0; --_i_)
     {
         int  _k_ = _os_.unmarshal_int();
         byte _v_ = _os_.unmarshal_byte();
         this.pvids[_k_] = _v_;
     }
     this.clientaddress = _os_.unmarshal_Octets();
     this.sockettype    = _os_.unmarshal_byte();
     return(_os_);
 }
 public override OctetsStream unmarshal(OctetsStream _os_)
 {
     this.errorSource = _os_.unmarshal_int();
     this.errorCode   = _os_.unmarshal_int();
     this.sessionid   = _os_.unmarshal_long();
     this.flags       = _os_.unmarshal_long();
     for (int _i_ = _os_.unmarshal_size(); _i_ > 0; --_i_)
     {
         int _k_ = _os_.unmarshal_int();
         limax.defines.VariantDefines _v_ = new limax.defines.VariantDefines();
         _v_.unmarshal(_os_);
         this.variantdefines[_k_] = _v_;
     }
     this.scriptdefines = _os_.unmarshal_string();
     this.lmkdata       = _os_.unmarshal_Octets();
     return(_os_);
 }
 public SHandShake()
 {
     dh_data         = new limax.codec.Octets();
     s2cneedcompress = false;
     c2sneedcompress = false;
 }
 public SHandShake(limax.codec.Octets _dh_data_, bool _s2cneedcompress_, bool _c2sneedcompress_)
 {
     this.dh_data         = _dh_data_;
     this.s2cneedcompress = _s2cneedcompress_;
     this.c2sneedcompress = _c2sneedcompress_;
 }