| com.sun.xml.ws.rm.jaxws.runtime.InboundSequence com.sun.xml.ws.rm.jaxws.runtime.server.ServerInboundSequence
ServerInboundSequence | public class ServerInboundSequence extends InboundSequence implements ServerSequence(Code) | | An ServerInboundSequence represents a sequence of incoming messages. For an
RMDestination , an InboundSequnce consists of all
the requests to a service from a particular proxy.
|
Method Summary | |
public boolean | IsPredecessorComplete(Message message) When ordered delivery is required, this method is used to determine
whether the messages with lower message numbers have already been
processed. | public com.sun.xml.ws.rm.Message | getOriginalMessage(com.sun.xml.ws.rm.Message duplicate) Gets the original message in a the Sequence with a given message number.
Parameters: duplicate - Subsequent message with same number. | public SequenceSettings | getSequenceSettings() Implementation of ServerSequence.getSequenceSettings.. | public Session | getSession() Accessor for the session field. | public boolean | isDeliverable(Message message) If ordered delivery is required, resume processing the next Message
in the Sequence if it is waiting for this message to be delivered. | public boolean | isExpired() Return value determines whether the interval since last activity
exceeds the inactivity timeout setting. | public boolean | isOrdered() Return value reports whether ordered delivery is configured for this
sequence. | public void | releaseNextMessage(Message message) If ordered delivery is required, resume processing the next Message
in the Sequence if it is waiting for this message to be delivered. | public void | resetMessage(int index, com.sun.xml.ws.api.message.Message message, boolean complete) Used to re-populate a sequence with persisted messages
after a restart. | public void | setSession(Session s) Mutator for the session field. |
IsPredecessorComplete | public boolean IsPredecessorComplete(Message message)(Code) | | When ordered delivery is required, this method is used to determine
whether the messages with lower message numbers have already been
processed.
|
getSequenceSettings | public SequenceSettings getSequenceSettings()(Code) | | Implementation of ServerSequence.getSequenceSettings..
|
getSession | public Session getSession()(Code) | | Accessor for the session field.
The value of the session field. |
isDeliverable | public boolean isDeliverable(Message message)(Code) | | If ordered delivery is required, resume processing the next Message
in the Sequence if it is waiting for this message to be delivered.
This method is called after ServerPipe.process returns for this message.
while waiting for gaps in the sequence to fill that can now be processed.
Parameters: message - The message to be processed |
isExpired | public boolean isExpired()(Code) | | Return value determines whether the interval since last activity
exceeds the inactivity timeout setting.
true if sequence has expired.false otherwise. |
isOrdered | public boolean isOrdered()(Code) | | Return value reports whether ordered delivery is configured for this
sequence.
true if sequence is ordered.false otherwise. |
releaseNextMessage | public void releaseNextMessage(Message message) throws RMException(Code) | | If ordered delivery is required, resume processing the next Message
in the Sequence if it is waiting for this message to be delivered.
This method is called when RMServerTube.processResponse is called for this message.
while waiting for gaps in the sequence to fill that can now be processed.
Parameters: message - The message to be processed |
resetMessage | public void resetMessage(int index, com.sun.xml.ws.api.message.Message message, boolean complete)(Code) | | Used to re-populate a sequence with persisted messages
after a restart. Do not use for other purposes.
Parameters: index - The index to add message at. Parameters: message - The JAX-WS message to add Parameters: complete - Indicates whether to mark the messageas complete. |
setSession | public void setSession(Session s)(Code) | | Mutator for the session field.
|
|
|