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