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