com.monoserv.modules
Class ExampleModule

java.lang.Object
  extended by com.monoserv.modules.BaseModule
      extended by com.monoserv.modules.ExampleModule

public class ExampleModule
extends BaseModule


Constructor Summary
ExampleModule()
          Constructor - increments the counter
 
Method Summary
 void end()
          Prints a statement with the FunctionCounter and increments the counter
 IModuleData run(IModuleData d)
          Prints a statement with the FunctionCounter and increments the counter
 void SaveSocket(java.net.Socket sock)
          Just increments the counter again (does not save sock)
 void start()
          Prints a statement with the FunctionCounter and increments the counter
 
Methods inherited from class com.monoserv.modules.BaseModule
getInstanceModifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleModule

public ExampleModule()
Constructor - increments the counter

Method Detail

start

public void start()
Prints a statement with the FunctionCounter and increments the counter

Overrides:
start in class BaseModule

run

public IModuleData run(IModuleData d)
Prints a statement with the FunctionCounter and increments the counter

Overrides:
run in class BaseModule
Parameters:
d - Not used

end

public void end()
Prints a statement with the FunctionCounter and increments the counter

Overrides:
end in class BaseModule

SaveSocket

public void SaveSocket(java.net.Socket sock)
Just increments the counter again (does not save sock)

Overrides:
SaveSocket in class BaseModule