org.jboss.remoting.callback
Class CallbackPoller

java.lang.Object
  extended byjava.util.TimerTask
      extended byorg.jboss.remoting.callback.CallbackPoller
All Implemented Interfaces:
java.lang.Runnable

public class CallbackPoller
extends java.util.TimerTask

Author:
Tom Elrod

Field Summary
static java.lang.String CALLBACK_POLL_PERIOD
          The key value to use to specify the desired poll period within the metadata Map.
static long DEFAULT_POLL_PERIOD
          Default polling period for getting callbacks from the server.
 
Constructor Summary
CallbackPoller(Client client, InvokerCallbackHandler callbackhandler, java.util.Map metadata, java.lang.Object callbackHandlerObject)
           
 
Method Summary
 void run()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_POLL_PERIOD

public static final long DEFAULT_POLL_PERIOD
Default polling period for getting callbacks from the server. Default is 5000 milliseconds.

See Also:
Constant Field Values

CALLBACK_POLL_PERIOD

public static final java.lang.String CALLBACK_POLL_PERIOD
The key value to use to specify the desired poll period within the metadata Map.

See Also:
Constant Field Values
Constructor Detail

CallbackPoller

public CallbackPoller(Client client,
                      InvokerCallbackHandler callbackhandler,
                      java.util.Map metadata,
                      java.lang.Object callbackHandlerObject)
Method Detail

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run()

stop

public void stop()


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