|
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.utils.CRCUtils
public class CRCUtils
Title: OSI Simulation Framework
Copyright: (c) 2004-05
Company: FIM@JKU, www.fim.uni-linz.ac.at
Constructor Summary | |
---|---|
CRCUtils()
|
Method Summary | |
---|---|
static void |
insertCrc(java.util.BitSet frame,
Logger logger)
Calculates the CRC of a frame and insert the CRC into the frame. |
static boolean |
validateCRC(java.util.BitSet frame,
Logger logger)
This methods performs the "sanity-check" of a frame. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CRCUtils()
Method Detail |
---|
public static boolean validateCRC(java.util.BitSet frame, Logger logger)
frame
- Complete EasyL2 frame data; the last 32 Bits (Bits 0-31) represent the CRClogger
- Logger to use
public static void insertCrc(java.util.BitSet frame, Logger logger)
frame
- Complete frame data; the last 32 bits (0-31) are unset and have to be filled with the CRClogger
- Logger to use
|
Bully Task (12.12.2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |