Class SFSExtensionFilter
java.lang.Object
com.smartfoxserver.extensions.filter.SFSExtensionFilter
- All Implemented Interfaces:
IFilter
For a quick introduction see:
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the filter namevoidinit(SFSExtension ext) Initialize the FiltervoidSet the name of the filterprotected voidtrace(ExtensionLogLevel level, Object... args) Trace a message to the console and log files using the specified logging levelprotected voidAllows to trace messages to the console and log files using the Logger INFO levelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.smartfoxserver.extensions.filter.IFilter
destroy, handleClientRequest, handleServerEvent
-
Field Details
-
parentExtension
-
-
Constructor Details
-
SFSExtensionFilter
public SFSExtensionFilter()
-
-
Method Details
-
init
Initialize the Filter -
getName
Get the filter name- Returns:
- the filter name
-
setName
Set the name of the filter- Parameters:
name- the filter name
-
trace
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
Trace a message to the console and log files using the specified logging level- Parameters:
level- the logging levelargs- any number of object to trace
-