org.openarchitectureware.debug.communication.packets
Class HandshakePacket

java.lang.Object
  extended by org.openarchitectureware.debug.communication.packets.AbstractPacket
      extended by org.openarchitectureware.debug.communication.packets.HandshakePacket

public class HandshakePacket
extends AbstractPacket

The packet to communicate a first handshake. There are no data to be communicated.

Author:
Clemens Kadura (zAJKa)

Field Summary
 
Fields inherited from class org.openarchitectureware.debug.communication.packets.AbstractPacket
id, refId
 
Constructor Summary
HandshakePacket()
           
 
Method Summary
 void readContent(java.io.DataInputStream in)
          fill the packet fields from the DataInputStream.
 void writeContent(java.io.DataOutputStream out)
          write the packet fields content to the DataOutputStream.
 
Methods inherited from class org.openarchitectureware.debug.communication.packets.AbstractPacket
getId, setNextId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HandshakePacket

public HandshakePacket()
Method Detail

readContent

public void readContent(java.io.DataInputStream in)
Description copied from class: AbstractPacket
fill the packet fields from the DataInputStream. Implementors have to make sure that the data content matches with the writeContent(out) method!!

Specified by:
readContent in class AbstractPacket
Parameters:
in - the DataInputStream

writeContent

public void writeContent(java.io.DataOutputStream out)
Description copied from class: AbstractPacket
write the packet fields content to the DataOutputStream. Implementors have to make sure that the data content matches with the readContent(out) method!!

Specified by:
writeContent in class AbstractPacket
Parameters:
out - the DataOutputStream