public class ConnectionHandler
extends org.apache.qpid.proton.engine.BaseHandler
| Modifier | Constructor and Description |
|---|---|
protected |
ConnectionHandler(AmqpConnection amqpConnection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTransportLayers(org.apache.qpid.proton.engine.Event event,
org.apache.qpid.proton.engine.impl.TransportInternal transport) |
protected AmqpConnection |
getAmqpConnection() |
protected int |
getMaxFrameSize() |
protected int |
getProtocolPort()
Port used on connection open frame
|
String |
getRemoteHostName()
HostName to be used for socket creation.
|
protected int |
getRemotePort()
port used to create socket.
|
protected void |
notifyTransportErrors(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionBound(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionFinal(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionInit(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionLocalClose(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionLocalOpen(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionRemoteClose(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionRemoteOpen(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionUnbound(org.apache.qpid.proton.engine.Event event) |
void |
onTransportClosed(org.apache.qpid.proton.engine.Event event) |
void |
onTransportError(org.apache.qpid.proton.engine.Event event) |
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, setHandlerprotected ConnectionHandler(AmqpConnection amqpConnection)
protected AmqpConnection getAmqpConnection()
public void onConnectionInit(org.apache.qpid.proton.engine.Event event)
onConnectionInit in interface org.apache.qpid.proton.engine.CoreHandleronConnectionInit in class org.apache.qpid.proton.engine.BaseHandlerprotected void addTransportLayers(org.apache.qpid.proton.engine.Event event,
org.apache.qpid.proton.engine.impl.TransportInternal transport)
protected void notifyTransportErrors(org.apache.qpid.proton.engine.Event event)
public String getRemoteHostName()
protected int getRemotePort()
protected int getProtocolPort()
protected int getMaxFrameSize()
public void onConnectionBound(org.apache.qpid.proton.engine.Event event)
onConnectionBound in interface org.apache.qpid.proton.engine.CoreHandleronConnectionBound in class org.apache.qpid.proton.engine.BaseHandlerpublic void onConnectionUnbound(org.apache.qpid.proton.engine.Event event)
onConnectionUnbound in interface org.apache.qpid.proton.engine.CoreHandleronConnectionUnbound in class org.apache.qpid.proton.engine.BaseHandlerpublic void onTransportError(org.apache.qpid.proton.engine.Event event)
onTransportError in interface org.apache.qpid.proton.engine.CoreHandleronTransportError in class org.apache.qpid.proton.engine.BaseHandlerpublic void onTransportClosed(org.apache.qpid.proton.engine.Event event)
onTransportClosed in interface org.apache.qpid.proton.engine.CoreHandleronTransportClosed in class org.apache.qpid.proton.engine.BaseHandlerpublic void onConnectionLocalOpen(org.apache.qpid.proton.engine.Event event)
onConnectionLocalOpen in interface org.apache.qpid.proton.engine.CoreHandleronConnectionLocalOpen in class org.apache.qpid.proton.engine.BaseHandlerpublic void onConnectionRemoteOpen(org.apache.qpid.proton.engine.Event event)
onConnectionRemoteOpen in interface org.apache.qpid.proton.engine.CoreHandleronConnectionRemoteOpen in class org.apache.qpid.proton.engine.BaseHandlerpublic void onConnectionLocalClose(org.apache.qpid.proton.engine.Event event)
onConnectionLocalClose in interface org.apache.qpid.proton.engine.CoreHandleronConnectionLocalClose in class org.apache.qpid.proton.engine.BaseHandlerpublic void onConnectionRemoteClose(org.apache.qpid.proton.engine.Event event)
onConnectionRemoteClose in interface org.apache.qpid.proton.engine.CoreHandleronConnectionRemoteClose in class org.apache.qpid.proton.engine.BaseHandlerpublic void onConnectionFinal(org.apache.qpid.proton.engine.Event event)
onConnectionFinal in interface org.apache.qpid.proton.engine.CoreHandleronConnectionFinal in class org.apache.qpid.proton.engine.BaseHandlerCopyright © 2019. All rights reserved.