Class WebSocketConnectionHandler
- java.lang.Object
-
- org.apache.qpid.proton.engine.BaseHandler
-
- com.microsoft.azure.eventhubs.impl.ConnectionHandler
-
- com.microsoft.azure.eventhubs.impl.WebSocketConnectionHandler
-
- All Implemented Interfaces:
org.apache.qpid.proton.engine.CoreHandler
,org.apache.qpid.proton.engine.Handler
- Direct Known Subclasses:
WebSocketProxyConnectionHandler
public class WebSocketConnectionHandler extends ConnectionHandler
-
-
Constructor Summary
Constructors Constructor Description WebSocketConnectionHandler(AmqpConnection amqpConnection, String connectionId, org.apache.qpid.proton.engine.SslDomain.VerifyMode verifyMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTransportLayers(org.apache.qpid.proton.engine.Event event, org.apache.qpid.proton.engine.impl.TransportInternal transport)
protected int
getMaxFrameSize()
protected int
getProtocolPort()
Port used on connection open frame-
Methods inherited from class com.microsoft.azure.eventhubs.impl.ConnectionHandler
getAmqpConnection, getRemoteHostName, getRemotePort, notifyTransportErrors, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteClose, onConnectionRemoteOpen, onConnectionUnbound, onTransportClosed, onTransportError
-
Methods inherited from class org.apache.qpid.proton.engine.BaseHandler
add, children, getHandler, getHandler, handle, onDelivery, onLinkFinal, onLinkFlow, onLinkInit, onLinkLocalClose, onLinkLocalDetach, onLinkLocalOpen, onLinkRemoteClose, onLinkRemoteDetach, onLinkRemoteOpen, onReactorFinal, onReactorInit, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onSessionLocalClose, onSessionLocalOpen, onSessionRemoteClose, onSessionRemoteOpen, onTimerTask, onTransport, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandler
-
-
-
-
Constructor Detail
-
WebSocketConnectionHandler
public WebSocketConnectionHandler(AmqpConnection amqpConnection, String connectionId, org.apache.qpid.proton.engine.SslDomain.VerifyMode verifyMode)
-
-
Method Detail
-
addTransportLayers
protected void addTransportLayers(org.apache.qpid.proton.engine.Event event, org.apache.qpid.proton.engine.impl.TransportInternal transport)
- Overrides:
addTransportLayers
in classConnectionHandler
-
getProtocolPort
protected int getProtocolPort()
Description copied from class:ConnectionHandler
Port used on connection open frame- Overrides:
getProtocolPort
in classConnectionHandler
- Returns:
- port
-
getMaxFrameSize
protected int getMaxFrameSize()
- Overrides:
getMaxFrameSize
in classConnectionHandler
-
-