Class MultiListenerServerIODispatch
- java.lang.Object
-
- org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
- org.apache.synapse.transport.passthru.ServerIODispatch
-
- org.apache.synapse.transport.passthru.core.MultiListenerServerIODispatch
-
- All Implemented Interfaces:
org.apache.http.nio.reactor.IOEventDispatch
- Direct Known Subclasses:
MultiListenerSSLServerIODispatch
public class MultiListenerServerIODispatch extends ServerIODispatch
Class Responsible for dispatch IOEvents to mapping EventHandler according to InboundEndpoint port
-
-
Constructor Summary
Constructors Constructor Description MultiListenerServerIODispatch(Map<Integer,org.apache.http.nio.NHttpServerEventHandler> handlers, org.apache.http.nio.NHttpServerEventHandler nHttpServerEventHandler, ServerConnFactory connFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonClosed(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)protected voidonConnected(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)protected voidonException(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection, IOException e)protected voidonInputReady(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)protected voidonOutputReady(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)protected voidonTimeout(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)-
Methods inherited from class org.apache.synapse.transport.passthru.ServerIODispatch
createConnection, update
-
-
-
-
Constructor Detail
-
MultiListenerServerIODispatch
public MultiListenerServerIODispatch(Map<Integer,org.apache.http.nio.NHttpServerEventHandler> handlers, org.apache.http.nio.NHttpServerEventHandler nHttpServerEventHandler, ServerConnFactory connFactory)
-
-
Method Detail
-
onConnected
protected void onConnected(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)
- Overrides:
onConnectedin classServerIODispatch
-
onClosed
protected void onClosed(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)
- Overrides:
onClosedin classServerIODispatch
-
onException
protected void onException(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection, IOException e)- Overrides:
onExceptionin classServerIODispatch
-
onInputReady
protected void onInputReady(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)
- Overrides:
onInputReadyin classServerIODispatch
-
onOutputReady
protected void onOutputReady(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)
- Overrides:
onOutputReadyin classServerIODispatch
-
onTimeout
protected void onTimeout(org.apache.http.impl.nio.DefaultNHttpServerConnection defaultNHttpServerConnection)
- Overrides:
onTimeoutin classServerIODispatch
-
-