Package com.bea.wcp.diameter.sy
Class SyClientSession
java.lang.Object
com.bea.wcp.diameter.Session
com.bea.wcp.diameter.sy.SyClientSession
- All Implemented Interfaces:
Externalizable,Serializable
Sy client session.
- Author:
- Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUsed by Externalizable.Creates a new ClientSession for the specified application.SyClientSession(SyApplication app, String id, Object parent) -
Method Summary
Modifier and TypeMethodDescriptioncreateSLR(SLRequestType type) voidCalled when an answer message has been received for this session.voidvoidsndMessage(Message msg) Called by the container when a message is about to be sent but before it has been committed.voidMethods inherited from class com.bea.wcp.diameter.Session
appendXml, createRequest, getAdapter, getApplication, getAttribute, getId, getListener, isTerminated, notifyListener, rcvMessage, rcvRequest, removeAttribute, setAdapter, setAttribute, setListener, terminate, toString
-
Constructor Details
-
SyClientSession
public SyClientSession()Used by Externalizable. -
SyClientSession
Creates a new ClientSession for the specified application.- Parameters:
app- application
-
SyClientSession
-
-
Method Details
-
createSLR
-
createSNR
-
sndMessage
Description copied from class:SessionCalled by the container when a message is about to be sent but before it has been committed. This gives the Session a chance to update any state that may change when a message has been sent out.- Overrides:
sndMessagein classSession- Parameters:
msg- the message being sent- Throws:
IOException- if an I/O error occurred while sending the message
-
rcvAnswer
Description copied from class:SessionCalled when an answer message has been received for this session. Session implementations should override this method to provide application specific handling of answer messages. The default behavior is to ignore the answer.- Overrides:
rcvAnswerin classSession- Parameters:
ans- the answer message that has been received- Throws:
IOException- if an error occured while processing the answerDiameterException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classSession- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classSession- Throws:
IOExceptionClassNotFoundException
-