Example usage for io.netty.channel ChannelMetadata ChannelMetadata

List of usage examples for io.netty.channel ChannelMetadata ChannelMetadata

Introduction

In this page you can find the example usage for io.netty.channel ChannelMetadata ChannelMetadata.

Prototype

public ChannelMetadata(boolean hasDisconnect) 

Source Link

Document

Create a new instance

Usage

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;
}