All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iBus.ChannelMember

java.lang.Object
   |
   +----iBus.ChannelMember

public class ChannelMember
extends Object
implements Serializable
ChannelMember encapsulates information associated with a channel member, notably its URL and whether it is a listener, a talker, or both. A View object mainly consists of a vector of ChannelMember objects.

See Also:
View

Constructor Index

 o ChannelMember(iBusURL, boolean, boolean)
Create a ChannelMember object for a given url.

Method Index

 o getURL()
Retrieve the URL of the channel member.
 o isListener()
Checks whether the channel member is a listener.
 o isTalker()
Checks whether the channel member is a talker.

Constructors

 o ChannelMember
 public ChannelMember(iBusURL url,
                      boolean isListener,
                      boolean isTalker)
Create a ChannelMember object for a given url.

Parameters:
url - the URL of the channel member
isListener - true if the member is a listener
isTalker - true if the member is a talker

Methods

 o getURL
 public iBusURL getURL()
Retrieve the URL of the channel member.

Returns:
the URL of the channel member
 o isListener
 public boolean isListener()
Checks whether the channel member is a listener.

Returns:
true if the channel member is a listener
 o isTalker
 public boolean isTalker()
Checks whether the channel member is a talker.

Returns:
true if the channel member is a talker

All Packages  Class Hierarchy  This Package  Previous  Next  Index