Bully Task (12.12.2005)

at.jku.fim.datalinksimulation.layer2.protocols
Class EasyL2FrameData

java.lang.Object
  extended by at.jku.fim.datalinksimulation.layer2.protocols.EasyL2FrameData

public class EasyL2FrameData
extends java.lang.Object

Title: OSI Simulation Framework

This class is a representation of the data contained in an EasyL2 Frame. Using methods in class EasyL2Utils it can be converted to RawData and back.

Copyright: (c) 2004-05

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

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

Constructor Summary
EasyL2FrameData()
           
 
Method Summary
 int[] getCrc()
           
 int[] getData()
           
 int getDestination()
           
 int getPreamble()
           
 int getSize()
           
 int getSource()
           
 void setCrc(int[] crc)
           
 void setData(int[] data)
           
 void setDestination(int destination)
           
 void setPreamble(int preamble)
           
 void setSize(int size)
           
 void setSource(int source)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EasyL2FrameData

public EasyL2FrameData()
Method Detail

getCrc

public int[] getCrc()
Returns:
Returns the crc.

setCrc

public void setCrc(int[] crc)
Parameters:
crc - The crc to set.

getData

public int[] getData()
Returns:
Returns the data.

setData

public void setData(int[] data)
Parameters:
data - The data to set.

getDestination

public int getDestination()
Returns:
Returns the destination.

setDestination

public void setDestination(int destination)
Parameters:
destination - The destination to set.

getPreamble

public int getPreamble()
Returns:
Returns the preamble.

setPreamble

public void setPreamble(int preamble)
Parameters:
preamble - The preamble to set.

getSize

public int getSize()
Returns:
Returns the size.

setSize

public void setSize(int size)
Parameters:
size - The size to set.

getSource

public int getSource()
Returns:
Returns the source.

setSource

public void setSource(int source)
Parameters:
source - The source to set.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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.