com.zion.jbuddy.bots.event
Class BotClientConnectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.zion.jbuddy.bots.event.BotClientEvent
          extended by com.zion.jbuddy.bots.event.BotClientConnectionEvent
All Implemented Interfaces:
Serializable

public class BotClientConnectionEvent
extends BotClientEvent

Encapsulates BotClientConnectionListener event information.

See Also:
BotClientConnectionListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BotClientConnectionEvent(BotClient client)
          This constructor is called from BotEngine and should not be used by outside implementations.
BotClientConnectionEvent(BotClient client, Exception exception)
          This constructor is called from BotEngine and should not be used by outside implementations.
 
Method Summary
 Exception getException()
          Returns the exception that occurred.
 String toString()
           
 
Methods inherited from class com.zion.jbuddy.bots.event.BotClientEvent
getClient
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BotClientConnectionEvent

public BotClientConnectionEvent(BotClient client)
This constructor is called from BotEngine and should not be used by outside implementations.


BotClientConnectionEvent

public BotClientConnectionEvent(BotClient client,
                                Exception exception)
This constructor is called from BotEngine and should not be used by outside implementations.

Method Detail

getException

public Exception getException()
Returns the exception that occurred.

See Also:
BotClientConnectionListener.couldNotConnect(com.zion.jbuddy.bots.event.BotClientConnectionEvent), BotClientConnectionListener.disconnected(com.zion.jbuddy.bots.event.BotClientConnectionEvent)

toString

public String toString()
Overrides:
toString in class EventObject


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.