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

📄 remotemucrole.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<PRE>public void <B>destroy</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#destroy()">MUCRole</A></CODE></B></DD><DD>Destroys this role after the occupant left the room. This role will be removed from MUCUser.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#destroy()">destroy</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html" title="interface in org.jivesoftware.openfire.muc">MUCRole</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isVoiceOnly()"><!-- --></A><H3>isVoiceOnly</H3><PRE>public boolean <B>isVoiceOnly</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#isVoiceOnly()">MUCRole</A></CODE></B></DD><DD>Returns true if the room occupant does not want to get messages broadcasted to all room occupants. This type of users are called "deaf" occupants. Deaf occupants will still be able to get private messages, presences, IQ packets or room history.<p> To be a deaf occupant the initial presence sent to the room while joining the room has to include the following child element: <pre> &lt;x xmlns='http://jivesoftware.org/protocol/muc'&gt;     &lt;deaf-occupant/&gt; &lt;/x&gt; </pre> Note that this is a custom extension to the MUC specification.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#isVoiceOnly()">isVoiceOnly</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html" title="interface in org.jivesoftware.openfire.muc">MUCRole</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the room occupant does not want to get messages broadcasted to all         room occupants.</DL></DD></DL><HR><A NAME="getChatRoom()"><!-- --></A><H3>getChatRoom</H3><PRE>public <A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRoom.html" title="interface in org.jivesoftware.openfire.muc">MUCRoom</A> <B>getChatRoom</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#getChatRoom()">MUCRole</A></CODE></B></DD><DD>Obtain the chat room that hosts this user's role.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#getChatRoom()">getChatRoom</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html" title="interface in org.jivesoftware.openfire.muc">MUCRole</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The chatroom hosting this role.</DL></DD></DL><HR><A NAME="getRoleAddress()"><!-- --></A><H3>getRoleAddress</H3><PRE>public <A HREF="../../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A> <B>getRoleAddress</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#getRoleAddress()">MUCRole</A></CODE></B></DD><DD>Obtain the XMPPAddress representing this role in a room: room@server/nickname<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#getRoleAddress()">getRoleAddress</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html" title="interface in org.jivesoftware.openfire.muc">MUCRole</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The Jabber ID that represents this role in the room.</DL></DD></DL><HR><A NAME="getUserAddress()"><!-- --></A><H3>getUserAddress</H3><PRE>public <A HREF="../../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A> <B>getUserAddress</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#getUserAddress()">MUCRole</A></CODE></B></DD><DD>Obtain the XMPPAddress of the user that joined the room. A <tt>null</tt> null value represents the room's role.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#getUserAddress()">getUserAddress</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html" title="interface in org.jivesoftware.openfire.muc">MUCRole</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The address of the user that joined the room or null if this role belongs to the room itself.</DL></DD></DL><HR><A NAME="isLocal()"><!-- --></A><H3>isLocal</H3><PRE>public boolean <B>isLocal</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#isLocal()">MUCRole</A></CODE></B></DD><DD>Returns true if this room occupant is hosted by this JVM.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#isLocal()">isLocal</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html" title="interface in org.jivesoftware.openfire.muc">MUCRole</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if this room occupant is hosted by this JVM</DL></DD></DL><HR><A NAME="getNodeID()"><!-- --></A><H3>getNodeID</H3><PRE>public <A HREF="../../../../../org/jivesoftware/openfire/cluster/NodeID.html" title="class in org.jivesoftware.openfire.cluster">NodeID</A> <B>getNodeID</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#getNodeID()">MUCRole</A></CODE></B></DD><DD>Returns the id of the node that is hosting the room occupant.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#getNodeID()">getNodeID</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html" title="interface in org.jivesoftware.openfire.muc">MUCRole</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the id of the node that is hosting the room occupant.</DL></DD></DL><HR><A NAME="send(org.xmpp.packet.Packet)"><!-- --></A><H3>send</H3><PRE>public void <B>send</B>(<A HREF="../../../../../org/xmpp/packet/Packet.html" title="class in org.xmpp.packet">Packet</A>&nbsp;packet)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#send(org.xmpp.packet.Packet)">MUCRole</A></CODE></B></DD><DD>Sends a packet to the user.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html#send(org.xmpp.packet.Packet)">send</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/muc/MUCRole.html" title="interface in org.jivesoftware.openfire.muc">MUCRole</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>packet</CODE> - The packet to send</DL></DD></DL><HR><A NAME="writeExternal(java.io.ObjectOutput)"><!-- --></A><H3>writeExternal</H3><PRE>public void <B>writeExternal</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/ObjectOutput.html" title="class or interface in java.io">ObjectOutput</A>&nbsp;out)                   throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Externalizable.html#writeExternal(java.io.ObjectOutput)" title="class or interface in java.io">writeExternal</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Externalizable.html" title="class or interface in java.io">Externalizable</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="readExternal(java.io.ObjectInput)"><!-- --></A><H3>readExternal</H3><PRE>public void <B>readExternal</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/ObjectInput.html" title="class or interface in java.io">ObjectInput</A>&nbsp;in)                  throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A>,                         <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Externalizable.html#readExternal(java.io.ObjectInput)" title="class or interface in java.io">readExternal</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Externalizable.html" title="class or interface in java.io">Externalizable</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</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="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><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../org/jivesoftware/openfire/muc/spi/MultiUserChatServiceImpl.html" title="class in org.jivesoftware.openfire.muc.spi"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../org/jivesoftware/openfire/muc/spi/RemoteMUCUser.html" title="class in org.jivesoftware.openfire.muc.spi"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?org/jivesoftware/openfire/muc/spi/RemoteMUCRole.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RemoteMUCRole.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;FIELD&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><i>Copyright &copy; 2003-2008 Jive Software.</i></BODY></HTML>

⌨️ 快捷键说明

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