| java.lang.Object com.sun.xml.ws.rm.Sequence com.sun.xml.ws.rm.jaxws.runtime.InboundSequence
All known Subclasses: com.sun.xml.ws.rm.jaxws.runtime.client.ClientInboundSequence, com.sun.xml.ws.rm.jaxws.runtime.server.ServerInboundSequence,
InboundSequence | abstract public class InboundSequence extends Sequence (Code) | | An InboundSequence represents a sequence of incoming messages. For an
RMDestination , an InboundSequnce consists of all
the requests to a service from a particular proxy. For an RMSource ,
an InboundSequence contains all the response messages to requests
in the companion OutboundSequence .
|
acksTo | protected URI acksTo(Code) | | AcksTo URI. Assigned by ctor.
|
InboundSequence | public InboundSequence()(Code) | | |
generateSequenceAcknowledgement | public synchronized AbstractSequenceAcknowledgement generateSequenceAcknowledgement(AbstractAckRequested reqElement, Marshaller marshaller, boolean generateIsFinal) throws InvalidMessageNumberException(Code) | | Construct a SequenceAcknowlegementElement based on the contents of this sequence.
Parameters: reqElement - The AckRequestedElement to process. May benull. It is only used to determine its (optional) LastMessageelement. If missing, LastMessage is assumed to be nextIndex - 1.marshaller The marshaller to be used for construction of the return value.TODO - decide whether this needs to be synchronized. It does notneed to be if concurrent modifications only cause messages thathave indeed arrived to be unacknowledged |
getOutboundSequence | public OutboundSequence getOutboundSequence()(Code) | | Accessor for the companion OutboundSequence
The OutboundSequence. |
handleAckRequested | public synchronized void handleAckRequested(AbstractAckRequested reqElement, Marshaller marshaller) throws InvalidMessageNumberException(Code) | | Queue up a SequenceAcknowledgement element on companion OutboundSequence
for delivery on next outbound application message.
TODO
Currently only works for replyTo = AcksTo scenarios. Expand functionality to allow AcksTo
to different destination.
Parameters: reqElement - The AbstractAckRequested to process.marshaller The marshaller to be used for construction of the return value. |
|
|