// // Only for use by Connector, Acceptor // internal Transceiver(IceInternal.ITransceiver transceiver) { _transceiver = transceiver; _configuration = Configuration.getInstance(); _initialized = false; _readBuffer = new byte[1024 * 8]; // 8KB buffer _readBufferOffset = 0; _readBufferPos = 0; _buffered = _configuration.buffered(); }
// // Only for use by Connector, Acceptor // internal Transceiver(IceInternal.ITransceiver transceiver) { _transceiver = transceiver; _configuration = Configuration.getInstance(); _initialized = false; _readBuffer = new IceInternal.Buffer(); _readBuffer.Resize(1024 * 8, true); // 8KB buffer _readBuffer.B.Position(0); _readBufferPos = 0; _buffered = _configuration.buffered(); }
// // Only for use by ConnectorI, AcceptorI. // internal Transceiver(Instance instance, IceInternal.ITransceiver del, string hostOrAdapterName, bool incoming) { _instance = instance; _delegate = del; _incoming = incoming; if (_incoming) { _adapterName = hostOrAdapterName; } else { _host = hostOrAdapterName; } _sslStream = null; _verifyPeer = _instance.Communicator.GetPropertyAsInt("IceSSL.VerifyPeer") ?? 2; }