jerklib.events.impl
Class JoinCompleteEventImpl

java.lang.Object
  extended by jerklib.events.impl.JoinCompleteEventImpl
All Implemented Interfaces:
IRCEvent, JoinCompleteEvent

public class JoinCompleteEventImpl
extends Object
implements JoinCompleteEvent

Author:
mohadib
See Also:
JoinCompleteEvent

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Constructor Summary
JoinCompleteEventImpl(String rawEventData, Session session, Channel channel)
           
 
Method Summary
 Channel getChannel()
          getChannel() returns Channel object for event
 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.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JoinCompleteEventImpl

public JoinCompleteEventImpl(String rawEventData,
                             Session session,
                             Channel channel)
Method Detail

getChannel

public final Channel getChannel()
Description copied from interface: JoinCompleteEvent
getChannel() returns Channel object for event

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

getType

public final 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

getRawEventData

public final 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 final Session getSession()
Description copied from interface: IRCEvent
Gets session for connection

Specified by:
getSession in interface IRCEvent
Returns:
Session

toString

public String toString()
Overrides:
toString in class Object