jerklib.events
Interface ConnectionCompleteEvent

All Superinterfaces:
IRCEvent
All Known Implementing Classes:
ConnectionCompleteEventImpl

public interface ConnectionCompleteEvent
extends IRCEvent

Event made when connected to the server This event contains the real server name. Example. When connection to 'irc.freenode.net' we might actually connect to kornbluf.freenode.net or some other host. This event will have the real hosts name.

After receiving this event a Session is ready to join channels

Author:
mohadib

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Method Summary
 String getActualHostName()
          Gets the actual hostname
 String getOldHostName()
          Get the hostname used for the requested connection
 
Methods inherited from interface jerklib.events.IRCEvent
getRawEventData, getSession, getType
 

Method Detail

getActualHostName

String getActualHostName()
Gets the actual hostname

Returns:
actual host name

getOldHostName

String getOldHostName()
Get the hostname used for the requested connection

Returns:
old host name