Create a new channel and user tracking object for the given irc.client.IrcClient. Tracking for the new object is initially disabled; use IrcTracker.start to commence tracking.
Payload | type of extra storage per TrackedUser object |
Keeps track of all channels and channel members visible to the associated irc.client.IrcClient connection.
Payload | type of extra storage per TrackedUser object |
Initiate or restart tracking, or do nothing if the tracker is already tracking.
If the associated client is unconnected, tracking starts immediately. If it is connected, information about the client's current channels will be queried, and tracking starts as soon as the information has been received.
Stop tracking, or do nothing if the tracker is not currently tracking.
Boolean whether or not the tracker is currently tracking.
irc.client.IrcClient that this tracker is tracking for.
InputRange (with length) of all channels the associated client is currently a member of.
InputRange (with length) of all users currently seen by the associated client.
The range includes the user for the associated client. Users that are not a member of any of the channels the associated client is a member of, but have sent a private message to the associated client, are not included.
Lookup a channel on this tracker by name.
The channel name must include the channel name prefix. Returns null if the associated client is not currently a member of the given channel.
char[] channelName | name of channel to lookup |
Lookup a user on this tracker by nick name.
Users are searched among the members of all channels the associated client is currently a member of. The set includes the user for the associated client.
char[] nickName | nick name of user to lookup |
Represents an IRC channel and its member users for use by IrcTracker.
The list of members includes the user associated with the tracking object. If the IrcTracker used to access an instance of this type was since stopped, the channel presents the list of members as it were at the time of the tracker being stopped.
Payload | type of extra storage per TrackedUser object |
Name of the channel, including the channel prefix.
InputRange of all member users of this channel,
where each user is given as a (MREF TrackedUser)*.
Lookup a member of this channel by nick name. null is returned if the given nick is not a member of this channel.
char[] nick | nick name of member to lookup |
Represents an IRC user for use by IrcTracker.
Nick name, user name and host name of the user.
TrackedUser is a super-type of irc.protocol.IrcUser.
Only the nick name is guaranteed to be non-null.
Real name of the user. Is null unless a whois-query has been successfully issued for the user.
Channels in which both the current user and the tracked user share membership.
Represents an IRC user for use by CustomIrcTracker.
Payload | type of extra data per user. |
CustomTrackedUser is a super-type of TrackedUser.
Extra data attached to this user for per-application data.