|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.messaging.common.MessageInfo
The message info contains all recipent specific information about the message. All of these properties are optional with default values set by the constructor.
Field Summary |
Type | Field |
---|---|
static int |
HIGH
|
static int |
HIGHEST
|
static int |
LOOSE_FULL_TRACK
|
static int |
LOOSE_NOTIFICATION
|
static int |
LOOSE_SESSION
|
static int |
LOW
Some convenient constants for the value for priority. |
static int |
NO_SESSION
Valid value for session levels. |
static int |
NO_TRACK
Valid values for tracking level. |
static int |
NORMAL
|
static int |
NOT_RELIABLE
Valid reliability levels. |
static int |
RELIABLE
|
static int |
TIGHT_FULL_TRACK
|
static int |
TIGHT_NOTIFICATION
|
static int |
TIGHT_SESSION
|
Constructor Summary |
MessageInfo()
Constructor. |
Method Summary |
Type | Method |
---|---|
int |
getCostLevel()
Get the sending cost level of the message. |
int |
getDelay()
Get the delay to send the message. |
int |
getExpiration()
Get the expiration of the message. |
int |
getPriority()
Get the priority of the message. |
int |
getReliability()
Get the reliability level of the message. |
int |
getSession()
Get the session level. |
int |
getSpeedLevel()
Get the sending speed level of the message. |
int |
getTracking()
Get the tracking level in sending the message. |
void |
setCostLevel(int cost)
Set the sending cost level of the message. |
void |
setDelay(int delay)
Set the delay to send the message. |
void |
setExpiration(int expiration)
Set the expiration of the message. |
void |
setPriority(int priority)
Set the priority of the message. |
void |
setReliability(int reliable)
Set the reliability level of the message. |
void |
setSession(int session)
Set the session level. |
void |
setSpeedLevel(int speed)
Set the sending speed level of the message. |
void |
setTracking(int tracking)
Set the tracking level in sending the message. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LOW
public static final int NORMAL
public static final int HIGH
public static final int HIGHEST
public static final int NOT_RELIABLE
public static final int RELIABLE
public static final int NO_TRACK
public static final int TIGHT_NOTIFICATION
public static final int TIGHT_FULL_TRACK
public static final int LOOSE_NOTIFICATION
public static final int LOOSE_FULL_TRACK
public static final int NO_SESSION
public static final int TIGHT_SESSION
public static final int LOOSE_SESSION
Constructor Detail |
public MessageInfo()
Method Detail |
public int getDelay()
public int getExpiration()
public int getPriority()
public int getSpeedLevel()
public int getCostLevel()
public int getReliability()
public int getTracking()
public int getSession()
public void setDelay(int delay)
delay
- the delay in seconds.public void setExpiration(int expiration)
expiration
- the expiration in seconds.public void setPriority(int priority)
priority
- the priority.public void setSpeedLevel(int speed)
speed
- the sending speed level.public void setCostLevel(int cost)
cost
- the sending cost level.public void setReliability(int reliable)
reliable
- the reliability level.public void setTracking(int tracking)
tracking
- the tracking level.public void setSession(int session)
session
- the session level.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |