public class Connection
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Connection.Factory |
static interface |
Connection.Tracker |
Constructor and Description |
---|
Connection(io.netty.channel.Channel channel,
int version,
Connection.Tracker tracker) |
Modifier and Type | Method and Description |
---|---|
io.netty.channel.Channel |
channel() |
FrameCompressor |
getCompressor() |
Connection.Tracker |
getTracker() |
int |
getVersion() |
void |
setCompressor(FrameCompressor compressor) |
public Connection(io.netty.channel.Channel channel, int version, Connection.Tracker tracker)
public void setCompressor(FrameCompressor compressor)
public FrameCompressor getCompressor()
public Connection.Tracker getTracker()
public int getVersion()
public io.netty.channel.Channel channel()
Copyright © 2016 The Apache Software Foundation