|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.engine.qos.UpdateQosServer
public final class UpdateQosServer
Handling of update() quality of services in the server core.
This decorator hides the real qos data object and gives us a server specific view on it.
MsgQosData
,
MsgQosSaxFactory
Field Summary | |
---|---|
private MsgQosData |
msgQosData
|
Constructor Summary | |
---|---|
UpdateQosServer(Global glob,
MsgQosData msgQosData)
A constructor for PtP messages. |
|
UpdateQosServer(Global glob,
MsgQosData msgQosData,
java.lang.String state)
A constructor for PtP messages. |
|
UpdateQosServer(Global glob,
MsgQosData msgQosData,
java.lang.String state,
java.lang.String subscriptionId)
A constructor for Pub/Sub message (with a subscriptionId). |
Method Summary | |
---|---|
MsgQosData |
getMsgQosData()
|
PriorityEnum |
getPriority()
|
java.lang.String |
getState()
|
java.lang.String |
getSubscriptionId()
|
void |
incrRedeliver()
|
static void |
incrRedeliver(MsgQosData msgQosData)
|
static void |
setData(MsgQosData msgQosData,
java.lang.String state,
java.lang.String subscriptionId)
Static manipulator if you want to avoid constructing one instance of UpdateQosServer |
java.lang.String |
toXml(long index,
long size)
Creates the returned callback QoS of the update() method. |
static java.lang.String |
toXml(MsgQosData msgQosData,
long index,
long size)
Static manipulator if you want to avoid constructing one instance of UpdateQosServer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final MsgQosData msgQosData
Constructor Detail |
---|
public UpdateQosServer(Global glob, MsgQosData msgQosData, java.lang.String state, java.lang.String subscriptionId)
e.g.
- Constants.STATE_OKpublic UpdateQosServer(Global glob, MsgQosData msgQosData, java.lang.String state)
e.g.
- Constants.STATE_OKpublic UpdateQosServer(Global glob, MsgQosData msgQosData)
Method Detail |
---|
public static void setData(MsgQosData msgQosData, java.lang.String state, java.lang.String subscriptionId)
public MsgQosData getMsgQosData()
public java.lang.String getSubscriptionId()
public java.lang.String getState()
public PriorityEnum getPriority()
public void incrRedeliver()
public static void incrRedeliver(MsgQosData msgQosData)
public java.lang.String toXml(long index, long size)
index
- Index of entry in queuemax
- Number of entries in queuepublic static java.lang.String toXml(MsgQosData msgQosData, long index, long size)
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |