|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.bea.wcp.diameter.Session
com.bea.wcp.diameter.cc.ClientSession
public class ClientSession
Diameter credit control application client session. See RFC 4006 for details.
| Constructor Summary | |
|---|---|
ClientSession(Application app)Creates a new ClientSession for the specified application. |
|
| Method Summary | |
|---|---|
CCR |
createCCR(RequestType type)Creates a new credit-control request (CCR) for the specified request type. |
void |
rcvAnswer(Answer ans)Receives credit-control answer (CCA) message for this session. |
void |
rcvRequest(Request req)Called by the container when a new request has been received. |
void |
sndMessage(Message msg)Called by the container just before a CCR/CCA message has been sent. |
| Methods inherited from class com.bea.wcp.diameter.Session |
|---|
appendXml, createRequest, getApplication, getAttribute, getId, getListener, isTerminated, notifyListener, rcvMessage, removeAttribute, setAttribute, setListener, terminate, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClientSession(Application app)
| Method Detail |
|---|
public CCR createCCR(RequestType type)
type - the credit-control request type
public void sndMessage(Message msg)
throws IOException
sndMessage in class Sessionmsg - the CCR/CCA message to be sentIOException - if an I/O error occurred while sending the messageIllegalStateException - if the session is terminated, a request is pending, or a request is out of sequence (invalid request number)
public void rcvRequest(Request req)
throws DiameterException,
IOException
rcvRequest in class Sessionreq - the request being receivedDiameterException - if a protocol error has occurredIOException - if an I/O error has occurred
public void rcvAnswer(Answer ans)
throws DiameterException,
IOException
rcvAnswer in class Sessionans - the CCA messageDiameterException - if a protocol error has occurredIOException - if an I/O error has occurred
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2012 Oracle Corporation. All Rights Reserved.