Class SFSExtensionFilter

java.lang.Object
com.smartfoxserver.extensions.filter.SFSExtensionFilter
All Implemented Interfaces:
IFilter

public abstract class SFSExtensionFilter extends Object implements IFilter
For a quick introduction see:
See Also:
  • Field Details

  • Constructor Details

    • SFSExtensionFilter

      public SFSExtensionFilter()
  • Method Details

    • init

      public void init(SFSExtension ext)
      Initialize the Filter
      Specified by:
      init in interface IFilter
      Parameters:
      ext - a reference to the related Extension
    • getName

      public String getName()
      Get the filter name
      Returns:
      the filter name
    • setName

      public void setName(String name)
      Set the name of the filter
      Parameters:
      name - the filter name
    • trace

      protected void trace(Object... args)
      Allows to trace messages to the console and log files using the Logger INFO level
      Parameters:
      args - any number of strings/object to trace
    • trace

      protected void trace(ExtensionLogLevel level, Object... args)
      Trace a message to the console and log files using the specified logging level
      Parameters:
      level - the logging level
      args - any number of object to trace