|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
BotClientConnectionListener
BotClient
begins connecting to a
BotGateway
.
connecting
in interface BotClientConnectionListener
public void connected(BotClientConnectionEvent event)
BotClientConnectionListener
BotClient
has connected successfully to a
BotGateway
.
connected
in interface BotClientConnectionListener
public void couldNotConnect(BotClientConnectionEvent event)
BotClientConnectionListener
BotClient
could not connect to a BotGateway
for some reason.
couldNotConnect
in interface BotClientConnectionListener
BotClientConnectionEvent.getException()
public void disconnected(BotClientConnectionEvent event)
BotClientConnectionListener
BotClient
lost its connection to a
BotGateway
for some reason.
disconnected
in interface BotClientConnectionListener
BotClientConnectionEvent.getException()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |