org.apache.activemq.command
Class ConnectionError

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

public class ConnectionError
extends BaseCommand


Field Summary
static byte DATA_STRUCTURE_TYPE
           
 
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
 
Constructor Summary
ConnectionError()
           
 
Method Summary
 ConnectionId getConnectionId()
           
 byte getDataStructureType()
           
 Throwable getException()
           
 void setConnectionId(ConnectionId connectionId)
           
 void setException(Throwable exception)
           
 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
Constructor Detail

ConnectionError

public ConnectionError()
Method Detail

getDataStructureType

public byte getDataStructureType()
Returns:
The type of the data structure

visit

public Response visit(CommandVisitor visitor)
               throws Exception
Throws:
Exception

getException

public Throwable getException()

setException

public void setException(Throwable exception)

getConnectionId

public ConnectionId getConnectionId()

setConnectionId

public void setConnectionId(ConnectionId connectionId)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.