|
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 | |
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()
DESCRIBE THE METHOD |
Channel[] |
getChannels()
Returns all of the channels on this local splitstream |
Environment |
getEnvironment()
Gets the Environment attribute of the SplitStream object |
int |
getStripeBaseBitLength()
Gets the StripeBaseBitLength attribute of the SplitStream object |
Method Detail |
public Channel attachChannel(ChannelId id)
id
- The id of the channel
public Channel createChannel(ChannelId id)
id
- The id of the channel
public Channel[] getChannels()
public int getStripeBaseBitLength()
public Environment getEnvironment()
public 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 |