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

📄 accesspointadvertisement.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD> <p/>Make a deep copy.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/jxta/document/Advertisement.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../net/jxta/document/Advertisement.html" title="class in net.jxta.document">Advertisement</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAdvertisementType()"><!-- --></A><H3>getAdvertisementType</H3><PRE>public static java.lang.String <B>getAdvertisementType</B>()</PRE><DL><DD>{@inheritDoc}<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAdvBaseType()"><!-- --></A><H3>getAdvBaseType</H3><PRE>public final java.lang.String <B>getAdvBaseType</B>()</PRE><DL><DD>{@inheritDoc}<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getPeerID()"><!-- --></A><H3>getPeerID</H3><PRE>public <A HREF="../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> <B>getPeerID</B>()</PRE><DL><DD>Returns the PeerId of the associated access point.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>PeerID the peer id</DL></DD></DL><HR><A NAME="setPeerID(net.jxta.peer.PeerID)"><!-- --></A><H3>setPeerID</H3><PRE>public void <B>setPeerID</B>(<A HREF="../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A>&nbsp;pid)</PRE><DL><DD>Sets the peerId of the associated access point.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pid</CODE> - The id of the peer.</DL></DD></DL><HR><A NAME="getEndpointAddresses()"><!-- --></A><H3>getEndpointAddresses</H3><PRE>public java.util.Enumeration <B>getEndpointAddresses</B>()</PRE><DL><DD>returns the list of endpoint addresses associated with this access point<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Enumeration list of EndpointAddresses. Warning: The returned enumeration is specified as a list of endpoint addresses represented as String objects.</DL></DD></DL><HR><A NAME="getVectorEndpointAddresses()"><!-- --></A><H3>getVectorEndpointAddresses</H3><PRE>public java.util.Vector <B>getVectorEndpointAddresses</B>()</PRE><DL><DD>Returns the vector of endpoint addresses associated with this access point<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>vector of EndpointAddresses. Warning: The returned vector is specified as a vector of endpoint addresses represented as String objects.</DL></DD></DL><HR><A NAME="setEndpointAddresses(java.util.Vector)"><!-- --></A><H3>setEndpointAddresses</H3><PRE>public void <B>setEndpointAddresses</B>(java.util.Vector&nbsp;addresses)</PRE><DL><DD>Sets the list of endpoint addresses associated with this access point<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>addresses</CODE> - vector of endpoint addresses. Warning: The vector is specified as a vector of endpoint addresses represented as String objects.</DL></DD></DL><HR><A NAME="addEndpointAddresses(java.util.Vector)"><!-- --></A><H3>addEndpointAddresses</H3><PRE>public void <B>addEndpointAddresses</B>(java.util.Vector&nbsp;addresses)</PRE><DL><DD>Add a new list of EndpointAddresses to the access point<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>addresses</CODE> - vector of endpoint addresses to add to the access point. Warning: The vector is specified as a vector of endpoint addresses represented as String objects.</DL></DD></DL><HR><A NAME="addEndpointAddress(java.lang.String)"><!-- --></A><H3>addEndpointAddress</H3><PRE>public void <B>addEndpointAddress</B>(java.lang.String&nbsp;address)</PRE><DL><DD>add a new EndpointAddresses to the access point<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeEndpointAddresses(java.util.Vector)"><!-- --></A><H3>removeEndpointAddresses</H3><PRE>public void <B>removeEndpointAddresses</B>(java.util.Vector&nbsp;addresses)</PRE><DL><DD>remove a list of EndpointAddresses from the access point<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>addresses</CODE> - vector of endpoint addresses to remove from the access point.  Warning: The vector is specified as a vector of endpoint addresses represented as String objects.</DL></DD></DL><HR><A NAME="contains(net.jxta.endpoint.EndpointAddress)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(<A HREF="../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A>&nbsp;addr)</PRE><DL><DD>Check if the EndpointAddresses is already in the access point<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>addr</CODE> - endpoint address to check</DL></DD></DL><HR><A NAME="display()"><!-- --></A><H3>display</H3><PRE>public java.lang.String <B>display</B>()</PRE><DL><DD>Generate a string that displays an access point information for logging or debugging purpose<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String return a string containing the access point advertisement</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;target)</PRE><DL><DD>compare if two access points are equals. Equals means the same PID and the same endpoint addresses<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>boolean true or false if the access points are equals or not</DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>return number of endpoint addresses<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>size number of endpointAddress in the hop</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=3 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/AccessPointAdvertisement.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>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../net/jxta/protocol/BuildTag.html" title="class in net.jxta.protocol"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AccessPointAdvertisement.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></BODY></HTML>

⌨️ 快捷键说明

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