List of usage examples for io.netty.channel ChannelMetadata ChannelMetadata
public ChannelMetadata(boolean hasDisconnect)
From source file:io.nodyn.netty.pipe.AbstractNioStreamChannel.java
License:Apache License
protected AbstractNioStreamChannel(NodeProcess process, Pipe pipe) { super(null, pipe.source()); this.process = process; this.config = new DefaultChannelConfig(this); this.metadata = new ChannelMetadata(false); }
From source file:io.nodyn.netty.pipe.NioOutputStreamChannel.java
License:Apache License
protected NioOutputStreamChannel(NodeProcess process, OutputStream out) { super(null);/* w ww .ja v a2 s . c om*/ this.process = process; this.out = out; this.config = new DefaultChannelConfig(this); this.metadata = new ChannelMetadata(false); this.open = true; }