|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.zion.jbuddy.bots.event.BotClientConnectionAdapter
public class BotClientConnectionAdapter
A convenience class that implements BotClientConnectionListener
methods to do nothing.
| Constructor Summary | |
|---|---|
BotClientConnectionAdapter()
|
|
| Method Summary | |
|---|---|
void |
connected(BotClientConnectionEvent event)
Fired when a BotClient has connected successfully to a
BotGateway. |
void |
connecting(BotClientConnectionEvent event)
Fired when a BotClient begins connecting to a
BotGateway. |
void |
couldNotConnect(BotClientConnectionEvent event)
Fired when a BotClient could not connect to a BotGateway
for some reason. |
void |
disconnected(BotClientConnectionEvent event)
Fired when a BotClient lost its connection to a
BotGateway for some reason. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BotClientConnectionAdapter()
| Method Detail |
|---|
public void connecting(BotClientConnectionEvent event)
BotClientConnectionListenerBotClient begins connecting to a
BotGateway.
connecting in interface BotClientConnectionListenerpublic void connected(BotClientConnectionEvent event)
BotClientConnectionListenerBotClient has connected successfully to a
BotGateway.
connected in interface BotClientConnectionListenerpublic void couldNotConnect(BotClientConnectionEvent event)
BotClientConnectionListenerBotClient could not connect to a BotGateway
for some reason.
couldNotConnect in interface BotClientConnectionListenerBotClientConnectionEvent.getException()public void disconnected(BotClientConnectionEvent event)
BotClientConnectionListenerBotClient lost its connection to a
BotGateway for some reason.
disconnected in interface BotClientConnectionListenerBotClientConnectionEvent.getException()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||