rero.client.server
Class IgnoreHandler

java.lang.Object
  extended byrero.client.server.IgnoreHandler
All Implemented Interfaces:
ClientStateListener

public class IgnoreHandler
extends Object
implements ClientStateListener

I don't currently have an "on raw" event that fires before normal processing occurs. So this is called directly from the ServerHandler class and that determines wether or not to halt processing of the event. Kind of a hacked way to do this but it works I guess... *shrug*


Field Summary
protected  boolean checkIgnore
           
protected  StringList ignoreMasks
           
 
Constructor Summary
IgnoreHandler()
           
 
Method Summary
 void hash()
           
 boolean isCheckingIgnore()
           
 boolean isIgnore(String nick, String host)
           
 void propertyChanged(String prop, String parms)
          when the property gets changed you will be notified!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checkIgnore

protected boolean checkIgnore

ignoreMasks

protected StringList ignoreMasks
Constructor Detail

IgnoreHandler

public IgnoreHandler()
Method Detail

propertyChanged

public void propertyChanged(String prop,
                            String parms)
Description copied from interface: ClientStateListener
when the property gets changed you will be notified!

Specified by:
propertyChanged in interface ClientStateListener

hash

public void hash()

isCheckingIgnore

public boolean isCheckingIgnore()

isIgnore

public boolean isIgnore(String nick,
                        String host)