|
Bully Task (12.12.2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.jku.fim.datalinksimulation.layer1.wire.damagedwire.SimpleDamagingStrategy
public class SimpleDamagingStrategy
Title: OSI Simulation Framework
A very simple implementation of a cable defect; a random bit of a random byte of the frame is inverted.Copyright: (c) 2004-05
Company: FIM@JKU, www.fim.uni-linz.ac.at
Field Summary | |
---|---|
protected Logger |
logger
Logger instance to use |
Constructor Summary | |
---|---|
SimpleDamagingStrategy()
|
Method Summary | |
---|---|
RawData |
damageData(RawData data)
Implementations of this method change the frame data; Damaged cables and wires are simulated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Logger logger
Constructor Detail |
---|
public SimpleDamagingStrategy()
Method Detail |
---|
public RawData damageData(RawData data)
DamagingStrategy
damageData
in interface DamagingStrategy
data
- The original frame data
|
Bully Task (12.12.2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |