public interface ILongPolling
DefaultLongPolling.| Modifier and Type | Method and Description |
|---|---|
void |
abortThread()
Abort long polling thread.
|
void |
abortThreadWithErrorIfWaiting()
Abort long polling thread with error.
|
void |
abortThreadWithouContinuingPolling()
Abort long polling thread - and tell the client that it should not
continue to create new poll requests.
|
boolean |
getContinuePolling() |
java.lang.String |
getId() |
java.lang.String |
getURL()
URL that is addressed by the long polling component on client side.
|
void |
keepAlive()
Writes some chunk content into the connection so that the connection
is not timed out.
|
void |
wakeup(boolean continuePolling)
When an event is triggered then the wakeup method is to be called.
|
void |
wakeupForReconnect()
Calling this method will trigger the long polling to pass back
a reconnect-signal to the client side.
|
java.lang.String getId()
boolean getContinuePolling()
java.lang.String getURL()
void wakeup(boolean continuePolling)
void wakeupForReconnect()
void abortThread()
void abortThreadWithouContinuingPolling()
void abortThreadWithErrorIfWaiting()
void keepAlive()
Copyright © CaptainCasa Gmbh. All Rights Reserved.