public class IoSessionEventQueue extends Object
Constructor | Description |
---|---|
IoSessionEventQueue(ProxyIoSession proxyIoSession) |
Modifier and Type | Method | Description |
---|---|---|
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.
|
public IoSessionEventQueue(ProxyIoSession proxyIoSession)
public void enqueueEventIfNecessary(IoSessionEvent evt)
evt
- the event to enqueuepublic void flushPendingSessionEvents() throws Exception
Exception
- If something went wrong while flushing the pending eventsCopyright © 2004–2018 Apache MINA Project. All rights reserved.