org.jboss.remoting.samples.callback.statistics
Class CallbackClient.CallbackHandler

java.lang.Object
  extended by org.jboss.remoting.samples.callback.statistics.CallbackClient.CallbackHandler
All Implemented Interfaces:
InvokerCallbackHandler
Enclosing class:
CallbackClient

public class CallbackClient.CallbackHandler
extends java.lang.Object
implements InvokerCallbackHandler

Our implementation of the InvokerCallbackHandler. Simply prints out the callback object's message upon receiving it.


Constructor Summary
CallbackClient.CallbackHandler()
           
 
Method Summary
 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

CallbackClient.CallbackHandler

public CallbackClient.CallbackHandler()
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


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