public MuxChannel(long channelId, Muxer muxer) { this.channelId = channelId; this.muxer = muxer; this.policy = muxer.getPolicy().clonePolicy(); this.suspendToken = new AtomicBoolean(false); this.ioState = new IOState(); ioState.setState(ConnectionState.CONNECTING); this.inputClosed = new AtomicBoolean(false); this.outputClosed = new AtomicBoolean(false); }
public MuxChannel(long channelId, Muxer muxer) { this.channelId = channelId; this.muxer = muxer; this.policy = muxer.getPolicy().clonePolicy(); this.suspendToken = new AtomicBoolean(false); this.ioState = new IOState(); ioState.setState(ConnectionState.CONNECTING); this.inputClosed = new AtomicBoolean(false); this.outputClosed = new AtomicBoolean(false); }