public RemoteClientMessageService(TCPRemoteClient remoteClient, IRemoteClientMessageDelegate remoteClientMessageDelegate)
 {
     _remoteClient = remoteClient;
     //KTODO may be better to have a start/stop method on this so that it can unregister
     //from the given remote client
     remoteClient.Register(this);
     _remoteClientMessageDelegate = remoteClientMessageDelegate;
 }
Esempio n. 2
0
 public void OnRemoteClientAdded(TCPRemoteClient remoteClient)
 {
     remoteClient.Register(this);
 }