org.apache.activemq.command
Class SessionInfo
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.SessionInfo
- All Implemented Interfaces:
- Command, DataStructure
public class SessionInfo
- extends BaseCommand
- Version:
- $Revision: 1.13 $
Methods inherited from class org.apache.activemq.command.BaseCommand |
copy, getCommandId, getFrom, getTo, isBrokerInfo, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
sessionId
protected SessionId sessionId
SessionInfo
public SessionInfo()
SessionInfo
public SessionInfo(ConnectionInfo connectionInfo,
long sessionId)
SessionInfo
public SessionInfo(SessionId sessionId)
getDataStructureType
public byte getDataStructureType()
- Returns:
- The type of the data structure
getSessionId
public SessionId getSessionId()
setSessionId
public void setSessionId(SessionId sessionId)
createRemoveCommand
public RemoveInfo createRemoveCommand()
visit
public Response visit(CommandVisitor visitor)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011 Apache Software Foundation. All Rights Reserved.