void RegisterAndStartUdpStreamManager(String id, IRemotePacketHandler handler, int port) { UdpStreamManager streamManager = new UdpStreamManager(id, handler, null); streamManager.Start(port); _streamManagers.Add(streamManager); }
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; }