|
Oracle Corp. | ||||||||||
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
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 |
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 rcvAnswer(Answer ans) throws DiameterException, java.io.IOException
rcvAnswer
in class Session
ans
- the CCA message
DiameterException
- if a protocol error has occurred
java.io.IOException
- if an I/O error has occurredpublic void rcvRequest(Request req) throws DiameterException, java.io.IOException
rcvRequest
in class Session
req
- the request being received
DiameterException
- if a protocol error has occurred
java.io.IOException
- if an I/O error has occurredpublic void sndMessage(Message msg) throws java.io.IOException
sndMessage
in class Session
msg
- the CCR/CCA message to be sent
java.io.IOException
- if an I/O error occurred while sending the message
java.lang.IllegalStateException
- if the session is terminated, a request
is pending, or a request is out of sequence (invalid request
number)
|
Documentation is available at http://e-docs.bea.com/wlcp/wlss40/ Copyright 2008 Oracle Corp. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |