public class RemoteRunAgent
extends org.jboss.netty.channel.SimpleChannelHandler
implements org.jboss.netty.channel.ChannelFutureListener
| Constructor and Description |
|---|
RemoteRunAgent(Executor bossExecutor,
Executor workerExecutor,
Executor writePool) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
org.jboss.netty.channel.ChannelFuture |
connect(InetSocketAddress address) |
static SSLEngine |
createSslEngine() |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
static void |
main(String[] args) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
operationComplete(org.jboss.netty.channel.ChannelFuture future) |
void |
shutdown() |
void |
write(RemoteRun.AgentToMaster message) |
bindRequested, channelBound, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic static void main(String[] args)
public static SSLEngine createSslEngine()
public org.jboss.netty.channel.ChannelFuture connect(InetSocketAddress address)
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelConnected in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void operationComplete(org.jboss.netty.channel.ChannelFuture future)
throws Exception
operationComplete in interface org.jboss.netty.channel.ChannelFutureListenerExceptionpublic void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelDisconnected in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
exceptionCaught in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void write(RemoteRun.AgentToMaster message)
public void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelClosed in class org.jboss.netty.channel.SimpleChannelHandlerException@PreDestroy public void shutdown()
Copyright © 2016 Formicary. All rights reserved.