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

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.CallbackOnChannelNotice

public class CallbackOnChannelNotice
extends CallbackObjectSpecific

Callback to all objects implementing the IChannelNotice 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
CallbackOnChannelNotice(IRCParser parser, CallbackManager manager)
          Create a new instance of the Callback Object
 
Method Summary
 boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, java.lang.String sMessage, java.lang.String sHost)
          Callback to all objects implementing the IChannelNotice 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

CallbackOnChannelNotice

public CallbackOnChannelNotice(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,
                    ChannelClientInfo cChannelClient,
                    java.lang.String sMessage,
                    java.lang.String sHost)
Callback to all objects implementing the IChannelNotice Interface.

Parameters:
cChannel - Channel where the notice was sent to
cChannelClient - ChannelClient who sent the notice (may be null if server)
sMessage - notice contents
sHost - Hostname of sender (or servername)
Returns:
true if a callback was called, else false
See Also:
IChannelNotice