Class SFSExtensionFilter
- java.lang.Object
-
- com.smartfoxserver.v2.extensions.filter.SFSExtensionFilter
-
-
Field Summary
Fields Modifier and Type Field Description protected SFSExtension
parentExtension
-
Constructor Summary
Constructors Constructor Description SFSExtensionFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Get the filter namevoid
init(SFSExtension ext)
Initialize the Filtervoid
setName(java.lang.String name)
Set the name of the filterprotected void
trace(ExtensionLogLevel level, java.lang.Object... args)
Trace a message to the console and log files using the specified logging levelprotected void
trace(java.lang.Object... args)
Allows to trace messages to the console and log files using the Logger INFO level-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.smartfoxserver.v2.extensions.filter.IFilter
destroy, handleClientRequest, handleServerEvent
-
-
-
-
Field Detail
-
parentExtension
protected SFSExtension parentExtension
-
-
Method Detail
-
init
public void init(SFSExtension ext)
Initialize the Filter
-
getName
public java.lang.String getName()
Get the filter name- Returns:
- the filter name
-
setName
public void setName(java.lang.String name)
Set the name of the filter- Parameters:
name
- the filter name
-
trace
protected void trace(java.lang.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, java.lang.Object... args)
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
-
-