public virtual void Start(INodeEndpointServerCallback <T> callback) { if (this.serverState != NodeEndpointServerState.Ready) { throw new InvalidOperationException("The server cannot be started."); } this.callback = callback; this.ProtocolFactory = this.callback.ProtocolFactory; this.ServerListener = this.ProtocolFactory.CreateServerListener(); this.serverListenerThread = new Thread(ServerListenerThreadProc); this.serverListenerThread.Start(); this.serverState = NodeEndpointServerState.Running; }
public NodeEndpointGuardServiceCallbackBase(INodeEndpointServerCallback <T> callback) { this.callback = callback; }
public DuplexNodeEndpointGuardServiceCallback(INodeEndpointServerCallback <T> callback) : base(callback) { }
public override void Start(INodeEndpointServerCallback <GuardService> callback) { base.Start(callback); }