play.server
类 PlayHandler.WebSocketInvocation

java.lang.Object
  继承者 play.Invoker.Invocation
      继承者 play.server.PlayHandler.WebSocketInvocation
所有已实现的接口:
java.lang.Runnable
包容类:
PlayHandler

public static class PlayHandler.WebSocketInvocation
extends Invoker.Invocation


构造方法摘要
PlayHandler.WebSocketInvocation(java.util.Map<java.lang.String,java.lang.String> route, Http.Request request, Http.Inbound inbound, Http.Outbound outbound, org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
           
 
方法摘要
 void execute()
          Override this method
 Invoker.InvocationContext getInvocationContext()
           
 boolean init()
          Init the call (especially usefull in DEV mode to detect changes)
 void onException(java.lang.Throwable e)
          Things to do if the Invocation code thrown an exception
 void onSuccess()
          Things to do when the whole invocation has succeeded (before + execute + after)
 
从类 play.Invoker.Invocation 继承的方法
_finally, after, before, preInit, run, suspend
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

PlayHandler.WebSocketInvocation

public PlayHandler.WebSocketInvocation(java.util.Map<java.lang.String,java.lang.String> route,
                                       Http.Request request,
                                       Http.Inbound inbound,
                                       Http.Outbound outbound,
                                       org.jboss.netty.channel.ChannelHandlerContext ctx,
                                       org.jboss.netty.channel.MessageEvent e)
方法详细信息

init

public boolean init()
从类 Invoker.Invocation 复制的描述
Init the call (especially usefull in DEV mode to detect changes)

覆盖:
Invoker.Invocation 中的 init

getInvocationContext

public Invoker.InvocationContext getInvocationContext()
指定者:
Invoker.Invocation 中的 getInvocationContext

execute

public void execute()
             throws java.lang.Exception
从类 Invoker.Invocation 复制的描述
Override this method

指定者:
Invoker.Invocation 中的 execute
抛出:
java.lang.Exception

onException

public void onException(java.lang.Throwable e)
从类 Invoker.Invocation 复制的描述
Things to do if the Invocation code thrown an exception

覆盖:
Invoker.Invocation 中的 onException

onSuccess

public void onSuccess()
               throws java.lang.Exception
从类 Invoker.Invocation 复制的描述
Things to do when the whole invocation has succeeded (before + execute + after)

覆盖:
Invoker.Invocation 中的 onSuccess
抛出:
java.lang.Exception


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly