public class NettyConnectionManager extends Object implements NetworkConnectionManager
| Constructor and Description |
|---|
NettyConnectionManager(InetAddress bindAddress,
int bindPort,
int bufferSize,
int numInThreads,
int numOutThreads,
int lowWaterMark,
int highWaterMark) |
| Modifier and Type | Method and Description |
|---|---|
void |
enqueue(Envelope envelope,
RemoteReceiver receiver) |
void |
shutdown() |
void |
start(ChannelManager channelManager) |
public NettyConnectionManager(InetAddress bindAddress, int bindPort, int bufferSize, int numInThreads, int numOutThreads, int lowWaterMark, int highWaterMark)
public void start(ChannelManager channelManager) throws IOException
start in interface NetworkConnectionManagerIOExceptionpublic void enqueue(Envelope envelope, RemoteReceiver receiver) throws IOException
enqueue in interface NetworkConnectionManagerIOExceptionpublic void shutdown()
throws IOException
shutdown in interface NetworkConnectionManagerIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.