Class cryptix.pgp.PacketHeader
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.PacketHeader

java.lang.Object
   |
   +----cryptix.util.Streamable
           |
           +----cryptix.pgp.PacketHeader

public final class PacketHeader
extends Streamable

Variable Index

 o len
 o lensize
 o type

Constructor Index

 o PacketHeader(DataInput)
 o PacketHeader(int, int)
 o PacketHeader(int, int, int)

Method Index

 o read(DataInput)
This reads the object from the data input stream
 o toString(PacketHeader)
 o write(DataOutput)
This writes the object to the data output stream

Variables

 o type
  public int type
 o len
  public int len
 o lensize
  public int lensize

Constructors

 o PacketHeader
  public PacketHeader(int type_,
                      int len_)
 o PacketHeader
  public PacketHeader(int type_,
                      int len_,
                      int lensize_)
 o PacketHeader
  public PacketHeader(DataInput in) throws IOException

Methods

 o read
  public void read(DataInput in) throws IOException
This reads the object from the data input stream
Overrides:
read in class Streamable
 o write
  public void write(DataOutput out) throws IOException
This writes the object to the data output stream
Overrides:
write in class Streamable
 o toString
  public final static String toString(PacketHeader hdr)

All Packages  Class Hierarchy  This Package  Previous  Next  Index