jerklib.events
Interface WhoEvent

All Superinterfaces:
IRCEvent
All Known Implementing Classes:
WhoEventImpl

public interface WhoEvent
extends IRCEvent

This is fired when the lib gets a reply from a WHO request.

Author:
Robert O'Connor

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Method Summary
 String getChannel()
          Retrieve the channel (for when you WHO a channel)
 int getHopCount()
          Returns the number of hops between you and the user.
 String getHostName()
          Get the hostname of the user
 String getNick()
          Get the nick of the user
 String getRealName()
          Get the real name of the user.
 String getServerName()
          Get the server the user is on.
 String getUserName()
          Get the username of the user
 boolean isAway()
          Get whether or not the user is away.
 
Methods inherited from interface jerklib.events.IRCEvent
getRawEventData, getSession, getType
 

Method Detail

getNick

String getNick()
Get the nick of the user

Returns:
the nick of the user.

getUserName

String getUserName()
Get the username of the user

Returns:
the username

getHostName

String getHostName()
Get the hostname of the user

Returns:
the hostname

getServerName

String getServerName()
Get the server the user is on.

Returns:
the server.

getHopCount

int getHopCount()
Returns the number of hops between you and the user.

Returns:
the hop count

getRealName

String getRealName()
Get the real name of the user.

Returns:
the real name

getChannel

String getChannel()
Retrieve the channel (for when you WHO a channel)

Returns:
the channel or an empty String

isAway

boolean isAway()
Get whether or not the user is away.

Returns:
whether or not the user is away.