|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WsrmClient
RM-specific interface providing client functions for dealing with sequences and the messages within them.
Method Summary | |
---|---|
void |
closeSequence()
Closes a sequence, as defined by the WS-RM 1.1 spec. |
void |
dispose()
Release any resource held by this client. |
SortedSet<MessageRange> |
getAckRanges()
Gets a set of MessageRange objects indicating which requests have been acknowledged by the RM destination for this client. |
String |
getId()
Get the ID for this client instance. |
weblogic.wsee.reliability2.sequence.SourceMessageInfo |
getMessageInfo(long msgNum)
Get information describing a reliable message sent from this stub, given that message's message number. |
long |
getMostRecentMessageNumber()
Gets the most recently assigned message number for a reliable message that was sent from this stub. |
String |
getSequenceId()
Get the sequence ID being managed on this client. |
SequenceState |
getSequenceState()
Get the state of the sequence being managed on this client. |
void |
requestAcknowledgement()
Send an acknowledgement request to the RM destination. |
void |
reset()
Clear all RequestContext properties, related to WS-RM, that should not be retained for a new sequence being used by this client. |
void |
sendWsrm10EmptyLastMessage()
Deprecated. |
void |
setFinalMessage()
Indicates that the next message sent on this stub is to be considered the final message that will be sent on the stub. |
void |
setSequenceId(String seqId)
Set the sequence ID on a newly created client instance in order to reconnect it to an existing sequence after the client VM has restarted. |
void |
terminateSequence()
Forcibly terminate a sequence. |
Method Detail |
---|
void dispose()
void reset()
String getId()
ClientIdentityFeature
String getSequenceId()
void setSequenceId(String seqId)
SequenceState getSequenceState()
void requestAcknowledgement() throws weblogic.wsee.reliability2.exception.WsrmException
weblogic.wsee.reliability2.sequence.UnknownSourceSequenceException
- if this method is called before
the sequence ID has been established for this stub (getSequenceId
returns non-null), or after the
sequence for this stub has been terminated.
weblogic.wsee.reliability2.exception.WsrmException
- if any other error occurs sending the message.SortedSet<MessageRange> getAckRanges() throws weblogic.wsee.reliability2.sequence.UnknownSourceSequenceException
weblogic.wsee.reliability2.sequence.UnknownSourceSequenceException
- if this method is called before
the sequence ID has been established for this stub (getSequenceId
returns non-null), or after the
sequence for this stub has been terminated.long getMostRecentMessageNumber()
weblogic.wsee.reliability2.sequence.SourceMessageInfo getMessageInfo(long msgNum) throws weblogic.wsee.reliability2.sequence.UnknownSourceSequenceException
weblogic.wsee.reliability2.sequence.UnknownSourceSequenceException
- if this method is called before
the sequence ID has been established for this stub (getSequenceId
returns non-null), or after the
sequence for this stub has been terminated.void setFinalMessage()
void closeSequence() throws weblogic.wsee.reliability2.exception.WsrmException
weblogic.wsee.reliability2.sequence.UnknownSourceSequenceException
- if this method is called before
the sequence ID has been established for this stub (getSequenceId
returns non-null), or after the
sequence for this stub has been terminated.
weblogic.wsee.reliability2.exception.WsrmException
- if any other error occurs sending the message.void sendWsrm10EmptyLastMessage() throws weblogic.wsee.reliability2.exception.WsrmException
weblogic.wsee.reliability2.exception.WsrmException
void terminateSequence() throws weblogic.wsee.reliability2.exception.WsrmException
weblogic.wsee.reliability2.sequence.UnknownSourceSequenceException
- if this method is called before
the sequence ID has been established for this stub (getSequenceId
returns non-null), or after the
sequence for this stub has been terminated.
weblogic.wsee.reliability2.exception.WsrmException
- if any other error occurs sending the message.
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |