示例#1
0
 public ModuleCommandConnection(OmapModule module, int port)
     : base(module.Ip, port)
 {
     base.Connected += OnConnected;
     base.Errored   += OnSocketErrored;
     this.Module     = module;
 }
示例#2
0
 public OmapDataReceiver(OmapModule module, SessionType sessionType, int port)
 {
     this.module      = module;
     this.SessionType = sessionType;
     this.Port        = port;
 }