protected class LongPollingTransport.LongPollScheduler extends Object implements AbstractServerTransport.OneTimeScheduler, javax.servlet.AsyncListener
| Constructor and Description |
|---|
LongPollingTransport.LongPollScheduler(ServerSessionImpl session,
javax.servlet.AsyncContext asyncContext,
ServerMessage.Mutable reply,
String browserId) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
ServerMessage.Mutable |
getReply() |
ServerSessionImpl |
getSession() |
void |
onComplete(javax.servlet.AsyncEvent asyncEvent) |
void |
onError(javax.servlet.AsyncEvent asyncEvent) |
void |
onStartAsync(javax.servlet.AsyncEvent asyncEvent) |
void |
onTimeout(javax.servlet.AsyncEvent asyncEvent) |
void |
schedule() |
public LongPollingTransport.LongPollScheduler(ServerSessionImpl session, javax.servlet.AsyncContext asyncContext, ServerMessage.Mutable reply, String browserId)
public void cancel()
cancel in interface AbstractServerTransport.Schedulerpublic void schedule()
schedule in interface AbstractServerTransport.Schedulerpublic ServerSessionImpl getSession()
public ServerMessage.Mutable getReply()
public void onStartAsync(javax.servlet.AsyncEvent asyncEvent)
throws IOException
onStartAsync in interface javax.servlet.AsyncListenerIOExceptionpublic void onComplete(javax.servlet.AsyncEvent asyncEvent)
throws IOException
onComplete in interface javax.servlet.AsyncListenerIOExceptionpublic void onTimeout(javax.servlet.AsyncEvent asyncEvent)
throws IOException
onTimeout in interface javax.servlet.AsyncListenerIOExceptionpublic void onError(javax.servlet.AsyncEvent asyncEvent)
throws IOException
onError in interface javax.servlet.AsyncListenerIOExceptionCopyright © 2008–2014 Dojo Foundation. All rights reserved.