uk.org.ownage.dmdirc.parser.callbacks
Class CallbackOnChannelTopic

java.lang.Object
  extended by uk.org.ownage.dmdirc.parser.callbacks.CallbackObject
      extended by uk.org.ownage.dmdirc.parser.callbacks.CallbackObjectSpecific
          extended by uk.org.ownage.dmdirc.parser.callbacks.CallbackOnChannelTopic

public class CallbackOnChannelTopic
extends CallbackObjectSpecific

Callback to all objects implementing the IChannelTopic Interface.


Field Summary
 
Fields inherited from class uk.org.ownage.dmdirc.parser.callbacks.CallbackObjectSpecific
specificData
 
Fields inherited from class uk.org.ownage.dmdirc.parser.callbacks.CallbackObject
callbackInfo, myManager, myParser
 
Constructor Summary
CallbackOnChannelTopic(IRCParser parser, CallbackManager manager)
          Create a new instance of the Callback Object
 
Method Summary
 boolean call(ChannelInfo cChannel, boolean bIsJoinTopic)
          Callback to all objects implementing the IChannelTopic Interface.
 
Methods inherited from class uk.org.ownage.dmdirc.parser.callbacks.CallbackObjectSpecific
add, add, del, isValidChan, isValidUser
 
Methods inherited from class uk.org.ownage.dmdirc.parser.callbacks.CallbackObject
addCallback, callErrorInfo, delCallback, getLowerName, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackOnChannelTopic

public CallbackOnChannelTopic(IRCParser parser,
                              CallbackManager manager)
Create a new instance of the Callback Object

Parameters:
parser - IRCParser That owns this callback
manager - CallbackManager that is in charge of this callback
Method Detail

call

public boolean call(ChannelInfo cChannel,
                    boolean bIsJoinTopic)
Callback to all objects implementing the IChannelTopic Interface.

Parameters:
cChannel - Channel that topic was set on
bIsJoinTopic - True when getting topic on join, false if set by user/server
Returns:
true if a callback was called, else false
See Also:
IChannelTopic