public ConnectionWriter(ConnectionStream stream, int BDataBlocks, int BDataLenght) { if (stream == null) throw new ArgumentNullException("stream"); if (BDataBlocks <= 0) throw new ArgumentException("BDataBlocks"); if (BDataLenght <= 0) throw new ArgumentException("BDataLenght"); _outStream = stream; _BDataBlocks = BDataBlocks; _BDataLenght = BDataLenght; _syncObject = new Semaphore(_BDataBlocks, _BDataBlocks); }
public ConnectionWriter(ConnectionStream stream, int BDataBlocks, int BDataLenght) { if (stream == null) { throw new ArgumentNullException("stream"); } if (BDataBlocks <= 0) { throw new ArgumentException("BDataBlocks"); } if (BDataLenght <= 0) { throw new ArgumentException("BDataLenght"); } _outStream = stream; _BDataBlocks = BDataBlocks; _BDataLenght = BDataLenght; _syncObject = new Semaphore(_BDataBlocks, _BDataBlocks); }
public ConnectionWriter(ConnectionStream stream) : this(stream, stream.Connection.Application.BDataBlocks, stream.Connection.Application.BDataLenght) { }
public ConnectionWriter(ConnectionStream stream) : this(stream, stream.Connection.Application.BDataBlocks, stream.Connection.Application.BDataLenght) { }