Apache CXF API

org.apache.cxf.ws.rm
Class Source

java.lang.Object
  extended by org.apache.cxf.ws.rm.AbstractEndpoint
      extended by org.apache.cxf.ws.rm.Source

public class Source
extends AbstractEndpoint


Field Summary
 
Fields inherited from class org.apache.cxf.ws.rm.AbstractEndpoint
completedSequenceCount, processingSequenceCount
 
Method Summary
 void addSequence(SourceSequence seq)
           
 void addSequence(SourceSequence seq, boolean persist)
           
 Collection<SourceSequence> getAllSequences()
           
 Collection<SourceSequence> getAllUnacknowledgedSequences()
          Returns a collection of all sequences for which have not yet been completely acknowledged.
 SourceSequence getSequence(Identifier id)
           
 void removeSequence(SourceSequence seq)
           
 void setCurrent(SourceSequence s)
          Sets the current sequence used by a client side source.
 
Methods inherited from class org.apache.cxf.ws.rm.AbstractEndpoint
generateSequenceIdentifier, getEndpoint, getManager, getName, getReliableEndpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSequence

public SourceSequence getSequence(Identifier id)

getAllSequences

public Collection<SourceSequence> getAllSequences()

addSequence

public void addSequence(SourceSequence seq)

addSequence

public void addSequence(SourceSequence seq,
                        boolean persist)

removeSequence

public void removeSequence(SourceSequence seq)

getAllUnacknowledgedSequences

public Collection<SourceSequence> getAllUnacknowledgedSequences()
Returns a collection of all sequences for which have not yet been completely acknowledged.

Returns:
the collection of unacknowledged sequences.

setCurrent

public void setCurrent(SourceSequence s)
Sets the current sequence used by a client side source.

Parameters:
s - the current sequence.

Apache CXF API

Apache CXF