public void Dispose() { if (_Connection != null) { _Connection.Dispose(); _Connection = null; } OnFilterMessage = null; OnDispose(); }
public PersistentConnectionRequestFactoryMainThread(ObjClient con) : base(con) { _ShouldLock = false; }
public PersistentConnectionRequestFactory(ObjClient con) : base(con) { _ShouldLock = true; PlatDependant.RunBackground(ReadWork); PlatDependant.RunBackground(WriteWork); }
public PersistentConnectionRequestFactoryBase(ObjClient con) { _Connection = con; }
protected internal void Send(ObjClient con) { _Seq = con.NextSeq; con.Write(_Data); }