|
Oracle Communications Service Broker SAL API Reference Reference Release 6.0 E26227-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SalSession
Represents point-to-point SAL relationships.
All messages are potentially associated with a SalSession. The SalSession can be retrieved from the message by calling SalMessage.getSession().
| Method Summary | |
|---|---|
SalRequest |
createRequest(java.lang.String method)Returns a new request object. |
SalApplicationSession |
getApplicationSession()Returns the application session with which this SalSession is associated. |
java.lang.Object |
getAttribute(java.lang.String name)Returns the object bound with the specified name in this session, or null if no object is bound under the name. |
java.lang.String |
getId() |
void |
invalidate()Invalidates this session and unbinds any objects bound to it. |
boolean |
isValid()Returns true if this SalSession is valid, false otherwise. |
void |
removeAttribute(java.lang.String name)Removes the object bound with the specified name from this session. |
void |
setAttribute(java.lang.String name, java.lang.Object attribute)Binds an object to this session, using the name specified. |
| Method Detail |
|---|
void invalidate()
SalApplicationSession getApplicationSession()
SalRequest createRequest(java.lang.String method)
Note that this method must not be used to create ACK or CANCEL requests. User agents create ACKs by calling SalResponse.createAck() and CANCELs are created by calling SalRequest.createCancel().
method - the SAL method of the new requestboolean isValid()
java.lang.String getId()
java.lang.Object getAttribute(java.lang.String name)
name - a string specifying the name of the object
void setAttribute(java.lang.String name,
java.lang.Object attribute)
name - the name to which the object is bound, cannot be nullattribute - the object to be bound, cannot be nullvoid removeAttribute(java.lang.String name)
name - the name of the object to remove from this session
|
Oracle Communications Service Broker SAL API Reference Reference Release 6.0 E26227-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||