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 voidaddTransportLayers(org.apache.qpid.proton.engine.Event event, org.apache.qpid.proton.engine.impl.TransportInternal transport)protected intgetMaxFrameSize()protected intgetProtocolPort()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:
addTransportLayersin classConnectionHandler
-
getProtocolPort
protected int getProtocolPort()
Description copied from class:ConnectionHandlerPort used on connection open frame- Overrides:
getProtocolPortin classConnectionHandler- Returns:
- port
-
getMaxFrameSize
protected int getMaxFrameSize()
- Overrides:
getMaxFrameSizein classConnectionHandler
-
-