public interface ReliableSession
Modifier and Type | Method and Description |
---|---|
void |
addReliableMessageListener(oracle.j2ee.ws.rm.ReliableMessageListener listener)
Register a ReliableMessageListener for ReliableEvent notifications from the session instance.
|
void |
close()
Terminate the WS-RM sequence and release any associated resources.
|
long |
getInactivityTimeout() |
String |
getInboundSequenceId()
Gets the sequence identifier from the current inbound sequence.
|
String |
getMessageStoreName() |
String |
getOutboundSequenceId()
Get the sequence identifier from the current outbound sequence.
|
String |
getSoapVersion() |
boolean |
isAddressableAcksTo()
Determine whether the acknowledgement destination is a address to which a connection can be established.
|
void |
open()
Initiate the WS-RM sequence for the session.
|
void |
setMakeOffer(boolean makeOffer)
Indicate that the WS-RM Source should offer a sequence identifier rather than ask the WS-RM Destination to provide one.
|
void |
setSoapVersion(String soapVersion) |
void addReliableMessageListener(oracle.j2ee.ws.rm.ReliableMessageListener listener)
listener
- A ReliableMessageListener instance.void close()
open()
long getInactivityTimeout()
String getInboundSequenceId() throws IllegalStateException
IllegalStateException
- if there is no inbound sequence.String getMessageStoreName()
String getOutboundSequenceId()
The session ID is only accessible when the explicit programming model is used.
IllegalStateException
- for one-way WS-RM sessions, if called from the WS-RM Destination side of the interaction, or if there is no outbound sequence for some other reason.open()
String getSoapVersion()
boolean isAddressableAcksTo()
void open()
If this method is used, then the session must be explicitly closed in order to terminate the WS-RM sequence.
close()
void setMakeOffer(boolean makeOffer)
makeOffer
- true, if the WS-RM Source should offer a sequence identifier; false, if the WS-RM Destination is expected to provide the sequence identifier.void setSoapVersion(String soapVersion)