org.codehaus.activemq.message
Class ConnectionInfo
java.lang.Object
org.codehaus.activemq.message.AbstractPacket
org.codehaus.activemq.message.ConnectionInfo
- All Implemented Interfaces:
- Packet
- public class ConnectionInfo
- extends AbstractPacket
Describes a Connection
- Version:
- $Revision: 1.8 $
Fields inherited from interface org.codehaus.activemq.message.Packet |
ACTIVEMQ_BROKER_INFO, ACTIVEMQ_BYTES_MESSAGE, ACTIVEMQ_CONNECTION_INFO, ACTIVEMQ_MAP_MESSAGE, ACTIVEMQ_MESSAGE, ACTIVEMQ_MSG_ACK, ACTIVEMQ_OBJECT_MESSAGE, ACTIVEMQ_STREAM_MESSAGE, ACTIVEMQ_TEXT_MESSAGE, CAPACITY_INFO, CAPACITY_INFO_REQUEST, CONSUMER_INFO, DURABLE_UNSUBSCRIBE, INT_RESPONSE_RECEIPT_INFO, PRODUCER_INFO, RECEIPT_INFO, RESPONSE_RECEIPT_INFO, SESSION_INFO, TRANSACTION_INFO, WIRE_FORMAT_INFO, XA_TRANSACTION_INFO |
Methods inherited from class org.codehaus.activemq.message.AbstractPacket |
addBrokerVisited, decrementMemoryReferenceCount, equals, getBitArray, getBrokersVisited, getBrokersVisitedAsString, getId, getMemoryUsage, getMemoryUsageReferenceCount, getPacketTypeAsString, hasVisited, incrementMemoryReferenceCount, initializeBrokersVisited, initializeOther, isJMSMessage, isReceipt, isReceiptRequired, setBitArray, setId, setMemoryUsage, setReceiptRequired, toString |
clientId
String clientId
userName
String userName
password
String password
hostName
String hostName
clientVersion
String clientVersion
wireFormatVersion
int wireFormatVersion
startTime
long startTime
started
boolean started
closed
boolean closed
properties
Properties properties
ConnectionInfo
public ConnectionInfo()
getPacketType
public int getPacketType()
- Return the type of Packet
- Returns:
- integer representation of the type of Packet
equals
public boolean equals(Object obj)
- Test for equality
- Overrides:
equals
in class AbstractPacket
- Parameters:
obj
- object to test
- Returns:
- true if equivalent
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractPacket
- Returns:
- hash code for instance
getClientId
public String getClientId()
- Returns:
- Returns the clientId.
setClientId
public void setClientId(String newClientId)
- Parameters:
newClientId
- The clientId to set.
getHostName
public String getHostName()
- Returns:
- Returns the hostName.
setHostName
public void setHostName(String newHostName)
- Parameters:
newHostName
- The hostName to set.
getPassword
public String getPassword()
- Returns:
- Returns the password.
setPassword
public void setPassword(String newPassword)
- Parameters:
newPassword
- The password to set.
getProperties
public Properties getProperties()
- Returns:
- Returns the properties.
setProperties
public void setProperties(Properties newProperties)
- Parameters:
newProperties
- The properties to set.
getStartTime
public long getStartTime()
- Returns:
- Returns the startTime.
setStartTime
public void setStartTime(long newStartTime)
- Parameters:
newStartTime
- The startTime to set.
getUserName
public String getUserName()
- Returns:
- Returns the userName.
setUserName
public void setUserName(String newUserName)
- Parameters:
newUserName
- The userName to set.
isStarted
public boolean isStarted()
- Returns:
- Returns the started.
setStarted
public void setStarted(boolean started)
- Parameters:
started
- The started to set.
isClosed
public boolean isClosed()
- Returns:
- Returns the closed.
setClosed
public void setClosed(boolean closed)
- Parameters:
closed
- The closed to set.
getClientVersion
public String getClientVersion()
- Returns:
- Returns the clientVersion.
setClientVersion
public void setClientVersion(String clientVersion)
- Parameters:
clientVersion
- The clientVersion to set.
getWireFormatVersion
public int getWireFormatVersion()
- Returns:
- Returns the wireFormatVersion.
setWireFormatVersion
public void setWireFormatVersion(int wireFormatVersion)
- Parameters:
wireFormatVersion
- The wireFormatVersion to set.
Copyright © 2004 Protique, Ltd.. All Rights Reserved.