|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.activemq.message.AbstractPacket
org.activemq.advisories.TempDestinationAdvisoryEvent
public class TempDestinationAdvisoryEvent
This event is raised when a MessageTempDestination starts/stops *
Field Summary |
---|
Fields inherited from class org.activemq.message.AbstractPacket |
---|
bitArray, BROKERS_VISITED_INDEX, cachedHashCode, RECEIPT_REQUIRED_INDEX |
Constructor Summary | |
---|---|
TempDestinationAdvisoryEvent()
Empty constructor |
|
TempDestinationAdvisoryEvent(ActiveMQDestination dest,
boolean started)
Default Constructor |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Tests equality with another instance |
ActiveMQDestination |
getDestination()
|
int |
getPacketType()
Return the type of Packet |
int |
hashCode()
|
boolean |
isStarted()
|
void |
readExternal(ObjectInput in)
read from a stream |
void |
setDestination(ActiveMQDestination destination)
|
void |
setStarted(boolean started)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
write to a stream |
Methods inherited from class org.activemq.message.AbstractPacket |
---|
addBrokerVisited, clearBrokersVisited, decrementMemoryReferenceCount, equals, getBitArray, getBrokersVisited, getBrokersVisitedAsString, getId, getMemoryUsage, getMemoryUsageReferenceCount, getPacketTypeAsString, hasVisited, incrementMemoryReferenceCount, initializeOther, isJMSMessage, isReceipt, isReceiptRequired, setBitArray, setBrokersVisitedAsString, setId, setMemoryUsage, setReceiptRequired |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TempDestinationAdvisoryEvent()
public TempDestinationAdvisoryEvent(ActiveMQDestination dest, boolean started)
dest
- started
- Method Detail |
---|
public ActiveMQDestination getDestination()
public void setDestination(ActiveMQDestination destination)
destination
- The destination to set.public boolean isStarted()
public void setStarted(boolean started)
started
- The started to set.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
out
-
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
-
IOException
ClassNotFoundException
public boolean equals(Object obj)
AbstractPacket
equals
in class AbstractPacket
obj
-
public int hashCode()
hashCode
in class AbstractPacket
public int getPacketType()
Packet
getPacketType
in interface Packet
public String toString()
toString
in class AbstractPacket
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |