|
Rice Pastry API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ChannelId | |
---|---|
rice.p2p.splitstream | |
rice.p2p.splitstream.testing |
Uses of ChannelId in rice.p2p.splitstream |
---|
Fields in rice.p2p.splitstream declared as ChannelId | |
---|---|
protected ChannelId |
Channel.channelId
ChannelId for this channel |
Fields in rice.p2p.splitstream with type parameters of type ChannelId | |
---|---|
protected java.util.Hashtable<ChannelId,Channel> |
SplitStreamImpl.channels
Hashtable of all the channels currently created on this node implicitly or explicitly. |
protected java.util.Hashtable<ChannelId,java.lang.Integer> |
SplitStreamScribePolicy.policy
A mapping from channelId -> maximum children |
Methods in rice.p2p.splitstream that return ChannelId | |
---|---|
ChannelId |
Channel.getChannelId()
Gets the channelId for this channel |
Methods in rice.p2p.splitstream with parameters of type ChannelId | |
---|---|
Channel |
SplitStream.attachChannel(ChannelId id)
A SplitStream application calls this method to join a channel. |
Channel |
SplitStreamImpl.attachChannel(ChannelId id)
This method is used by peers who wish to listen to content distributed by some other peer using SplitStream. |
Channel |
SplitStream.createChannel(ChannelId id)
A SplitStream application calls this method when it wishes to distribute content, creating a new channel object. |
Channel |
SplitStreamImpl.createChannel(ChannelId id)
This method is used by a peer who wishes to distribute the content using SplitStream. |
protected StripeId[] |
Channel.generateStripeIds(ChannelId id,
IdFactory factory)
Creates and returns the Ids associated with the provided channelId |
int |
SplitStreamScribePolicy.getMaxChildren(ChannelId id)
Gets the max bandwidth for a channel. |
void |
SplitStreamScribePolicy.setMaxChildren(ChannelId id,
int children)
Adjust the max bandwidth for this channel. |
Constructors in rice.p2p.splitstream with parameters of type ChannelId | |
---|---|
Channel(ChannelId channelId,
Scribe scribe,
java.lang.String instance,
IdFactory factory,
Id localId,
int stripeBase,
int maxFailedSubscriptions)
Constructor to create a new channel from scratch |
Uses of ChannelId in rice.p2p.splitstream.testing |
---|
Methods in rice.p2p.splitstream.testing with parameters of type ChannelId | |
---|---|
void |
MySplitStreamClient.attachChannel(ChannelId cid)
|
|
Rice Pastry API | |||||||||
PREV NEXT | FRAMES NO FRAMES |