<!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:02:01 CET 2009 --> <TITLE> Uses of Class rice.p2p.splitstream.ChannelId (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="Uses of Class rice.p2p.splitstream.ChannelId (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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-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"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?rice/p2p/splitstream//class-useChannelId.html" target="_top"><B>FRAMES</B></A> <A HREF="ChannelId.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> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>rice.p2p.splitstream.ChannelId</B></H2> </CENTER> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Packages that use <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#rice.p2p.splitstream"><B>rice.p2p.splitstream</B></A></TD> <TD> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#rice.p2p.splitstream.testing"><B>rice.p2p.splitstream.testing</B></A></TD> <TD> </TD> </TR> </TABLE> <P> <A NAME="rice.p2p.splitstream"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> in <A HREF="../../../../rice/p2p/splitstream/package-summary.html">rice.p2p.splitstream</A></FONT></TH> </TR> </TABLE> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../rice/p2p/splitstream/package-summary.html">rice.p2p.splitstream</A> declared as <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></CODE></FONT></TD> <TD><CODE><B>Channel.</B><B><A HREF="../../../../rice/p2p/splitstream/Channel.html#channelId">channelId</A></B></CODE> <BR> ChannelId for this channel</TD> </TR> </TABLE> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../rice/p2p/splitstream/package-summary.html">rice.p2p.splitstream</A> with type parameters of type <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected java.util.Hashtable<<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A>,<A HREF="../../../../rice/p2p/splitstream/Channel.html" title="class in rice.p2p.splitstream">Channel</A>></CODE></FONT></TD> <TD><CODE><B>SplitStreamImpl.</B><B><A HREF="../../../../rice/p2p/splitstream/SplitStreamImpl.html#channels">channels</A></B></CODE> <BR> Hashtable of all the channels currently created on this node implicitly or explicitly.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected java.util.Hashtable<<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A>,java.lang.Integer></CODE></FONT></TD> <TD><CODE><B>SplitStreamScribePolicy.</B><B><A HREF="../../../../rice/p2p/splitstream/SplitStreamScribePolicy.html#policy">policy</A></B></CODE> <BR> A mapping from channelId -> maximum children</TD> </TR> </TABLE> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../rice/p2p/splitstream/package-summary.html">rice.p2p.splitstream</A> that return <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></CODE></FONT></TD> <TD><CODE><B>Channel.</B><B><A HREF="../../../../rice/p2p/splitstream/Channel.html#getChannelId()">getChannelId</A></B>()</CODE> <BR> Gets the channelId for this channel</TD> </TR> </TABLE> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../rice/p2p/splitstream/package-summary.html">rice.p2p.splitstream</A> with parameters of type <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../rice/p2p/splitstream/Channel.html" title="class in rice.p2p.splitstream">Channel</A></CODE></FONT></TD> <TD><CODE><B>SplitStream.</B><B><A HREF="../../../../rice/p2p/splitstream/SplitStream.html#attachChannel(rice.p2p.splitstream.ChannelId)">attachChannel</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> id)</CODE> <BR> A SplitStream application calls this method to join a channel.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../rice/p2p/splitstream/Channel.html" title="class in rice.p2p.splitstream">Channel</A></CODE></FONT></TD> <TD><CODE><B>SplitStreamImpl.</B><B><A HREF="../../../../rice/p2p/splitstream/SplitStreamImpl.html#attachChannel(rice.p2p.splitstream.ChannelId)">attachChannel</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> id)</CODE> <BR> This method is used by peers who wish to listen to content distributed by some other peer using SplitStream.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../rice/p2p/splitstream/Channel.html" title="class in rice.p2p.splitstream">Channel</A></CODE></FONT></TD> <TD><CODE><B>SplitStream.</B><B><A HREF="../../../../rice/p2p/splitstream/SplitStream.html#createChannel(rice.p2p.splitstream.ChannelId)">createChannel</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> id)</CODE> <BR> A SplitStream application calls this method when it wishes to distribute content, creating a new channel object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../rice/p2p/splitstream/Channel.html" title="class in rice.p2p.splitstream">Channel</A></CODE></FONT></TD> <TD><CODE><B>SplitStreamImpl.</B><B><A HREF="../../../../rice/p2p/splitstream/SplitStreamImpl.html#createChannel(rice.p2p.splitstream.ChannelId)">createChannel</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> id)</CODE> <BR> This method is used by a peer who wishes to distribute the content using SplitStream.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../rice/p2p/splitstream/StripeId.html" title="class in rice.p2p.splitstream">StripeId</A>[]</CODE></FONT></TD> <TD><CODE><B>Channel.</B><B><A HREF="../../../../rice/p2p/splitstream/Channel.html#generateStripeIds(rice.p2p.splitstream.ChannelId, rice.p2p.commonapi.IdFactory)">generateStripeIds</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> id, <A HREF="../../../../rice/p2p/commonapi/IdFactory.html" title="interface in rice.p2p.commonapi">IdFactory</A> factory)</CODE> <BR> Creates and returns the Ids associated with the provided channelId</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B>SplitStreamScribePolicy.</B><B><A HREF="../../../../rice/p2p/splitstream/SplitStreamScribePolicy.html#getMaxChildren(rice.p2p.splitstream.ChannelId)">getMaxChildren</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> id)</CODE> <BR> Gets the max bandwidth for a channel.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B>SplitStreamScribePolicy.</B><B><A HREF="../../../../rice/p2p/splitstream/SplitStreamScribePolicy.html#setMaxChildren(rice.p2p.splitstream.ChannelId, int)">setMaxChildren</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> id, int children)</CODE> <BR> Adjust the max bandwidth for this channel.</TD> </TR> </TABLE> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../rice/p2p/splitstream/package-summary.html">rice.p2p.splitstream</A> with parameters of type <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../rice/p2p/splitstream/Channel.html#Channel(rice.p2p.splitstream.ChannelId, rice.p2p.scribe.Scribe, java.lang.String, rice.p2p.commonapi.IdFactory, rice.p2p.commonapi.Id, int, int)">Channel</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> channelId, <A HREF="../../../../rice/p2p/scribe/Scribe.html" title="interface in rice.p2p.scribe">Scribe</A> scribe, java.lang.String instance, <A HREF="../../../../rice/p2p/commonapi/IdFactory.html" title="interface in rice.p2p.commonapi">IdFactory</A> factory, <A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A> localId, int stripeBase, int maxFailedSubscriptions)</CODE> <BR> Constructor to create a new channel from scratch</TD> </TR> </TABLE> <P> <A NAME="rice.p2p.splitstream.testing"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> in <A HREF="../../../../rice/p2p/splitstream/testing/package-summary.html">rice.p2p.splitstream.testing</A></FONT></TH> </TR> </TABLE> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../rice/p2p/splitstream/testing/package-summary.html">rice.p2p.splitstream.testing</A> with parameters of type <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B>MySplitStreamClient.</B><B><A HREF="../../../../rice/p2p/splitstream/testing/MySplitStreamClient.html#attachChannel(rice.p2p.splitstream.ChannelId)">attachChannel</A></B>(<A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream">ChannelId</A> cid)</CODE> <BR> </TD> </TR> </TABLE> <P> <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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../rice/p2p/splitstream/ChannelId.html" title="class in rice.p2p.splitstream"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-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"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?rice/p2p/splitstream//class-useChannelId.html" target="_top"><B>FRAMES</B></A> <A HREF="ChannelId.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> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> <i>Copyright © 2001-2005 - Rice Pastry.</i> </BODY> </HTML>