org.openarchitectureware.debug.communication.packets
Class RegisterPacket

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

public class RegisterPacket
extends AbstractPacket

The packet to communicate handlers or adapter class names to be registered in the runtime process.

Author:
Clemens Kadura (zAJKa)

Field Summary
static int ADAPTERS
           
 java.util.List<java.lang.String> classNames
           
static int HANDLERS
           
 int type
           
 
Fields inherited from class org.openarchitectureware.debug.communication.packets.AbstractPacket
id, refId
 
Constructor Summary
RegisterPacket()
           
 
Method Summary
 void readContent(java.io.DataInputStream in)
          fill the packet fields from the DataInputStream.
 java.lang.String toString()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HANDLERS

public static final int HANDLERS
See Also:
Constant Field Values

ADAPTERS

public static final int ADAPTERS
See Also:
Constant Field Values

type

public int type

classNames

public java.util.List<java.lang.String> classNames
Constructor Detail

RegisterPacket

public RegisterPacket()
Method Detail

readContent

public void readContent(java.io.DataInputStream in)
                 throws java.io.IOException
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
Throws:
java.io.IOException

writeContent

public void writeContent(java.io.DataOutputStream out)
                  throws java.io.IOException
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
Throws:
java.io.IOException

toString

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