jeco.dmm.simulator.headers
Class SizeHeader

java.lang.Object
  extended by jeco.dmm.simulator.headers.AbstractHeader
      extended by jeco.dmm.simulator.headers.SizeHeader

public class SizeHeader
extends AbstractHeader

This class emulates a header with a 'size' field.

Version:
0.1
Author:
José L. Risco-Martín

Field Summary
protected  long dataSize
           
static int MAX_SIZE_IN_BYTES
           
 
Fields inherited from class jeco.dmm.simulator.headers.AbstractHeader
maxSizeInBytes
 
Constructor Summary
SizeHeader()
           
 
Method Summary
 long getDataSize()
           
 void setDataSize(long dataSize)
           
 
Methods inherited from class jeco.dmm.simulator.headers.AbstractHeader
getMaxSizeInBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_SIZE_IN_BYTES

public static final int MAX_SIZE_IN_BYTES
See Also:
Constant Field Values

dataSize

protected long dataSize
Constructor Detail

SizeHeader

public SizeHeader()
Method Detail

getDataSize

public long getDataSize()

setDataSize

public void setDataSize(long dataSize)