Example #1
0
 void RegisterAndStartUdpStreamManager(String id, IRemotePacketHandler handler, int port)
 {
     UdpStreamManager streamManager = new UdpStreamManager(id, handler, null);
     streamManager.Start(port);
     _streamManagers.Add(streamManager);
 }
Example #2
0
 public TcpSessionAsync(IRemotePacketHandler handler, Object parent)
 {
     _handler = handler;
     _parent = parent;
 }
Example #3
0
 public TcpStreamManager(IRemotePacketHandler handler, Object parent)
 {
     _handler = handler;
     _parent = parent;
 }
Example #4
0
 public UdpStreamManager(String id, IRemotePacketHandler handler, Object parent)
 {
     this.ID = id;
     _handler = handler;
     _parent = parent;
 }