|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.apache.sandesha2.polling.PollingManager
This class is responsible for sending MakeConnection requests. This is a seperate thread that keeps running. Will do MakeConnection based on the request queue or randomly.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
PollingManager()
|
Method Summary | |
boolean |
isPoll()
|
void |
run()
|
void |
setPoll(boolean poll)
|
void |
shedulePollingRequest(java.lang.String sequenceId)
Asking the polling manager to do a polling request on the sequence identified by the given InternalSequenceId. |
void |
start()
|
void |
start(org.apache.axis2.context.ConfigurationContext configurationContext)
Starts the PollingManager. |
void |
stopPolling()
Asks the PollingManager to stop its work. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PollingManager()
Method Detail |
public void run()
public void start(org.apache.axis2.context.ConfigurationContext configurationContext) throws SandeshaException
configurationContext
-
SandeshaException
public void stopPolling()
public void setPoll(boolean poll)
public boolean isPoll()
public void start()
public void shedulePollingRequest(java.lang.String sequenceId)
sequenceId
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |