|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SplitStream
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 | |
|---|---|
Channel |
attachChannel(ChannelId id)
A SplitStream application calls this method to join a channel. |
Channel |
createChannel(ChannelId id)
A SplitStream application calls this method when it wishes to distribute content, creating a new channel object. |
void |
destroy()
|
Channel[] |
getChannels()
Returns all of the channels on this local splitstream |
Environment |
getEnvironment()
|
int |
getStripeBaseBitLength()
|
| Method Detail |
|---|
Channel attachChannel(ChannelId id)
id - The id of the channel
Channel createChannel(ChannelId id)
id - The id of the channel
Channel[] getChannels()
int getStripeBaseBitLength()
Environment getEnvironment()
void destroy()
destroy in interface Destructable
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||