public class ActiveMQProtonRemotingConnection extends AbstractRemotingConnection
closeListeners, creationTime, dataReceived, executor, failureListeners, transportConnection| Constructor and Description |
|---|
ActiveMQProtonRemotingConnection(ProtonProtocolManager manager,
AMQPConnectionContext amqpConnection,
Connection transportConnection,
Executor connectionExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
bufferReceived(Object connectionID,
ActiveMQBuffer buffer) |
boolean |
checkDataReceived() |
void |
destroy() |
void |
disconnect(boolean criticalError) |
void |
disconnect(String scaleDownNodeID,
boolean criticalError)
Disconnect the connection, closing all channels
|
void |
fail(ActiveMQException me,
String scaleDownTargetNodeID) |
void |
flush() |
AMQPConnectionContext |
getAmqpConnection() |
String |
getClientID() |
ProtonProtocolManager |
getManager() |
String |
getProtocolName()
Returns the name of the protocol for this Remoting Connection
|
Subject |
getSubject() |
String |
getTransportLocalAddress() |
boolean |
isClient() |
boolean |
isDestroyed() |
void |
killMessage(SimpleString nodeID) |
void |
open() |
void |
scheduledFlush() |
addCloseListener, addFailureListener, asyncFail, callClosingListeners, callFailureListeners, createTransportBuffer, fail, getAuditSubject, getCreationTime, getFailureListeners, getID, getLocalAddress, getRemoteAddress, getTransportConnection, isSupportReconnect, isSupportsFlowControl, isWritable, removeCloseListener, removeCloseListeners, removeFailureListener, removeFailureListeners, setAuditSubject, setClientID, setCloseListeners, setFailureListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisconnect, isSameTargetendOfBatchpublic ActiveMQProtonRemotingConnection(ProtonProtocolManager manager, AMQPConnectionContext amqpConnection, Connection transportConnection, Executor connectionExecutor)
public AMQPConnectionContext getAmqpConnection()
public ProtonProtocolManager getManager()
public void scheduledFlush()
scheduledFlush in interface RemotingConnectionscheduledFlush in class AbstractRemotingConnectionpublic void fail(ActiveMQException me, String scaleDownTargetNodeID)
public void destroy()
public boolean isClient()
public boolean isDestroyed()
public void disconnect(boolean criticalError)
public void disconnect(String scaleDownNodeID, boolean criticalError)
public boolean checkDataReceived()
checkDataReceived in interface RemotingConnectioncheckDataReceived in class AbstractRemotingConnectionpublic void flush()
public void bufferReceived(Object connectionID, ActiveMQBuffer buffer)
bufferReceived in interface BufferHandlerbufferReceived in class AbstractRemotingConnectionpublic void killMessage(SimpleString nodeID)
public Subject getSubject()
getSubject in interface RemotingConnectiongetSubject in class AbstractRemotingConnectionpublic String getProtocolName()
public String getClientID()
getClientID in interface RemotingConnectiongetClientID in class AbstractRemotingConnectionpublic void open()
public String getTransportLocalAddress()
Copyright © 2021 The Apache Software Foundation. All rights reserved.