public class SyClientSession extends Session
| Constructor and Description |
|---|
SyClientSession()
Used by Externalizable.
|
SyClientSession(SyApplication app)
Creates a new ClientSession for the specified application.
|
SyClientSession(SyApplication app,
String id,
Object parent) |
| Modifier and Type | Method and Description |
|---|---|
SySLR |
createSLR(SLRequestType type) |
SySNR |
createSNR() |
void |
rcvAnswer(Answer ans)
Called when an answer message has been received for this session.
|
void |
readExternal(ObjectInput is) |
void |
sndMessage(Message msg)
Called by the container when a message is about to be sent but before
it has been committed.
|
void |
writeExternal(ObjectOutput out) |
appendXml, createRequest, getAdapter, getApplication, getAttribute, getId, getListener, isTerminated, notifyListener, rcvMessage, rcvRequest, removeAttribute, setAdapter, setAttribute, setListener, terminate, toStringpublic SyClientSession()
public SyClientSession(SyApplication app)
app - applicationpublic SyClientSession(SyApplication app, String id, Object parent)
public SySLR createSLR(SLRequestType type)
public SySNR createSNR()
public void sndMessage(Message msg) throws IOException
SessionsndMessage in class Sessionmsg - the message being sentIOException - if an I/O error occurred while sending the messagepublic void rcvAnswer(Answer ans) throws DiameterException, IOException
SessionrcvAnswer in class Sessionans - the answer message that has been receivedIOException - if an error occured while processing the answerDiameterExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SessionIOExceptionpublic void readExternal(ObjectInput is) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SessionIOExceptionClassNotFoundException