Save This Page
Home » JBoss-5.1.0 » org » jboss » remoting » stream » [javadoc | source]
org.jboss.remoting.stream
public class: StreamServer.Handler [javadoc | source]
java.lang.Object
   org.jboss.remoting.stream.StreamServer$Handler

All Implemented Interfaces:
    ServerInvocationHandler

Handler for accepting method calls on the input stream and perform the coresponding method call on the original input stream and returning the data.
Constructor:
 public Handler(Connector connector) 
Method from org.jboss.remoting.stream.StreamServer$Handler Summary:
addListener,   invoke,   removeListener,   setInvoker,   setMBeanServer
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.remoting.stream.StreamServer$Handler Detail:
 public  void addListener(InvokerCallbackHandler callbackHandler) 
    Adds a callback handler that will listen for callbacks from the server invoker handler.
 public Object invoke(InvocationRequest invocation) throws Throwable 
 public  void removeListener(InvokerCallbackHandler callbackHandler) 
    Removes the callback handler that was listening for callbacks from the server invoker handler.
 public  void setInvoker(ServerInvoker invoker) 
    set the invoker that owns this handler
 public  void setMBeanServer(MBeanServer server) 
    set the mbean server that the handler can reference