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

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

public class CallbackOnChannelUserModeChanged
extends CallbackObjectSpecific

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

CallbackOnChannelUserModeChanged

public CallbackOnChannelUserModeChanged(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 cChangedClient,
                    ChannelClientInfo cSetByClient,
                    java.lang.String sHost,
                    java.lang.String sMode)
Callback to all objects implementing the IChannelUserModeChanged Interface.

Parameters:
cChannel - Channel where modes were changed
cChangedClient - Client being changed
cSetByClient - Client chaning the modes (null if server)
sMode - String representing mode change (ie +o)
sHost - Host doing the mode changing (User host or server name)
Returns:
true if a callback was called, else false
See Also:
IChannelUserModeChanged