org.jboss.remoting.samples.multiplex.invoker
Class Server2Client2.SampleCallbackHandler

java.lang.Object
  extended by org.jboss.remoting.samples.multiplex.invoker.Server2Client2.SampleCallbackHandler
All Implemented Interfaces:
InvokerCallbackHandler
Enclosing class:
Server2Client2

public static class Server2Client2.SampleCallbackHandler
extends java.lang.Object
implements InvokerCallbackHandler


Constructor Summary
Server2Client2.SampleCallbackHandler()
           
 
Method Summary
 boolean gotCallbacks()
           
 void handleCallback(Callback callback)
          Will take the callback message and send back to client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server2Client2.SampleCallbackHandler

public Server2Client2.SampleCallbackHandler()
Method Detail

handleCallback

public void handleCallback(Callback callback)
                    throws HandleCallbackException
Description copied from interface: InvokerCallbackHandler
Will take the callback message and send back to client. If client locator is null, will store them till client polls to get them.

Specified by:
handleCallback in interface InvokerCallbackHandler
Throws:
HandleCallbackException

gotCallbacks

public boolean gotCallbacks()


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.