public void Setup() { _cbs = new MockSmartCallbacks(); _bareSock = new MockSock(); _bufferPool = new MockBufferPool(); _threadSmartSock = new ThreadSmartSock(_bufferPool, _bareSock, _cbs); }
public void Setup() { _cbs = new MockSmartCallbacks(); _bareSock = new MockSock(); _bufferPool = new ByteBufferPool(); _sock = new SmartSock(_bufferPool, _bareSock, _cbs); }
public void Setup() { _cbs = new MockSmartCallbacks(); _bareSock = new MockSock(); _bufferPool = new ByteBufferPool(); _sock = new SmartSock(_bufferPool, _bareSock, _cbs); _remoteEndPoint = new IPEndPoint(IPAddress.Loopback, 23452); }
public void Setup() { _cbs = new MockSmartCallbacks(); _bareSock = new MockSock(); _bufferPool = new ByteBufferPool(); _sock = new SmartSock(_bufferPool, _bareSock, _cbs); _endPoint = new IPEndPoint(IPAddress.Loopback, 23452); Utils.SendConnectRequest(_bareSock, _endPoint, _bufferPool); }