| 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface defines the methods that a splitStream object must implement. The methods are for creating a channel and for attaching to an already existing channel
| Method Summary | |
 rice.p2p.splitstream.Channel | 
attachChannel(rice.p2p.splitstream.ChannelId id)
A SplitStream application calls this method to join a channel.  | 
 rice.p2p.splitstream.Channel | 
createChannel(rice.p2p.splitstream.ChannelId id)
A SplitStream application calls this method when it wishes to distribute content, creating a new channel object.  | 
 rice.p2p.splitstream.Channel[] | 
getChannels()
Returns all of the channels on this local splitstream  | 
| Method Detail | 
public rice.p2p.splitstream.Channel attachChannel(rice.p2p.splitstream.ChannelId id)
id - The id of the channel
public rice.p2p.splitstream.Channel createChannel(rice.p2p.splitstream.ChannelId id)
id - The id of the channel
public rice.p2p.splitstream.Channel[] getChannels()
  | 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||