public ReceiverDispatcher (Ice.Endpoint e, MessageRequestDelegate mrd) { _e = e; _r = e.ProtocolReader; _requestHandler = mrd; _valid = true; // if the endpoint is connected and this endpoint isn't incoming, // then we need to wait for the validate message before // sending any requests if (_e.HasConnection && !_e.Incoming) _valid = false; _outstandingRequests = new Hashtable(); _notifiedRequests = new Hashtable(); _readerThread = new Thread(new ThreadStart (Reader)); _readerThread.IsBackground = true; _readerThread.Start(); }
public ReceiverDispatcher(Ice.Endpoint e, MessageRequestDelegate mrd) { _e = e; _r = e.ProtocolReader; _requestHandler = mrd; _valid = true; // if the endpoint is connected and this endpoint isn't incoming, // then we need to wait for the validate message before // sending any requests if (_e.HasConnection && !_e.Incoming) { _valid = false; } _outstandingRequests = new Hashtable(); _notifiedRequests = new Hashtable(); _readerThread = new Thread(new ThreadStart(Reader)); _readerThread.IsBackground = true; _readerThread.Start(); }
protected virtual void CreateProtocolReader() { _pr = new ProtocolReader (this.Stream); }
protected virtual void CreateProtocolReader() { _pr = new ProtocolReader(this.Stream); }