org.relayirc.chatengine
Interface IRCConnectionListener
- All Known Implementing Classes:
- IRCConnectionAdapter
- public interface IRCConnectionListener
Implement this interface to listen to an IRCConnection.
ISSUE: To follow the Java Bean conventions, should every method
accept one argument of type IRCConnectionEvent? Does it matter?
- See Also:
IRCConnection
Method Summary |
void |
onAction(java.lang.String user,
java.lang.String chan,
java.lang.String txt)
|
void |
onBan(java.lang.String banned,
java.lang.String chan,
java.lang.String banner)
|
void |
onClientInfo(java.lang.String orgnick)
|
void |
onClientSource(java.lang.String orgnick)
|
void |
onClientVersion(java.lang.String orgnick)
|
void |
onConnect()
|
void |
onDisconnect()
|
void |
onErrorAlreadyRegistered()
|
void |
onErrorErroneusNickname(java.lang.String badNick)
|
void |
onErrorNeedMoreParams()
|
void |
onErrorNickCollision(java.lang.String badNick)
|
void |
onErrorNickNameInUse(java.lang.String badNick)
|
void |
onErrorNoMOTD()
|
void |
onErrorNoNicknameGiven()
|
void |
onErrorUnknown(java.lang.String message)
|
void |
onErrorUnsupported(java.lang.String messag)
|
void |
onJoin(java.lang.String user,
java.lang.String nick,
java.lang.String chan,
boolean create)
|
void |
onJoins(java.lang.String users,
java.lang.String chan)
|
void |
onKick(java.lang.String kicked,
java.lang.String chan,
java.lang.String kicker,
java.lang.String txt)
|
void |
onMessage(java.lang.String message)
|
void |
onNick(java.lang.String user,
java.lang.String oldnick,
java.lang.String newnick)
|
void |
onNotice(java.lang.String text)
|
void |
onOp(java.lang.String oper,
java.lang.String chan,
java.lang.String oped)
|
void |
onParsingError(java.lang.String message)
|
void |
onPart(java.lang.String user,
java.lang.String nick,
java.lang.String chan)
|
void |
onPing(java.lang.String params)
|
void |
onPrivateMessage(java.lang.String orgnick,
java.lang.String chan,
java.lang.String txt)
|
void |
onQuit(java.lang.String user,
java.lang.String nick,
java.lang.String txt)
|
void |
onReplyEndOfWhoIs()
|
void |
onReplyList(java.lang.String channel,
int userCount,
java.lang.String topic)
|
void |
onReplyListEnd()
|
void |
onReplyListStart()
|
void |
onReplyListUserChannels(int channelCount)
|
void |
onReplyListUserClient(java.lang.String msg)
|
void |
onReplyMOTD(java.lang.String msg)
|
void |
onReplyMOTDEnd()
|
void |
onReplyMOTDStart()
|
void |
onReplyNameReply(java.lang.String channel,
java.lang.String users)
|
void |
onReplyTopic(java.lang.String channel,
java.lang.String topic)
|
void |
onReplyVersion(java.lang.String version)
|
void |
onReplyWhoIsChannels(java.lang.String nick,
java.lang.String channels)
|
void |
onReplyWhoIsIdle(java.lang.String info)
|
void |
onReplyWhoIsOperator(java.lang.String info)
|
void |
onReplyWhoIsServer(java.lang.String info)
|
void |
onReplyWhoIsUser(java.lang.String userName,
java.lang.String miscText)
|
void |
onStatus(java.lang.String msg)
|
void |
onTopic(java.lang.String chanName,
java.lang.String newTopic)
|
void |
onVersionNotice(java.lang.String orgnick,
java.lang.String origin,
java.lang.String version)
|
onAction
public void onAction(java.lang.String user,
java.lang.String chan,
java.lang.String txt)
onBan
public void onBan(java.lang.String banned,
java.lang.String chan,
java.lang.String banner)
onClientInfo
public void onClientInfo(java.lang.String orgnick)
onClientSource
public void onClientSource(java.lang.String orgnick)
onClientVersion
public void onClientVersion(java.lang.String orgnick)
onConnect
public void onConnect()
onDisconnect
public void onDisconnect()
onJoin
public void onJoin(java.lang.String user,
java.lang.String nick,
java.lang.String chan,
boolean create)
onJoins
public void onJoins(java.lang.String users,
java.lang.String chan)
onKick
public void onKick(java.lang.String kicked,
java.lang.String chan,
java.lang.String kicker,
java.lang.String txt)
onMessage
public void onMessage(java.lang.String message)
onPrivateMessage
public void onPrivateMessage(java.lang.String orgnick,
java.lang.String chan,
java.lang.String txt)
onNick
public void onNick(java.lang.String user,
java.lang.String oldnick,
java.lang.String newnick)
onNotice
public void onNotice(java.lang.String text)
onPart
public void onPart(java.lang.String user,
java.lang.String nick,
java.lang.String chan)
onOp
public void onOp(java.lang.String oper,
java.lang.String chan,
java.lang.String oped)
onParsingError
public void onParsingError(java.lang.String message)
onPing
public void onPing(java.lang.String params)
onStatus
public void onStatus(java.lang.String msg)
onTopic
public void onTopic(java.lang.String chanName,
java.lang.String newTopic)
onVersionNotice
public void onVersionNotice(java.lang.String orgnick,
java.lang.String origin,
java.lang.String version)
onQuit
public void onQuit(java.lang.String user,
java.lang.String nick,
java.lang.String txt)
onReplyVersion
public void onReplyVersion(java.lang.String version)
onReplyListUserChannels
public void onReplyListUserChannels(int channelCount)
onReplyListStart
public void onReplyListStart()
onReplyList
public void onReplyList(java.lang.String channel,
int userCount,
java.lang.String topic)
onReplyListEnd
public void onReplyListEnd()
onReplyListUserClient
public void onReplyListUserClient(java.lang.String msg)
onReplyWhoIsUser
public void onReplyWhoIsUser(java.lang.String userName,
java.lang.String miscText)
onReplyWhoIsServer
public void onReplyWhoIsServer(java.lang.String info)
onReplyWhoIsOperator
public void onReplyWhoIsOperator(java.lang.String info)
onReplyWhoIsIdle
public void onReplyWhoIsIdle(java.lang.String info)
onReplyEndOfWhoIs
public void onReplyEndOfWhoIs()
onReplyWhoIsChannels
public void onReplyWhoIsChannels(java.lang.String nick,
java.lang.String channels)
onReplyMOTDStart
public void onReplyMOTDStart()
onReplyMOTD
public void onReplyMOTD(java.lang.String msg)
onReplyMOTDEnd
public void onReplyMOTDEnd()
onReplyNameReply
public void onReplyNameReply(java.lang.String channel,
java.lang.String users)
onReplyTopic
public void onReplyTopic(java.lang.String channel,
java.lang.String topic)
onErrorNoMOTD
public void onErrorNoMOTD()
onErrorNeedMoreParams
public void onErrorNeedMoreParams()
onErrorNoNicknameGiven
public void onErrorNoNicknameGiven()
onErrorNickNameInUse
public void onErrorNickNameInUse(java.lang.String badNick)
onErrorNickCollision
public void onErrorNickCollision(java.lang.String badNick)
onErrorErroneusNickname
public void onErrorErroneusNickname(java.lang.String badNick)
onErrorAlreadyRegistered
public void onErrorAlreadyRegistered()
onErrorUnknown
public void onErrorUnknown(java.lang.String message)
onErrorUnsupported
public void onErrorUnsupported(java.lang.String messag)