/////////////////////////////////////////////////////////////////////////////////////////////// public virtual StreamTranslation GetEnvironmentOutputTranslation(StreamTranslation translation) { CheckDisposed(); return((translation == StreamTranslation.environment) ? GetEnvironmentOutputTranslation() : translation); }
/////////////////////////////////////////////////////////////////////////////////////////////// #region Public Constructors public ChannelStream( Stream stream, ChannelType channelType, OptionDictionary options, StreamFlags flags, StreamTranslation inTranslation, StreamTranslation outTranslation ) : this() { this.stream = stream; this.channelType = channelType; this.options = options; this.flags = flags; this.inTranslation = inTranslation; this.outTranslation = outTranslation; }
/////////////////////////////////////////////////////////////////////////////////////////////// internal ChannelStream( Socket socket, int timeout, ChannelType channelType, OptionDictionary options, StreamFlags flags, StreamTranslation inTranslation, StreamTranslation outTranslation ) : this() { this.socket = socket; this.timeout = timeout; this.channelType = channelType; this.options = options; this.flags = flags; this.inTranslation = inTranslation; this.outTranslation = outTranslation; }
/////////////////////////////////////////////////////////////////////////////////////////////// public Channel( Stream stream, ChannelType channelType, OptionDictionary options, StreamFlags flags, StreamTranslation inTranslation, StreamTranslation outTranslation, Encoding encoding, bool appendMode, bool autoFlush, IClientData clientData ) : this() { this.stream = new ChannelStream( stream, channelType, options, flags, inTranslation, outTranslation); this.encoding = encoding; this.appendMode = appendMode; this.autoFlush = autoFlush; this.clientData = clientData; }