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

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

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


Constructor Summary
Client2Server1.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

Client2Server1.SampleCallbackHandler

public Client2Server1.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.