mirror of
https://github.com/ChronosX88/FreePastry.git
synced 2025-01-16 01:26:27 +00:00
396 lines
27 KiB
HTML
396 lines
27 KiB
HTML
<!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.6.0_07) on Fri Mar 13 20:01:30 CET 2009 -->
|
|
<TITLE>
|
|
Message (Rice Pastry - API Specifications)
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2009-03-13">
|
|
|
|
<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="Message (Rice Pastry - API Specifications)";
|
|
}
|
|
}
|
|
</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> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Message.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
Rice Pastry API</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../rice/p2p/commonapi/IdSet.html" title="interface in rice.p2p.commonapi"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../rice/p2p/commonapi/MessageReceipt.html" title="interface in rice.p2p.commonapi"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?rice/p2p/commonapi/Message.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Message.html" target="_top"><B>NO FRAMES</B></A>
|
|
<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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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">
|
|
rice.p2p.commonapi</FONT>
|
|
<BR>
|
|
Interface Message</H2>
|
|
<DL>
|
|
<DT><B>All Superinterfaces:</B> <DD>java.io.Serializable</DD>
|
|
</DL>
|
|
<DL>
|
|
<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../rice/p2p/commonapi/rawserialization/RawMessage.html" title="interface in rice.p2p.commonapi.rawserialization">RawMessage</A></DD>
|
|
</DL>
|
|
<DL>
|
|
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../rice/p2p/scribe/messaging/AbstractSubscribeMessage.html" title="class in rice.p2p.scribe.messaging">AbstractSubscribeMessage</A>, <A HREF="../../../rice/p2p/aggregation/messaging/AggregationMessage.html" title="class in rice.p2p.aggregation.messaging">AggregationMessage</A>, <A HREF="../../../rice/p2p/aggregation/messaging/AggregationTimeoutMessage.html" title="class in rice.p2p.aggregation.messaging">AggregationTimeoutMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/AnycastFailureMessage.html" title="class in rice.p2p.scribe.messaging">AnycastFailureMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/AnycastMessage.html" title="class in rice.p2p.scribe.messaging">AnycastMessage</A>, <A HREF="../../../rice/pastry/leafset/BroadcastLeafSet.html" title="class in rice.pastry.leafset">BroadcastLeafSet</A>, <A HREF="../../../rice/pastry/routing/BroadcastRouteRow.html" title="class in rice.pastry.routing">BroadcastRouteRow</A>, <A HREF="../../../rice/pastry/socket/nat/rendezvous/ByteBufferMsg.html" title="class in rice.pastry.socket.nat.rendezvous">ByteBufferMsg</A>, <A HREF="../../../rice/p2p/past/messaging/CacheMessage.html" title="class in rice.p2p.past.messaging">CacheMessage</A>, <A HREF="../../../rice/pastry/standard/ConsistentJoinMsg.html" title="class in rice.pastry.standard">ConsistentJoinMsg</A>, <A HREF="../../../rice/p2p/past/messaging/ContinuationMessage.html" title="class in rice.p2p.past.messaging">ContinuationMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/DropMessage.html" title="class in rice.p2p.scribe.messaging">DropMessage</A>, <A HREF="../../../rice/p2p/past/messaging/FetchHandleMessage.html" title="class in rice.p2p.past.messaging">FetchHandleMessage</A>, <A HREF="../../../rice/pastry/peerreview/FetchLeafsetRequest.html" title="class in rice.pastry.peerreview">FetchLeafsetRequest</A>, <A HREF="../../../rice/pastry/peerreview/FetchLeafsetResponse.html" title="class in rice.pastry.peerreview">FetchLeafsetResponse</A>, <A HREF="../../../rice/p2p/past/messaging/FetchMessage.html" title="class in rice.p2p.past.messaging">FetchMessage</A>, <A HREF="../../../rice/p2p/past/gc/messaging/GCCollectMessage.html" title="class in rice.p2p.past.gc.messaging">GCCollectMessage</A>, <A HREF="../../../rice/p2p/past/gc/messaging/GCInsertMessage.html" title="class in rice.p2p.past.gc.messaging">GCInsertMessage</A>, <A HREF="../../../rice/p2p/past/gc/messaging/GCLookupHandlesMessage.html" title="class in rice.p2p.past.gc.messaging">GCLookupHandlesMessage</A>, <A HREF="../../../rice/p2p/past/gc/messaging/GCRefreshMessage.html" title="class in rice.p2p.past.gc.messaging">GCRefreshMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierDataMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierDataMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierFetchMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierFetchMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierNeighborRequestMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierNeighborRequestMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierNeighborResponseMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierNeighborResponseMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierQueryMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierQueryMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierRangeForwardMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierRangeForwardMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierRangeQueryMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierRangeQueryMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierRangeResponseMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierRangeResponseMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierRefreshCompleteMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierRefreshCompleteMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierRefreshPatchMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierRefreshPatchMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierRefreshProbeMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierRefreshProbeMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierRefreshResponseMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierRefreshResponseMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierResponseMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierResponseMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierSyncMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierSyncMessage</A>, <A HREF="../../../rice/p2p/glacier/v2/messaging/GlacierTimeoutMessage.html" title="class in rice.p2p.glacier.v2.messaging">GlacierTimeoutMessage</A>, <A HREF="../../../rice/pastry/testing/HelloMsg.html" title="class in rice.pastry.testing">HelloMsg</A>, <A HREF="../../../rice/pastry/join/InitiateJoin.html" title="class in rice.pastry.join">InitiateJoin</A>, <A HREF="../../../rice/pastry/leafset/InitiateLeafSetMaintenance.html" title="class in rice.pastry.leafset">InitiateLeafSetMaintenance</A>, <A HREF="../../../rice/pastry/standard/InitiatePingNeighbor.html" title="class in rice.pastry.standard">InitiatePingNeighbor</A>, <A HREF="../../../rice/pastry/routing/InitiateRouteSetMaintenance.html" title="class in rice.pastry.routing">InitiateRouteSetMaintenance</A>, <A HREF="../../../rice/p2p/past/messaging/InsertMessage.html" title="class in rice.p2p.past.messaging">InsertMessage</A>, <A HREF="../../../rice/p2p/util/rawserialization/JavaSerializedMessage.html" title="class in rice.p2p.util.rawserialization">JavaSerializedMessage</A>, <A HREF="../../../rice/pastry/join/JoinRequest.html" title="class in rice.pastry.join">JoinRequest</A>, <A HREF="../../../rice/pastry/pns/messages/LeafSetRequest.html" title="class in rice.pastry.pns.messages">LeafSetRequest</A>, <A HREF="../../../rice/pastry/pns/messages/LeafSetResponse.html" title="class in rice.pastry.pns.messages">LeafSetResponse</A>, <A HREF="../../../rice/p2p/past/messaging/LookupHandlesMessage.html" title="class in rice.p2p.past.messaging">LookupHandlesMessage</A>, <A HREF="../../../rice/p2p/past/messaging/LookupMessage.html" title="class in rice.p2p.past.messaging">LookupMessage</A>, <A HREF="../../../rice/tutorial/lookup/LookupService.NodeLookupQuery.html" title="class in rice.tutorial.lookup">LookupService.NodeLookupQuery</A>, <A HREF="../../../rice/tutorial/lookup/LookupService.NodeLookupResponse.html" title="class in rice.tutorial.lookup">LookupService.NodeLookupResponse</A>, <A HREF="../../../rice/tutorial/lookup/LookupService.NodeLookupTimeout.html" title="class in rice.tutorial.lookup">LookupService.NodeLookupTimeout</A>, <A HREF="../../../rice/p2p/scribe/messaging/MaintenanceMessage.html" title="class in rice.p2p.scribe.messaging">MaintenanceMessage</A>, <A HREF="../../../rice/pastry/messaging/Message.html" title="class in rice.pastry.messaging">Message</A>, <A HREF="../../../rice/p2p/past/messaging/MessageLostMessage.html" title="class in rice.p2p.past.messaging">MessageLostMessage</A>, <A HREF="../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestMessage.html" title="class in rice.p2p.multiring.testing">MultiringRegrTest.MultiringTestMessage</A>, <A HREF="../../../rice/pastry/testing/rendezvous/MyMsg.html" title="class in rice.pastry.testing.rendezvous">MyMsg</A>, <A HREF="../../../rice/tutorial/deterministicsimulator/MyMsg.html" title="class in rice.tutorial.deterministicsimulator">MyMsg</A>, <A HREF="../../../rice/tutorial/direct/MyMsg.html" title="class in rice.tutorial.direct">MyMsg</A>, <A HREF="../../../rice/tutorial/forwarding/MyMsg.html" title="class in rice.tutorial.forwarding">MyMsg</A>, <A HREF="../../../rice/tutorial/gtitm/MyMsg.html" title="class in rice.tutorial.gtitm">MyMsg</A>, <A HREF="../../../rice/tutorial/lesson3/MyMsg.html" title="class in rice.tutorial.lesson3">MyMsg</A>, <A HREF="../../../rice/tutorial/lesson4/MyMsg.html" title="class in rice.tutorial.lesson4">MyMsg</A>, <A HREF="../../../rice/tutorial/prioritylistener/MyMsg.html" title="class in rice.tutorial.prioritylistener">MyMsg</A>, <A HREF="../../../rice/tutorial/rawserialization/MyMsg.html" title="class in rice.tutorial.rawserialization">MyMsg</A>, <A HREF="../../../rice/tutorial/rawserialization2/MyMsg.html" title="class in rice.tutorial.rawserialization2">MyMsg</A>, <A HREF="../../../rice/tutorial/ssl/MyMsg.html" title="class in rice.tutorial.ssl">MyMsg</A>, <A HREF="../../../rice/tutorial/transportdirect/MyMsg.html" title="class in rice.tutorial.transportdirect">MyMsg</A>, <A HREF="../../../rice/tutorial/transportlayer/MyMsg.html" title="class in rice.tutorial.transportlayer">MyMsg</A>, <A HREF="../../../rice/pastry/socket/nat/rendezvous/OpenChannelMsg.html" title="class in rice.pastry.socket.nat.rendezvous">OpenChannelMsg</A>, <A HREF="../../../rice/p2p/past/messaging/PastMessage.html" title="class in rice.p2p.past.messaging">PastMessage</A>, <A HREF="../../../rice/pastry/commonapi/PastryEndpointMessage.html" title="class in rice.pastry.commonapi">PastryEndpointMessage</A>, <A HREF="../../../rice/pastry/socket/nat/rendezvous/PilotForwardMsg.html" title="class in rice.pastry.socket.nat.rendezvous">PilotForwardMsg</A>, <A HREF="../../../rice/pastry/testing/PingMessageNew.html" title="class in rice.pastry.testing">PingMessageNew</A>, <A HREF="../../../rice/pastry/messaging/PJavaSerializedMessage.html" title="class in rice.pastry.messaging">PJavaSerializedMessage</A>, <A HREF="../../../rice/pastry/messaging/PRawMessage.html" title="class in rice.pastry.messaging">PRawMessage</A>, <A HREF="../../../rice/pastry/socket/nat/probe/ProbeRequestMessage.html" title="class in rice.pastry.socket.nat.probe">ProbeRequestMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/PublishMessage.html" title="class in rice.p2p.scribe.messaging">PublishMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/PublishRequestMessage.html" title="class in rice.p2p.scribe.messaging">PublishRequestMessage</A>, <A HREF="../../../rice/p2p/replication/manager/messaging/ReminderMessage.html" title="class in rice.p2p.replication.manager.messaging">ReminderMessage</A>, <A HREF="../../../rice/p2p/replication/messaging/ReminderMessage.html" title="class in rice.p2p.replication.messaging">ReminderMessage</A>, <A HREF="../../../rice/pastry/socket/nat/rendezvous/RendezvousJoinRequest.html" title="class in rice.pastry.socket.nat.rendezvous">RendezvousJoinRequest</A>, <A HREF="../../../rice/p2p/replication/messaging/ReplicationMessage.html" title="class in rice.p2p.replication.messaging">ReplicationMessage</A>, <A HREF="../../../rice/pastry/leafset/RequestLeafSet.html" title="class in rice.pastry.leafset">RequestLeafSet</A>, <A HREF="../../../rice/p2p/replication/messaging/RequestMessage.html" title="class in rice.p2p.replication.messaging">RequestMessage</A>, <A HREF="../../../rice/pastry/routing/RequestRouteRow.html" title="class in rice.pastry.routing">RequestRouteRow</A>, <A HREF="../../../rice/p2p/replication/messaging/ResponseMessage.html" title="class in rice.p2p.replication.messaging">ResponseMessage</A>, <A HREF="../../../rice/pastry/routing/RouteMessage.html" title="class in rice.pastry.routing">RouteMessage</A>, <A HREF="../../../rice/pastry/pns/messages/RouteRowRequest.html" title="class in rice.pastry.pns.messages">RouteRowRequest</A>, <A HREF="../../../rice/pastry/pns/messages/RouteRowResponse.html" title="class in rice.pastry.pns.messages">RouteRowResponse</A>, <A HREF="../../../rice/p2p/scribe/messaging/ScribeMessage.html" title="class in rice.p2p.scribe.messaging">ScribeMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/SubscribeAckMessage.html" title="class in rice.p2p.scribe.messaging">SubscribeAckMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/SubscribeFailedMessage.html" title="class in rice.p2p.scribe.messaging">SubscribeFailedMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/SubscribeLostMessage.html" title="class in rice.p2p.scribe.messaging">SubscribeLostMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/SubscribeMessage.html" title="class in rice.p2p.scribe.messaging">SubscribeMessage</A>, <A HREF="../../../rice/p2p/replication/manager/messaging/TimeoutMessage.html" title="class in rice.p2p.replication.manager.messaging">TimeoutMessage</A>, <A HREF="../../../rice/p2p/scribe/messaging/UnsubscribeMessage.html" title="class in rice.p2p.scribe.messaging">UnsubscribeMessage</A></DD>
|
|
</DL>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public interface <B>Message</B><DT>extends java.io.Serializable</DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Version:</B></DT>
|
|
<DD>$Id: Message.java 3647 2007-03-13 13:50:26Z jeffh $</DD>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>Alan Mislove, Peter Druschel</DD>
|
|
</DL>
|
|
<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 int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#DEFAULT_PRIORITY">DEFAULT_PRIORITY</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#HIGH_PRIORITY">HIGH_PRIORITY</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#LOW_PRIORITY">LOW_PRIORITY</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#LOWEST_PRIORITY">LOWEST_PRIORITY</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#MAX_PRIORITY">MAX_PRIORITY</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#MEDIUM_HIGH_PRIORITY">MEDIUM_HIGH_PRIORITY</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#MEDIUM_LOW_PRIORITY">MEDIUM_LOW_PRIORITY</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#MEDIUM_PRIORITY">MEDIUM_PRIORITY</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== 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> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../rice/p2p/commonapi/Message.html#getPriority()">getPriority</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method which should return the priority level of this message.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<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="MAX_PRIORITY"><!-- --></A><H3>
|
|
MAX_PRIORITY</H3>
|
|
<PRE>
|
|
static final int <B>MAX_PRIORITY</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.p2p.commonapi.Message.MAX_PRIORITY">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="HIGH_PRIORITY"><!-- --></A><H3>
|
|
HIGH_PRIORITY</H3>
|
|
<PRE>
|
|
static final int <B>HIGH_PRIORITY</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.p2p.commonapi.Message.HIGH_PRIORITY">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="MEDIUM_HIGH_PRIORITY"><!-- --></A><H3>
|
|
MEDIUM_HIGH_PRIORITY</H3>
|
|
<PRE>
|
|
static final int <B>MEDIUM_HIGH_PRIORITY</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.p2p.commonapi.Message.MEDIUM_HIGH_PRIORITY">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="MEDIUM_PRIORITY"><!-- --></A><H3>
|
|
MEDIUM_PRIORITY</H3>
|
|
<PRE>
|
|
static final int <B>MEDIUM_PRIORITY</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.p2p.commonapi.Message.MEDIUM_PRIORITY">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="MEDIUM_LOW_PRIORITY"><!-- --></A><H3>
|
|
MEDIUM_LOW_PRIORITY</H3>
|
|
<PRE>
|
|
static final int <B>MEDIUM_LOW_PRIORITY</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.p2p.commonapi.Message.MEDIUM_LOW_PRIORITY">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="LOW_PRIORITY"><!-- --></A><H3>
|
|
LOW_PRIORITY</H3>
|
|
<PRE>
|
|
static final int <B>LOW_PRIORITY</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.p2p.commonapi.Message.LOW_PRIORITY">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="LOWEST_PRIORITY"><!-- --></A><H3>
|
|
LOWEST_PRIORITY</H3>
|
|
<PRE>
|
|
static final int <B>LOWEST_PRIORITY</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.p2p.commonapi.Message.LOWEST_PRIORITY">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="DEFAULT_PRIORITY"><!-- --></A><H3>
|
|
DEFAULT_PRIORITY</H3>
|
|
<PRE>
|
|
static final int <B>DEFAULT_PRIORITY</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.p2p.commonapi.Message.DEFAULT_PRIORITY">Constant Field Values</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>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="getPriority()"><!-- --></A><H3>
|
|
getPriority</H3>
|
|
<PRE>
|
|
int <B>getPriority</B>()</PRE>
|
|
<DL>
|
|
<DD>Method which should return the priority level of this message. The messages
|
|
can range in priority from -15 (highest priority) to 15 (lowest) -
|
|
when sending messages across the wire, the queue is sorted by message priority.
|
|
If the queue reaches its limit, the lowest priority messages are discarded. Thus,
|
|
applications which are very verbose should have LOW_PRIORITY or lower, and
|
|
applications which are somewhat quiet are allowed to have MEDIUM_PRIORITY or
|
|
possibly even HIGH_PRIORITY.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>This message's priority</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> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Message.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
Rice Pastry API</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../rice/p2p/commonapi/IdSet.html" title="interface in rice.p2p.commonapi"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../rice/p2p/commonapi/MessageReceipt.html" title="interface in rice.p2p.commonapi"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?rice/p2p/commonapi/Message.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Message.html" target="_top"><B>NO FRAMES</B></A>
|
|
<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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
<i>Copyright © 2001-2005 - Rice Pastry.</i>
|
|
</BODY>
|
|
</HTML>
|