at.jku.fim.datalinksimulation.layer2.filters
Class EasyL2SanityCheckFilter
java.lang.Object
at.jku.fim.datalinksimulation.layer2.filters.EasyL2SanityCheckFilter
- All Implemented Interfaces:
- DecodingNetworkFilter, NetworkFilter
public class EasyL2SanityCheckFilter
- extends java.lang.Object
- implements DecodingNetworkFilter
Title: OSI Simulation Framework
Copyright: (c) 2004-05
Company: FIM@JKU, www.fim.uni-linz.ac.at
- Version:
- $Id: EasyL2SanityCheckFilter.java,v 1.1 2005/10/27 13:10:07 aputzinger Exp $
- Author:
- Andreas Putzinger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EasyL2SanityCheckFilter
public EasyL2SanityCheckFilter()
getFilterOSILayer
public int[] getFilterOSILayer()
- Specified by:
getFilterOSILayer
in interface NetworkFilter
- Returns:
- Returns an array containing all OSI layers a filter supports
decode
public RawData decode(NetworkStackParameters params,
RawData data,
Logger logger)
- Description copied from interface:
DecodingNetworkFilter
- Performs a decoding step within the incoming network stack
- Specified by:
decode
in interface DecodingNetworkFilter
- Parameters:
params
- stack parametersdata
- Data from the layer below (or from previous filter in this layer)logger
- Logger instance
- Returns:
- Returns decoded raw data or null, if data is consumed and not delivered further up
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface DecodingNetworkFilter
- Returns:
- Short description of this filter implementation
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.