Sim
Class EmptyProtocolFrame

java.lang.Object
  extended by Sim.EmptyProtocolFrame
All Implemented Interfaces:
ProtocolFrame

public class EmptyProtocolFrame
extends java.lang.Object
implements ProtocolFrame

EmptyProtocolFrame is a protocol frame with no content and therefore 0 size.


Constructor Summary
EmptyProtocolFrame()
           
 
Method Summary
 int getSize()
          Returns the "serialized" size of this portion of the packet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyProtocolFrame

public EmptyProtocolFrame()
Method Detail

getSize

public int getSize()
Returns the "serialized" size of this portion of the packet.

Specified by:
getSize in interface ProtocolFrame