|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.queuemsg.MsgQueueEntry
org.xmlBlaster.client.queuemsg.MsgQueueConnectEntry
Wraps an connect() message into an entry for a sorted queue.
| Field Summary | |
private ConnectQosData |
connectQosData
|
private long |
immutableSizeInBytes
|
private SessionName |
receiver
|
private static long |
serialVersionUID
|
| Fields inherited from class org.xmlBlaster.util.queuemsg.MsgQueueEntry |
entryType, glob, persistent, priority, redeliverCounter, refToCloneOrigin, returnObj, storageId, uniqueIdString, uniqueIdTimestamp, wantReturnObj |
| Constructor Summary | |
MsgQueueConnectEntry(Global glob,
PriorityEnum priority,
StorageId storageId,
Timestamp timestamp,
long sizeInBytes,
ConnectQosData connectQosData)
For persistence recovery |
|
MsgQueueConnectEntry(Global glob,
StorageId storageId,
ConnectQosData connectQosData)
Use this constructor if a new message object is fed by method connect(). |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a shallow clone |
void |
embeddedObjectToXml(java.io.OutputStream out,
java.util.Properties props)
Dump content to xml representation |
ConnectQosData |
getConnectQosData()
|
java.lang.Object |
getEmbeddedObject()
The embeddded object for this implementing class is an Object[1] where Object[0] = qos.toXml() |
java.lang.String |
getKeyOid()
|
Timestamp |
getRcvTimestamp()
return null |
SessionName |
getReceiver()
|
SessionName |
getSender()
Access the unique login name of the sender. |
long |
getSizeInBytes()
Try to find out the approximate memory consumption of this message in RAM. |
boolean |
isDestroyed()
Flag which marks the entry as destroyed, you should take it from queue and ignore/discard it |
boolean |
isExpired()
Flag which marks the entry as outdated |
boolean |
isInternal()
|
void |
setReceiver(SessionName receiver)
|
| Methods inherited from class org.xmlBlaster.util.queuemsg.MsgQueueEntry |
added, compare, equals, finalize, getEmbeddedType, getLogId, getMethodName, getMsgUnit, getPriority, getPriorityEnum, getRedeliverCounter, getReturnObj, getStorageId, getUniqueId, getUniqueIdLong, incrRedeliverCounter, isPersistent, isStored, removed, setGlobal, setPersistent, setReturnObj, setStored, setWantReturnObject, toString, toXml, toXml, wantReturnObj |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
private final ConnectQosData connectQosData
private SessionName receiver
private final long immutableSizeInBytes
| Constructor Detail |
public MsgQueueConnectEntry(Global glob,
StorageId storageId,
ConnectQosData connectQosData)
throws XmlBlasterException
public MsgQueueConnectEntry(Global glob,
PriorityEnum priority,
StorageId storageId,
Timestamp timestamp,
long sizeInBytes,
ConnectQosData connectQosData)
| Method Detail |
public final boolean isExpired()
MsgQueueEntry
isExpired in class MsgQueueEntryMsgQueueEntry.isExpired()public final boolean isDestroyed()
MsgQueueEntry
isDestroyed in class MsgQueueEntryMsgQueueEntry.isDestroyed()public final ConnectQosData getConnectQosData()
public final SessionName getSender()
getSender in class MsgQueueEntryMsgQueueEntry.getSender()public final void setReceiver(SessionName receiver)
MsgQueueEntry.getReceiver()public final SessionName getReceiver()
getReceiver in class MsgQueueEntryMsgQueueEntry.getReceiver()public final java.lang.String getKeyOid()
getKeyOid in class MsgQueueEntryMsgQueueEntry.getKeyOid()public final Timestamp getRcvTimestamp()
public java.lang.Object getEmbeddedObject()
public final long getSizeInBytes()
MsgQueueEntry
getSizeInBytes in interface I_EntrygetSizeInBytes in class MsgQueueEntrypublic final boolean isInternal()
isInternal in class MsgQueueEntry
public final void embeddedObjectToXml(java.io.OutputStream out,
java.util.Properties props)
throws java.io.IOException
I_Entry
out - The stream to dump toprops - Control porperties
java.io.IOExceptionpublic java.lang.Object clone()
clone in class MsgQueueEntry
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||