SSF.App.DDoS
Class DDoSMonitor
java.lang.Object
|
+--SSF.App.DDoS.DDoSMonitor
- All Implemented Interfaces:
- ProtocolMonitor
- public class DDoSMonitor
- extends java.lang.Object
- implements ProtocolMonitor
Used to monitor the process of DDoS hosts, generating data used in
animation (demo).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STREAM_TYPE
public static final java.lang.String STREAM_TYPE
- See Also:
- Constant Field Values
owner
protected DDoSSessionRand owner
DEBUG
public boolean DEBUG
DDoSMonitor
public DDoSMonitor()
config
public void config(ProtocolSession ownerProtocol,
com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
- configure the Monitor. The supported DML attributes are:
monitor [
use SSF.OS.DDoS.DDoSMonitor
debug %S # print verbose diagnostics, true/false
]
- Specified by:
config in interface ProtocolMonitor
com.renesys.raceway.DML.configException
init
public void init()
- called by SSF.OS.DDoS.DDoSSessionRand.init()
- Specified by:
init in interface ProtocolMonitor
sendRecord
protected void sendRecord(DDoSMessage msg)
recordToString
public static java.lang.String recordToString(byte[] bytes,
int offset)
receive
public void receive(ProtocolMessage msg,
ProtocolSession fromSession,
ProtocolSession toSession)
- Description copied from interface:
ProtocolMonitor
- Peek at every protocol message push()ed into the monitored protocol session.
- Specified by:
receive in interface ProtocolMonitor