Bully Task (12.12.2005)

at.jku.fim.datalinksimulation.layer1.wire.damagedwire
Interface DamagingStrategy

All Known Implementing Classes:
SimpleDamagingStrategy

public interface DamagingStrategy

Title: OSI Simulation Framework

Copyright: (c) 2004-05

Company: FIM@JKU, www.fim.uni-linz.ac.at

Must be implemented by concrete damaging strategies.

Version:
$Id: DamagingStrategy.java,v 1.1 2005/10/27 13:10:07 aputzinger Exp $
Author:
Andreas Putzinger

Method Summary
 RawData damageData(RawData data)
          Implementations of this method change the frame data; Damaged cables and wires are simulated.
 

Method Detail

damageData

RawData damageData(RawData data)
Implementations of this method change the frame data; Damaged cables and wires are simulated.

Parameters:
data - The original frame data
Returns:
Returns possibly modified or corrupted frame data or null, if strategy eats up whole frame

Bully Task (12.12.2005)

Submit a bug

Copyright 2004, 2005 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.