blob: b0dfbe8ee98e5d0d56e7c49f7ef6df22979ed8e5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_22) on Thu Jan 19 14:29:51 EST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
SourceSequence (Apache CXF Bundle Jar 2.4.6 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.cxf.ws.rm.SourceSequence class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="SourceSequence (Apache CXF Bundle Jar 2.4.6 API)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SourceSequence.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Apache CXF API</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/cxf/ws/rm/Source.html" title="class in org.apache.cxf.ws.rm"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/cxf/ws/rm/TerminateSequenceType.html" title="class in org.apache.cxf.ws.rm"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/cxf/ws/rm/SourceSequence.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="SourceSequence.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.cxf.ws.rm.AbstractSequence">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.cxf.ws.rm</FONT>
<BR>
Class SourceSequence</H2>
<PRE>
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html" title="class in org.apache.cxf.ws.rm">org.apache.cxf.ws.rm.AbstractSequence</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.cxf.ws.rm.SourceSequence</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>SourceSequence</B><DT>extends <A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html" title="class in org.apache.cxf.ws.rm">AbstractSequence</A></DL>
</PRE>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.cxf.ws.rm.AbstractSequence"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.apache.cxf.ws.rm.<A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html" title="class in org.apache.cxf.ws.rm">AbstractSequence</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html#acknowledgement">acknowledgement</A>, <A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html#id">id</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#SourceSequence(org.apache.cxf.ws.rm.Identifier)">SourceSequence</A></B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;i)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#SourceSequence(org.apache.cxf.ws.rm.Identifier, java.util.Date, org.apache.cxf.ws.rm.Identifier)">SourceSequence</A></B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;i,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A>&nbsp;e,
<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;oi)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#SourceSequence(org.apache.cxf.ws.rm.Identifier, java.util.Date, org.apache.cxf.ws.rm.Identifier, long, boolean)">SourceSequence</A></B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;i,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A>&nbsp;e,
<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;oi,
long&nbsp;cmn,
boolean&nbsp;lm)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#allAcknowledged()">allAcknowledged</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if a last message had been sent for this sequence and if all
messages for this sequence have been acknowledged.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#getCurrentMessageNr()">getCurrentMessageNr</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#getEndpointIdentifier()">getEndpointIdentifier</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#getExpires()">getExpires</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#getOfferingSequenceIdentifier()">getOfferingSequenceIdentifier</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/cxf/ws/rm/Source.html" title="class in org.apache.cxf.ws.rm">Source</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#getSource()">getSource</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the source associated with this source sequence.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#isLastMessage()">isLastMessage</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#nextMessageNumber(org.apache.cxf.ws.rm.Identifier, long, boolean)">nextMessageNumber</A></B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;inSeqId,
long&nbsp;inMsgNumber,
boolean&nbsp;last)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the next message number and increases the message number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#offeredBy(org.apache.cxf.ws.rm.Identifier)">offeredBy</A></B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;sid)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this sequence was constructed from an offer for an
inbound sequence includes in the CreateSequenceRequest in response to
which the sequence with the specified identifier was created.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#setAcknowledged(org.apache.cxf.ws.rm.SequenceAcknowledgement)">setAcknowledged</A></B>(<A HREF="../../../../../org/apache/cxf/ws/rm/SequenceAcknowledgement.html" title="class in org.apache.cxf.ws.rm">SequenceAcknowledgement</A>&nbsp;a)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used by the RM source to cache received acknowledgements for this
sequence.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/cxf/ws/rm/SourceSequence.html#setExpires(org.apache.cxf.ws.rm.Expires)">setExpires</A></B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Expires.html" title="class in org.apache.cxf.ws.rm">Expires</A>&nbsp;ex)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.cxf.ws.rm.AbstractSequence"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.cxf.ws.rm.<A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html" title="class in org.apache.cxf.ws.rm">AbstractSequence</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html#getIdentifier()">getIdentifier</A>, <A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html#hashCode()">hashCode</A>, <A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html#identifierEquals(org.apache.cxf.ws.rm.Identifier, org.apache.cxf.ws.rm.Identifier)">identifierEquals</A>, <A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html#isAcknowledged(long)">isAcknowledged</A>, <A HREF="../../../../../org/apache/cxf/ws/rm/AbstractSequence.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="SourceSequence(org.apache.cxf.ws.rm.Identifier)"><!-- --></A><H3>
SourceSequence</H3>
<PRE>
public <B>SourceSequence</B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;i)</PRE>
<DL>
</DL>
<HR>
<A NAME="SourceSequence(org.apache.cxf.ws.rm.Identifier, java.util.Date, org.apache.cxf.ws.rm.Identifier)"><!-- --></A><H3>
SourceSequence</H3>
<PRE>
public <B>SourceSequence</B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;i,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A>&nbsp;e,
<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;oi)</PRE>
<DL>
</DL>
<HR>
<A NAME="SourceSequence(org.apache.cxf.ws.rm.Identifier, java.util.Date, org.apache.cxf.ws.rm.Identifier, long, boolean)"><!-- --></A><H3>
SourceSequence</H3>
<PRE>
public <B>SourceSequence</B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;i,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A>&nbsp;e,
<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;oi,
long&nbsp;cmn,
boolean&nbsp;lm)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getCurrentMessageNr()"><!-- --></A><H3>
getCurrentMessageNr</H3>
<PRE>
public long <B>getCurrentMessageNr</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the message number assigned to the most recent outgoing
application message.</DL>
</DD>
</DL>
<HR>
<A NAME="isLastMessage()"><!-- --></A><H3>
isLastMessage</H3>
<PRE>
public boolean <B>isLastMessage</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>true if the last message had been sent for this sequence.</DL>
</DD>
</DL>
<HR>
<A NAME="getOfferingSequenceIdentifier()"><!-- --></A><H3>
getOfferingSequenceIdentifier</H3>
<PRE>
public <A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A> <B>getOfferingSequenceIdentifier</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the identifier of the sequence that was created on behalf of the
CreateSequence request that included this sequence as an offer</DL>
</DD>
</DL>
<HR>
<A NAME="getEndpointIdentifier()"><!-- --></A><H3>
getEndpointIdentifier</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getEndpointIdentifier</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the identifier of the rm source</DL>
</DD>
</DL>
<HR>
<A NAME="getExpires()"><!-- --></A><H3>
getExpires</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> <B>getExpires</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the expiry data of this sequence</DL>
</DD>
</DL>
<HR>
<A NAME="offeredBy(org.apache.cxf.ws.rm.Identifier)"><!-- --></A><H3>
offeredBy</H3>
<PRE>
public boolean <B>offeredBy</B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;sid)</PRE>
<DL>
<DD>Returns true if this sequence was constructed from an offer for an
inbound sequence includes in the CreateSequenceRequest in response to
which the sequence with the specified identifier was created.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>id</CODE> - the sequence identifier
<DT><B>Returns:</B><DD>true if the sequence was constructed from an offer.</DL>
</DD>
</DL>
<HR>
<A NAME="allAcknowledged()"><!-- --></A><H3>
allAcknowledged</H3>
<PRE>
public boolean <B>allAcknowledged</B>()</PRE>
<DL>
<DD>Returns true if a last message had been sent for this sequence and if all
messages for this sequence have been acknowledged.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if all messages have been acknowledged.</DL>
</DD>
</DL>
<HR>
<A NAME="setAcknowledged(org.apache.cxf.ws.rm.SequenceAcknowledgement)"><!-- --></A><H3>
setAcknowledged</H3>
<PRE>
public void <B>setAcknowledged</B>(<A HREF="../../../../../org/apache/cxf/ws/rm/SequenceAcknowledgement.html" title="class in org.apache.cxf.ws.rm">SequenceAcknowledgement</A>&nbsp;a)
throws <A HREF="../../../../../org/apache/cxf/ws/rm/RMException.html" title="class in org.apache.cxf.ws.rm">RMException</A></PRE>
<DL>
<DD>Used by the RM source to cache received acknowledgements for this
sequence.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>acknowledgement</CODE> - an acknowledgement for this sequence
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/cxf/ws/rm/RMException.html" title="class in org.apache.cxf.ws.rm">RMException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSource()"><!-- --></A><H3>
getSource</H3>
<PRE>
public <A HREF="../../../../../org/apache/cxf/ws/rm/Source.html" title="class in org.apache.cxf.ws.rm">Source</A> <B>getSource</B>()</PRE>
<DL>
<DD>Returns the source associated with this source sequence.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the source.</DL>
</DD>
</DL>
<HR>
<A NAME="setExpires(org.apache.cxf.ws.rm.Expires)"><!-- --></A><H3>
setExpires</H3>
<PRE>
public void <B>setExpires</B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Expires.html" title="class in org.apache.cxf.ws.rm">Expires</A>&nbsp;ex)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="nextMessageNumber(org.apache.cxf.ws.rm.Identifier, long, boolean)"><!-- --></A><H3>
nextMessageNumber</H3>
<PRE>
public long <B>nextMessageNumber</B>(<A HREF="../../../../../org/apache/cxf/ws/rm/Identifier.html" title="class in org.apache.cxf.ws.rm">Identifier</A>&nbsp;inSeqId,
long&nbsp;inMsgNumber,
boolean&nbsp;last)</PRE>
<DL>
<DD>Returns the next message number and increases the message number. The
parameters, if not null, indicate that this message is being sent as a
response to the message with the specified message number in the sequence
specified by the by the identifier, and are used to decide if this
message should be the last in this sequence.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the next message number.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SourceSequence.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Apache CXF API</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/cxf/ws/rm/Source.html" title="class in org.apache.cxf.ws.rm"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/cxf/ws/rm/TerminateSequenceType.html" title="class in org.apache.cxf.ws.rm"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/cxf/ws/rm/SourceSequence.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="SourceSequence.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.cxf.ws.rm.AbstractSequence">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Apache CXF
</BODY>
</HTML>