public class IoSessionEventQueue
extends java.lang.Object
Constructor and Description |
---|
IoSessionEventQueue(ProxyIoSession proxyIoSession) |
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)
public void enqueueEventIfNecessary(IoSessionEvent evt)
evt
- the event to enqueuepublic void flushPendingSessionEvents() throws java.lang.Exception
java.lang.Exception
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.