blob: 10962cdc578364347135de30d10c3831792a3b20 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
RMMsgCreator (Apache Sandesha2)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RMMsgCreator (Apache Sandesha2)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= 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/RMMsgCreator.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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/sandesha2/util/RangeString.html" title="class in org.apache.sandesha2.util"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/sandesha2/util/SandeshaUtil.html" title="class in org.apache.sandesha2.util"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/sandesha2/util/RMMsgCreator.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="RMMsgCreator.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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.sandesha2.util</FONT>
<BR>
Class RMMsgCreator</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.sandesha2.util.RMMsgCreator</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>RMMsgCreator</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
Used to create new RM messages.
<P>
<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>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#ACK_TO_BE_WRITTEN">ACK_TO_BE_WRITTEN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/sandesha2/util/RMMsgCreator.html#RMMsgCreator()">RMMsgCreator</A></B>()</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>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#addAckMessage(org.apache.sandesha2.RMMsgContext, java.lang.String, org.apache.sandesha2.storage.beans.RMDBean, boolean, boolean)">addAckMessage</A></B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;applicationMsg,
java.lang.String&nbsp;sequenceId,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMDBean.html" title="class in org.apache.sandesha2.storage.beans">RMDBean</A>&nbsp;rmdBean,
boolean&nbsp;addToEnvelope,
boolean&nbsp;isPiggybacked)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an Ack of specific sequence to the given application message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#addAckRequest(org.apache.sandesha2.RMMsgContext, java.lang.String, org.apache.sandesha2.storage.beans.RMSBean)">addAckRequest</A></B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;applicationMsg,
java.lang.String&nbsp;sequenceId,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSBean.html" title="class in org.apache.sandesha2.storage.beans">RMSBean</A>&nbsp;rmsBean)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an Ack Request for a specific sequence to the given application message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#createCloseSeqResponseMsg(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSequenceBean)">createCloseSeqResponseMsg</A></B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;closeSeqRMMsg,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;rmSequenceBean)</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>static&nbsp;<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#createCreateSeqMsg(org.apache.sandesha2.storage.beans.RMSBean, org.apache.sandesha2.RMMsgContext)">createCreateSeqMsg</A></B>(<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSBean.html" title="class in org.apache.sandesha2.storage.beans">RMSBean</A>&nbsp;rmsBean,
<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;applicationRMMsg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new CreateSequence message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#createCreateSeqResponseMsg(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSequenceBean)">createCreateSeqResponseMsg</A></B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;createSeqMessage,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;rmSequenceBean)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new CreateSequenceResponse message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#createMakeConnectionMessage(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSequenceBean, java.lang.String, java.lang.String)">createMakeConnectionMessage</A></B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;referenceRMMessage,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;bean,
java.lang.String&nbsp;makeConnectionSeqId,
java.lang.String&nbsp;makeConnectionAnonURI)</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>static&nbsp;<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#createTerminateSeqResponseMsg(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSequenceBean)">createTerminateSeqResponseMsg</A></B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;terminateSeqRMMsg,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;rmSequenceBean)</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>static&nbsp;<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#createTerminateSequenceMessage(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSBean, org.apache.sandesha2.storage.StorageManager)">createTerminateSequenceMessage</A></B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;referenceRMMessage,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSBean.html" title="class in org.apache.sandesha2.storage.beans">RMSBean</A>&nbsp;rmsBean,
<A HREF="../../../../org/apache/sandesha2/storage/StorageManager.html" title="class in org.apache.sandesha2.storage">StorageManager</A>&nbsp;storageManager)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new TerminateSequence message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/sandesha2/util/RMMsgCreator.html#secureOutboundMessage(org.apache.sandesha2.storage.beans.RMSequenceBean, org.apache.axis2.context.MessageContext)">secureOutboundMessage</A></B>(<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;rmBean,
org.apache.axis2.context.MessageContext&nbsp;message)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This will add necessary data to a out-bound message to make sure that is is correctly secured.</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.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="ACK_TO_BE_WRITTEN"><!-- --></A><H3>
ACK_TO_BE_WRITTEN</H3>
<PRE>
public static final java.lang.String <B>ACK_TO_BE_WRITTEN</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.sandesha2.util.RMMsgCreator.ACK_TO_BE_WRITTEN">Constant Field Values</A></DL>
</DL>
<!-- ========= 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="RMMsgCreator()"><!-- --></A><H3>
RMMsgCreator</H3>
<PRE>
public <B>RMMsgCreator</B>()</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="createCreateSeqMsg(org.apache.sandesha2.storage.beans.RMSBean, org.apache.sandesha2.RMMsgContext)"><!-- --></A><H3>
createCreateSeqMsg</H3>
<PRE>
public static <A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A> <B>createCreateSeqMsg</B>(<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSBean.html" title="class in org.apache.sandesha2.storage.beans">RMSBean</A>&nbsp;rmsBean,
<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;applicationRMMsg)
throws org.apache.axis2.AxisFault</PRE>
<DL>
<DD>Create a new CreateSequence message.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>applicationRMMsg</CODE> - <DD><CODE>internalSequenceId</CODE> - <DD><CODE>acksToEPR</CODE> -
<DT><B>Returns:</B><DD>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE>
<DD><CODE>org.apache.axis2.AxisFault</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createTerminateSequenceMessage(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSBean, org.apache.sandesha2.storage.StorageManager)"><!-- --></A><H3>
createTerminateSequenceMessage</H3>
<PRE>
public static <A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A> <B>createTerminateSequenceMessage</B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;referenceRMMessage,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSBean.html" title="class in org.apache.sandesha2.storage.beans">RMSBean</A>&nbsp;rmsBean,
<A HREF="../../../../org/apache/sandesha2/storage/StorageManager.html" title="class in org.apache.sandesha2.storage">StorageManager</A>&nbsp;storageManager)
throws org.apache.axis2.AxisFault</PRE>
<DL>
<DD>Creates a new TerminateSequence message.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>referenceRMMessage</CODE> -
<DT><B>Returns:</B><DD>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE>
<DD><CODE>org.apache.axis2.AxisFault</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createCreateSeqResponseMsg(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSequenceBean)"><!-- --></A><H3>
createCreateSeqResponseMsg</H3>
<PRE>
public static <A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A> <B>createCreateSeqResponseMsg</B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;createSeqMessage,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;rmSequenceBean)
throws org.apache.axis2.AxisFault</PRE>
<DL>
<DD>Create a new CreateSequenceResponse message.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>createSeqMessage</CODE> - <DD><CODE>outMessage</CODE> - <DD><CODE>newSequenceID</CODE> -
<DT><B>Returns:</B><DD>
<DT><B>Throws:</B>
<DD><CODE>org.apache.axis2.AxisFault</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createTerminateSeqResponseMsg(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSequenceBean)"><!-- --></A><H3>
createTerminateSeqResponseMsg</H3>
<PRE>
public static <A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A> <B>createTerminateSeqResponseMsg</B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;terminateSeqRMMsg,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;rmSequenceBean)
throws org.apache.axis2.AxisFault</PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>org.apache.axis2.AxisFault</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createCloseSeqResponseMsg(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSequenceBean)"><!-- --></A><H3>
createCloseSeqResponseMsg</H3>
<PRE>
public static <A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A> <B>createCloseSeqResponseMsg</B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;closeSeqRMMsg,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;rmSequenceBean)
throws org.apache.axis2.AxisFault</PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>org.apache.axis2.AxisFault</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="addAckMessage(org.apache.sandesha2.RMMsgContext, java.lang.String, org.apache.sandesha2.storage.beans.RMDBean, boolean, boolean)"><!-- --></A><H3>
addAckMessage</H3>
<PRE>
public static void <B>addAckMessage</B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;applicationMsg,
java.lang.String&nbsp;sequenceId,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMDBean.html" title="class in org.apache.sandesha2.storage.beans">RMDBean</A>&nbsp;rmdBean,
boolean&nbsp;addToEnvelope,
boolean&nbsp;isPiggybacked)
throws <A HREF="../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD>Adds an Ack of specific sequence to the given application message.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>applicationMsg</CODE> - The Message to which the Ack will be added<DD><CODE>sequenceId</CODE> - - The sequence to which we will be Acking
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="addAckRequest(org.apache.sandesha2.RMMsgContext, java.lang.String, org.apache.sandesha2.storage.beans.RMSBean)"><!-- --></A><H3>
addAckRequest</H3>
<PRE>
public static void <B>addAckRequest</B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;applicationMsg,
java.lang.String&nbsp;sequenceId,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSBean.html" title="class in org.apache.sandesha2.storage.beans">RMSBean</A>&nbsp;rmsBean)
throws <A HREF="../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD>Adds an Ack Request for a specific sequence to the given application message.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>applicationMsg</CODE> - The Message to which the AckRequest will be added<DD><CODE>sequenceId</CODE> - - The sequence which we will request the ack for
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createMakeConnectionMessage(org.apache.sandesha2.RMMsgContext, org.apache.sandesha2.storage.beans.RMSequenceBean, java.lang.String, java.lang.String)"><!-- --></A><H3>
createMakeConnectionMessage</H3>
<PRE>
public static <A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A> <B>createMakeConnectionMessage</B>(<A HREF="../../../../org/apache/sandesha2/RMMsgContext.html" title="class in org.apache.sandesha2">RMMsgContext</A>&nbsp;referenceRMMessage,
<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;bean,
java.lang.String&nbsp;makeConnectionSeqId,
java.lang.String&nbsp;makeConnectionAnonURI)
throws org.apache.axis2.AxisFault</PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>org.apache.axis2.AxisFault</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="secureOutboundMessage(org.apache.sandesha2.storage.beans.RMSequenceBean, org.apache.axis2.context.MessageContext)"><!-- --></A><H3>
secureOutboundMessage</H3>
<PRE>
public static void <B>secureOutboundMessage</B>(<A HREF="../../../../org/apache/sandesha2/storage/beans/RMSequenceBean.html" title="class in org.apache.sandesha2.storage.beans">RMSequenceBean</A>&nbsp;rmBean,
org.apache.axis2.context.MessageContext&nbsp;message)
throws <A HREF="../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD>This will add necessary data to a out-bound message to make sure that is is correctly secured.
Security Token Data will be taken from the Sandesha2 security manager.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rmBean</CODE> - Sequence bean to identify the sequence. This could be an in-bound sequence or an out-bound sequence.<DD><CODE>message</CODE> - - The message which will be secured.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></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/RMMsgCreator.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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/sandesha2/util/RangeString.html" title="class in org.apache.sandesha2.util"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/sandesha2/util/SandeshaUtil.html" title="class in org.apache.sandesha2.util"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/sandesha2/util/RMMsgCreator.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="RMMsgCreator.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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>
Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>