jerklib.events.impl
Class ServerVersionEventImpl

java.lang.Object
  extended by jerklib.events.impl.ServerVersionEventImpl
All Implemented Interfaces:
IRCEvent, ServerVersionEvent

public class ServerVersionEventImpl
extends Object
implements ServerVersionEvent

Author:
mohadib
See Also:
ServerVersionEvent

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Constructor Summary
ServerVersionEventImpl(String comment, String hostName, String version, String debugLevel, String rawEventData, Session session)
           
 
Method Summary
 String getComment()
          Gets the server version comment
 String getdebugLevel()
          Not impled
 String getHostName()
          Gets the host name
 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 getVersion()
          Gets the version string the server sent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerVersionEventImpl

public ServerVersionEventImpl(String comment,
                              String hostName,
                              String version,
                              String debugLevel,
                              String rawEventData,
                              Session session)
Method Detail

getComment

public String getComment()
Description copied from interface: ServerVersionEvent
Gets the server version comment

Specified by:
getComment in interface ServerVersionEvent
Returns:
comment

getHostName

public String getHostName()
Description copied from interface: ServerVersionEvent
Gets the host name

Specified by:
getHostName in interface ServerVersionEvent
Returns:
hostname

getVersion

public String getVersion()
Description copied from interface: ServerVersionEvent
Gets the version string the server sent

Specified by:
getVersion in interface ServerVersionEvent
Returns:
version string

getdebugLevel

public String getdebugLevel()
Description copied from interface: ServerVersionEvent
Not impled

Specified by:
getdebugLevel in interface ServerVersionEvent
Returns:
Not impled

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