ml.shifu.guagua.yarn
类 GuaguaYarnTask.ClientHandler

java.lang.Object
  继承者 org.jboss.netty.channel.SimpleChannelUpstreamHandler
      继承者 ml.shifu.guagua.yarn.GuaguaYarnTask.ClientHandler
所有已实现的接口:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
包容类:
GuaguaYarnTask<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>

public static class GuaguaYarnTask.ClientHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler

ClientHandeler used to update progress to RPC server (AppMaster).


嵌套类摘要
 
从接口 org.jboss.netty.channel.ChannelHandler 继承的嵌套类/接口
org.jboss.netty.channel.ChannelHandler.Sharable
 
构造方法摘要
GuaguaYarnTask.ClientHandler()
           
 
方法摘要
 void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
           
 void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
           
 void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e)
           
 void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
           
 
从类 org.jboss.netty.channel.SimpleChannelUpstreamHandler 继承的方法
channelBound, channelClosed, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, writeComplete
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

GuaguaYarnTask.ClientHandler

public GuaguaYarnTask.ClientHandler()
方法详细信息

handleUpstream

public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
                           org.jboss.netty.channel.ChannelEvent e)
                    throws Exception
指定者:
接口 org.jboss.netty.channel.ChannelUpstreamHandler 中的 handleUpstream
覆盖:
org.jboss.netty.channel.SimpleChannelUpstreamHandler 中的 handleUpstream
抛出:
Exception

channelConnected

public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
                             org.jboss.netty.channel.ChannelStateEvent e)
覆盖:
org.jboss.netty.channel.SimpleChannelUpstreamHandler 中的 channelConnected

messageReceived

public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
                            org.jboss.netty.channel.MessageEvent e)
覆盖:
org.jboss.netty.channel.SimpleChannelUpstreamHandler 中的 messageReceived

exceptionCaught

public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
                            org.jboss.netty.channel.ExceptionEvent e)
覆盖:
org.jboss.netty.channel.SimpleChannelUpstreamHandler 中的 exceptionCaught


Copyright © 2015. All Rights Reserved.