jerklib.events.impl
Class NickListEventImpl

java.lang.Object
  extended by jerklib.events.impl.NickListEventImpl
All Implemented Interfaces:
IRCEvent, NickListEvent

public class NickListEventImpl
extends Object
implements NickListEvent

Author:
NickListEventImpl

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Constructor Summary
NickListEventImpl(String rawEventData, Session session, Channel channel, List<String> nicks)
           
 
Method Summary
 Channel getChannel()
          Gets the channel the nick list came from
 List<String> getNicks()
          Gets the nick list for the Channel
 String getRawEventData()
          Returns the raw IRC data that makes up this event
 Session getSession()
          Gets session for connection
 IRCEvent.Type getType()
          Used to find out the exact type of event the IRCEvent object is.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NickListEventImpl

public NickListEventImpl(String rawEventData,
                         Session session,
                         Channel channel,
                         List<String> nicks)
Method Detail

getChannel

public Channel getChannel()
Description copied from interface: NickListEvent
Gets the channel the nick list came from

Specified by:
getChannel in interface NickListEvent
Returns:
Channel
See Also:
Channel

getNicks

public List<String> getNicks()
Description copied from interface: NickListEvent
Gets the nick list for the Channel

Specified by:
getNicks in interface NickListEvent
Returns:
List of nicks in channel

getRawEventData

public String getRawEventData()
Description copied from interface: IRCEvent
Returns the raw IRC data that makes up this event

Specified by:
getRawEventData in interface IRCEvent
Returns:
Raw IRC event text.

getSession

public Session getSession()
Description copied from interface: IRCEvent
Gets session for connection

Specified by:
getSession in interface IRCEvent
Returns:
Session

getType

public IRCEvent.Type getType()
Description copied from interface: IRCEvent
Used to find out the exact type of event the IRCEvent object is. The IRCEvent object can be cast into a more specific event object to get access to convience methods for the specific event types.

Specified by:
getType in interface IRCEvent
Returns:
Type of event