|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The basic interface for a TOPICMessage
, RPL_NOTOPICMessage
and RPL_TOPICMessage
listener.
Method Summary | |
boolean |
listensToTOPIC(java.lang.String channelName)
Should return true if it listens to the particular channel and
false otherwise. |
void |
RPL_NOTOPICReceived(RPL_NOTOPICMessage msg)
This method should take care about an RPL_NOTOPICMessage that has been recieved.
|
void |
RPL_TOPICReceived(RPL_TOPICMessage msg)
This method should take care about an RPL_TOPICMessage that has been recieved.
|
void |
TOPICReceived(TOPICMessage msg)
This method should take care about an TOPICMessage that has been recieved.
|
Method Detail |
public void TOPICReceived(TOPICMessage msg)
TOPICMessage
that has been recieved.
It should mark the message as used using IRCMessage.markAsUsed()
in
case that the information on the message has been used in any form. It is
also responsible of using IRCMessage.mustBeDiscarded()
if no other
listener should get noticed about this message.
msg
- The TOPICMessage
that has been received.markAsUsed
,
mustBeDiscarded
public void RPL_NOTOPICReceived(RPL_NOTOPICMessage msg)
RPL_NOTOPICMessage
that has been recieved.
It should mark the message as used using IRCMessage.markAsUsed()
in
case that the information on the message has been used in any form. It is
also responsible of using IRCMessage.mustBeDiscarded()
if no other
listener should get noticed about this message.
msg
- The RPL_NOTOPICMessage
that has been received.markAsUsed
,
mustBeDiscarded
public void RPL_TOPICReceived(RPL_TOPICMessage msg)
RPL_TOPICMessage
that has been recieved.
It should mark the message as used using IRCMessage.markAsUsed()
in
case that the information on the message has been used in any form. It is
also responsible of using IRCMessage.mustBeDiscarded()
if no other
listener should get noticed about this message.
msg
- The RPL_TOPICMessage
that has been received.markAsUsed
,
mustBeDiscarded
public boolean listensToTOPIC(java.lang.String channelName)
true
if it listens to the particular channel and
false
otherwise. If it always returns true
it will
listen to any TOPIC message. If it always returns false
it will
not listen to any TOPIC message.
channelName
- The name of the channel that must be tested.
true
if the channelName
is being listened.
false
if the channelName
is not being listened.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |