org.jboss.remoting.callback
Class CallbackPoller
java.lang.Object
java.util.TimerTask
org.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. |
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 |
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
CallbackPoller
public CallbackPoller(Client client,
InvokerCallbackHandler callbackhandler,
java.util.Map metadata,
java.lang.Object callbackHandlerObject)
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.