Class ManagementRemotingConnection
- java.lang.Object
-
- org.apache.activemq.artemis.core.management.impl.ManagementRemotingConnection
-
- All Implemented Interfaces:
RemotingConnection,BufferHandler
public class ManagementRemotingConnection extends Object implements RemotingConnection
-
-
Field Summary
Fields Modifier and Type Field Description SessionCallbackcallback
-
Constructor Summary
Constructors Constructor Description ManagementRemotingConnection()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.spi.core.remoting.BufferHandler
endOfBatch
-
Methods inherited from interface org.apache.activemq.artemis.spi.core.protocol.RemotingConnection
disconnect, isSameTarget
-
-
-
-
Field Detail
-
callback
public SessionCallback callback
-
-
Method Detail
-
getID
public Object getID()
- Specified by:
getIDin interfaceRemotingConnection
-
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTimein interfaceRemotingConnection
-
getRemoteAddress
public String getRemoteAddress()
- Specified by:
getRemoteAddressin interfaceRemotingConnection
-
scheduledFlush
public void scheduledFlush()
- Specified by:
scheduledFlushin interfaceRemotingConnection
-
addFailureListener
public void addFailureListener(FailureListener listener)
- Specified by:
addFailureListenerin interfaceRemotingConnection
-
removeFailureListener
public boolean removeFailureListener(FailureListener listener)
- Specified by:
removeFailureListenerin interfaceRemotingConnection
-
addCloseListener
public void addCloseListener(CloseListener listener)
- Specified by:
addCloseListenerin interfaceRemotingConnection
-
removeCloseListener
public boolean removeCloseListener(CloseListener listener)
- Specified by:
removeCloseListenerin interfaceRemotingConnection
-
removeCloseListeners
public List<CloseListener> removeCloseListeners()
- Specified by:
removeCloseListenersin interfaceRemotingConnection
-
setCloseListeners
public void setCloseListeners(List<CloseListener> listeners)
- Specified by:
setCloseListenersin interfaceRemotingConnection
-
getFailureListeners
public List<FailureListener> getFailureListeners()
- Specified by:
getFailureListenersin interfaceRemotingConnection
-
removeFailureListeners
public List<FailureListener> removeFailureListeners()
- Specified by:
removeFailureListenersin interfaceRemotingConnection
-
setFailureListeners
public void setFailureListeners(List<FailureListener> listeners)
- Specified by:
setFailureListenersin interfaceRemotingConnection
-
createTransportBuffer
public ActiveMQBuffer createTransportBuffer(int size)
- Specified by:
createTransportBufferin interfaceRemotingConnection
-
fail
public void fail(ActiveMQException me)
- Specified by:
failin interfaceRemotingConnection
-
asyncFail
public Future asyncFail(ActiveMQException me)
- Specified by:
asyncFailin interfaceRemotingConnection
-
fail
public void fail(ActiveMQException me, String scaleDownTargetNodeID)
- Specified by:
failin interfaceRemotingConnection
-
destroy
public void destroy()
- Specified by:
destroyin interfaceRemotingConnection
-
getTransportConnection
public Connection getTransportConnection()
- Specified by:
getTransportConnectionin interfaceRemotingConnection
-
isClient
public boolean isClient()
- Specified by:
isClientin interfaceRemotingConnection
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyedin interfaceRemotingConnection
-
disconnect
public void disconnect(boolean criticalError)
- Specified by:
disconnectin interfaceRemotingConnection
-
disconnect
public void disconnect(String scaleDownNodeID, boolean criticalError)
- Specified by:
disconnectin interfaceRemotingConnection
-
checkDataReceived
public boolean checkDataReceived()
- Specified by:
checkDataReceivedin interfaceRemotingConnection
-
flush
public void flush()
- Specified by:
flushin interfaceRemotingConnection
-
isWritable
public boolean isWritable(ReadyListener callback)
- Specified by:
isWritablein interfaceRemotingConnection
-
killMessage
public void killMessage(SimpleString nodeID)
- Specified by:
killMessagein interfaceRemotingConnection
-
isSupportReconnect
public boolean isSupportReconnect()
- Specified by:
isSupportReconnectin interfaceRemotingConnection
-
isSupportsFlowControl
public boolean isSupportsFlowControl()
- Specified by:
isSupportsFlowControlin interfaceRemotingConnection
-
setSubject
public void setSubject(Subject subject)
- Specified by:
setSubjectin interfaceRemotingConnection
-
getSubject
public Subject getSubject()
- Specified by:
getSubjectin interfaceRemotingConnection
-
getProtocolName
public String getProtocolName()
- Specified by:
getProtocolNamein interfaceRemotingConnection
-
setClientID
public void setClientID(String cID)
- Specified by:
setClientIDin interfaceRemotingConnection
-
getClientID
public String getClientID()
- Specified by:
getClientIDin interfaceRemotingConnection
-
getTransportLocalAddress
public String getTransportLocalAddress()
- Specified by:
getTransportLocalAddressin interfaceRemotingConnection
-
bufferReceived
public void bufferReceived(Object connectionID, ActiveMQBuffer buffer)
- Specified by:
bufferReceivedin interfaceBufferHandler
-
-