org.apache.activemq.command
Class SessionInfo

java.lang.Object
  extended by org.apache.activemq.command.BaseCommand
      extended by org.apache.activemq.command.SessionInfo
All Implemented Interfaces:
Command, DataStructure

public class SessionInfo
extends BaseCommand


Field Summary
static byte DATA_STRUCTURE_TYPE
           
protected  SessionId sessionId
           
 
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
 
Constructor Summary
SessionInfo()
           
SessionInfo(ConnectionInfo connectionInfo, long sessionId)
           
SessionInfo(SessionId sessionId)
           
 
Method Summary
 RemoveInfo createRemoveCommand()
           
 byte getDataStructureType()
           
 SessionId getSessionId()
           
 void setSessionId(SessionId sessionId)
           
 Response visit(CommandVisitor visitor)
           
 
Methods inherited from class org.apache.activemq.command.BaseCommand
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA_STRUCTURE_TYPE

public static final byte DATA_STRUCTURE_TYPE
See Also:
Constant Field Values

sessionId

protected SessionId sessionId
Constructor Detail

SessionInfo

public SessionInfo()

SessionInfo

public SessionInfo(ConnectionInfo connectionInfo,
                   long sessionId)

SessionInfo

public SessionInfo(SessionId sessionId)
Method Detail

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 Exception
Throws:
Exception


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.