|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMessage
This interface extends basic message interface Data: $Date: 2008/07/03 19:43:10 $ Revision: $Revision: 1.1 $
| Field Summary | |
|---|---|
static int |
STATE_ANSWERED
Stack received answer to this message |
static int |
STATE_BUFFERED
The message is biffered ( not use yet ) |
static int |
STATE_NOT_SENT
The message is not sent to the network |
static int |
STATE_SENT
The message is ent to the network |
| Fields inherited from interface org.jdiameter.api.Message |
|---|
ABORT_SESSION_ANSWER, ABORT_SESSION_REQUEST, ACCOUNTING_ANSWER, ACCOUNTING_REQUEST, CAPABILITIES_EXCHANGE_ANSWER, CAPABILITIES_EXCHANGE_REQUEST, DEVICE_WATCHDOG_ANSWER, DEVICE_WATCHDOG_REQUEST, DISCONNECT_PEER_ANSWER, DISCONNECT_PEER_REQUEST, RE_AUTH_ANSWER, RE_AUTH_REQUEST, SESSION_TERMINATION_ANSWER, SESSION_TERMINATION_REQUEST |
| Fields inherited from interface org.jdiameter.api.Message |
|---|
ABORT_SESSION_ANSWER, ABORT_SESSION_REQUEST, ACCOUNTING_ANSWER, ACCOUNTING_REQUEST, CAPABILITIES_EXCHANGE_ANSWER, CAPABILITIES_EXCHANGE_REQUEST, DEVICE_WATCHDOG_ANSWER, DEVICE_WATCHDOG_REQUEST, DISCONNECT_PEER_ANSWER, DISCONNECT_PEER_REQUEST, RE_AUTH_ANSWER, RE_AUTH_REQUEST, SESSION_TERMINATION_ANSWER, SESSION_TERMINATION_REQUEST |
| Method Summary | |
|---|---|
void |
clearTimer()
Cancel timer |
java.lang.Object |
clone()
Create clone object |
void |
createTimer(java.util.concurrent.ScheduledExecutorService scheduledFacility,
long timeOut,
java.util.concurrent.TimeUnit timeUnit)
Create timer for request timout procedure |
java.lang.String |
getDuplicationKey()
Return duplication key of message |
java.lang.String |
getDuplicationKey(java.lang.String host,
long endToEndId)
Generate duplication key |
IEventListener |
getEventListener()
Return event listener |
int |
getFlags()
Return flags as inteher |
long |
getHeaderApplicationId()
Return header applicationId |
IPeer |
getPeer()
Return attached peer |
org.jdiameter.api.ApplicationId |
getSingleApplicationId()
Return application id |
int |
getState()
Return state of message |
boolean |
isTimeOut()
Check timeout |
void |
runTimer()
Execute timer task |
void |
setEndToEndIdentifier(long endByEndId)
Set end by end id |
void |
setHopByHopIdentifier(long hopByHopId)
Set hop by hop id |
void |
setListener(IEventListener listener)
Set event listener |
void |
setPeer(IPeer peer)
Attach message to peer |
void |
setState(int newState)
Set new state |
| Methods inherited from interface org.jdiameter.client.api.IRequest |
|---|
setNetworkRequest |
| Methods inherited from interface org.jdiameter.api.Request |
|---|
createAnswer, createAnswer, isNetworkRequest |
| Methods inherited from interface org.jdiameter.api.Message |
|---|
getApplicationId, getApplicationIdAvps, getAvps, getCommandCode, getEndToEndIdentifier, getHopByHopIdentifier, getSessionId, getVersion, isError, isProxiable, isRequest, isReTransmitted, setError, setProxiable, setRequest, setReTransmitted |
| Methods inherited from interface org.jdiameter.api.Wrapper |
|---|
isWrapperFor, unwrap |
| Methods inherited from interface org.jdiameter.api.Answer |
|---|
getResultCode |
| Methods inherited from interface org.jdiameter.api.Message |
|---|
getApplicationId, getApplicationIdAvps, getAvps, getCommandCode, getEndToEndIdentifier, getHopByHopIdentifier, getSessionId, getVersion, isError, isProxiable, isRequest, isReTransmitted, setError, setProxiable, setRequest, setReTransmitted |
| Methods inherited from interface org.jdiameter.api.Wrapper |
|---|
isWrapperFor, unwrap |
| Field Detail |
|---|
static final int STATE_NOT_SENT
static final int STATE_SENT
static final int STATE_BUFFERED
static final int STATE_ANSWERED
| Method Detail |
|---|
int getState()
void setState(int newState)
newState - new state valuelong getHeaderApplicationId()
int getFlags()
void createTimer(java.util.concurrent.ScheduledExecutorService scheduledFacility,
long timeOut,
java.util.concurrent.TimeUnit timeUnit)
scheduledFacility - timer facilitytimeOut - value of timeouttimeUnit - time unitvoid runTimer()
void clearTimer()
void setHopByHopIdentifier(long hopByHopId)
hopByHopId - hopByHopId valuevoid setEndToEndIdentifier(long endByEndId)
endByEndId - endByEndId valueIPeer getPeer()
void setPeer(IPeer peer)
peer - attached peerorg.jdiameter.api.ApplicationId getSingleApplicationId()
boolean isTimeOut()
void setListener(IEventListener listener)
listener - event listenerIEventListener getEventListener()
java.lang.String getDuplicationKey()
java.lang.String getDuplicationKey(java.lang.String host,
long endToEndId)
host - origination hostendToEndId - end to end id
java.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||