|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdiameter.client.impl.controller.PeerImpl.ActionContext
org.jdiameter.server.impl.PeerImpl.LocalActionConext
protected class PeerImpl.LocalActionConext
| Constructor Summary | |
|---|---|
protected |
PeerImpl.LocalActionConext()
|
| Method Summary | |
|---|---|
java.lang.String |
getPeerDescription()
Return parent peer description |
boolean |
isRestoreConnection()
Return true if connection should be restored Look AttemptToConnect property of peer |
int |
processCerMessage(java.lang.String key,
IMessage message)
This method allow processed CER command from remote peer |
boolean |
receiveMessage(IMessage request)
This method allow processed message from to remote peer |
void |
sendCeaMessage(int resultCode,
org.jdiameter.api.Message cer,
java.lang.String errMessage)
This method allow sent CEA command to remote peer |
boolean |
sendMessage(IMessage message)
This method allow sent message to remote peer |
| Methods inherited from class org.jdiameter.client.impl.controller.PeerImpl.ActionContext |
|---|
addAppId, connect, disconnect, isConnected, processCeaMessage, sendCerMessage, sendDpaMessage, sendDprMessage, sendDwaMessage, sendDwrMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PeerImpl.LocalActionConext()
| Method Detail |
|---|
public void sendCeaMessage(int resultCode,
org.jdiameter.api.Message cer,
java.lang.String errMessage)
throws TransportException,
org.jdiameter.api.OverloadException
IContext
sendCeaMessage in interface IContextsendCeaMessage in class PeerImpl.ActionContextresultCode - value for result-code AvperrMessage - value for error-message Avp
TransportException
org.jdiameter.api.OverloadException
public int processCerMessage(java.lang.String key,
IMessage message)
IContext
processCerMessage in interface IContextprocessCerMessage in class PeerImpl.ActionContextkey - connection key (host + ":" + port)message - received from remote host
public boolean isRestoreConnection()
IContext
isRestoreConnection in interface IContextisRestoreConnection in class PeerImpl.ActionContextpublic java.lang.String getPeerDescription()
IContext
getPeerDescription in interface IContextgetPeerDescription in class PeerImpl.ActionContextpublic boolean receiveMessage(IMessage request)
IContext
receiveMessage in interface IContextreceiveMessage in class PeerImpl.ActionContextrequest - message from remote peer
public boolean sendMessage(IMessage message)
throws TransportException,
org.jdiameter.api.OverloadException
IContext
sendMessage in interface IContextsendMessage in class PeerImpl.ActionContextmessage - message which one should be sent to remote peer
TransportException
org.jdiameter.api.OverloadException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||