|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.proxy.event.IoSessionEventQueue
public class IoSessionEventQueue
IoSessionEventQueue.java - Queue that contains filtered session events while handshake isn't done.
Constructor Summary | |
---|---|
IoSessionEventQueue(ProxyIoSession proxyIoSession)
|
Method Summary | |
---|---|
void |
enqueueEventIfNecessary(IoSessionEvent evt)
Event is enqueued only if necessary : - socks proxies do not need the reconnection feature so events are always forwarded for these. |
void |
flushPendingSessionEvents()
Send any session event which were queued while waiting for handshaking to complete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IoSessionEventQueue(ProxyIoSession proxyIoSession)
Method Detail |
---|
public void enqueueEventIfNecessary(IoSessionEvent evt)
evt
- the event to enqueuepublic void flushPendingSessionEvents() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |