⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 queue.html

📁 基于MSMQ和JNI的_Java和C#互通信实现
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="Queue(java.lang.String, int)"><!-- --></A><H3>
Queue</H3>
<PRE>
public <B>Queue</B>(java.lang.String&nbsp;queueName,
             int&nbsp;access)
      throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>消息队列构造函数2
<P>
<DL>
<DT><B>参数:</B><DD><CODE>queueName</CODE> - 消息队列的完整路径信息<DD><CODE>access</CODE> - 初始化类型 OpenForRecive,OpenForSend,OpenForBoth
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE><DT><B>另请参见:</B><DD><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类"><CODE>MessageQueueException</CODE></A></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>方法详细信息</B></FONT></TH>
</TR>
</TABLE>

<A NAME="Create(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
Create</H3>
<PRE>
public static <A HREF="../../ionic/Msmq/Queue.html" title="ionic.Msmq 中的类">Queue</A> <B>Create</B>(java.lang.String&nbsp;queuePath,
                           java.lang.String&nbsp;queueLabel,
                           boolean&nbsp;isTransactional)
                    throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>在本地创建一个私有队列:仅提供私有队列创建,如需更多功能,请重写该接口
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>queuePath</CODE> - 消息队列的完整路进信息<DD><CODE>queueLabel</CODE> - 消息队列的创建标签:包括是创建者等信息<DD><CODE>isTransactional</CODE> - ???暂时未理解
<DT><B>返回:</B><DD>消息队列引用
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="Delete(java.lang.String)"><!-- --></A><H3>
Delete</H3>
<PRE>
public static void <B>Delete</B>(java.lang.String&nbsp;queuePath)
                   throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>删除一个消息队列
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>queuePath</CODE> - 消息队列的完整路径信息
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="Send(ionic.Msmq.Message)"><!-- --></A><H3>
Send</H3>
<PRE>
public void <B>Send</B>(<A HREF="../../ionic/Msmq/Message.html" title="ionic.Msmq 中的类">Message</A>&nbsp;msg)
          throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>发送复杂Message对象消息
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>msg</CODE> - 消息 @see Message
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="Send(java.lang.String)"><!-- --></A><H3>
Send</H3>
<PRE>
public void <B>Send</B>(java.lang.String&nbsp;s)
          throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>发送简单的字符串消息
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>s</CODE> - 要发送的字符串s
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="Receive(int)"><!-- --></A><H3>
Receive</H3>
<PRE>
public <A HREF="../../ionic/Msmq/Message.html" title="ionic.Msmq 中的类">Message</A> <B>Receive</B>(int&nbsp;timeout)
                throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>接受消息1
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>timeout</CODE> - 超时等待时间
<DT><B>返回:</B><DD>Message消息对象 @see Message
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="Receive()"><!-- --></A><H3>
Receive</H3>
<PRE>
public <A HREF="../../ionic/Msmq/Message.html" title="ionic.Msmq 中的类">Message</A> <B>Receive</B>()
                throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>默认的接受消息
<P>
<DD><DL>

<DT><B>返回:</B><DD>Message对象
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="Peek()"><!-- --></A><H3>
Peek</H3>
<PRE>
public <A HREF="../../ionic/Msmq/Message.html" title="ionic.Msmq 中的类">Message</A> <B>Peek</B>()
             throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>取得第一条消息的副本,但是不删除消息
<P>
<DD><DL>

<DT><B>返回:</B><DD>Message消息对象
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="Peek(int)"><!-- --></A><H3>
Peek</H3>
<PRE>
public <A HREF="../../ionic/Msmq/Message.html" title="ionic.Msmq 中的类">Message</A> <B>Peek</B>(int&nbsp;timeout)
             throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>取得一条消息的副本,不删除消息
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>timeout</CODE> - 超时返回时间
<DT><B>返回:</B><DD>Message消息对象
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="Close()"><!-- --></A><H3>
Close</H3>
<PRE>
public void <B>Close</B>()
           throws <A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></PRE>
<DL>
<DD>关闭与消息队列之间的连接
<P>
<DD><DL>

<DT><B>抛出:</B>
<DD><CODE><A HREF="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类">MessageQueueException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>对相应属性的操作
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLabel()"><!-- --></A><H3>
getLabel</H3>
<PRE>
public java.lang.String <B>getLabel</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getFormatName()"><!-- --></A><H3>
getFormatName</H3>
<PRE>
public java.lang.String <B>getFormatName</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isTransactional()"><!-- --></A><H3>
isTransactional</H3>
<PRE>
public boolean <B>isTransactional</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="跳过导航链接"></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="../../ionic/Msmq/package-summary.html"><FONT CLASS="NavBarFont1"><B>软件包</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>类</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>树</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>已过时</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>索引</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>帮助</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="../../ionic/Msmq/MessageQueueException.html" title="ionic.Msmq 中的类"><B>上一个类</B></A>&nbsp;
&nbsp;下一个类</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html?ionic/Msmq/Queue.html" target="_top"><B>框架</B></A>  &nbsp;
&nbsp;<A HREF="Queue.html" target="_top"><B>无框架</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>所有类</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../allclasses-noframe.html"><B>所有类</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  摘要:&nbsp;嵌套&nbsp;|&nbsp;字段&nbsp;|&nbsp;<A HREF="#constructor_summary">构造函数</A>&nbsp;|&nbsp;<A HREF="#method_summary">方法</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
详细信息:&nbsp;字段&nbsp;|&nbsp;<A HREF="#constructor_detail">构造函数</A>&nbsp;|&nbsp;<A HREF="#method_detail">方法</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -