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
DOCUMENT ME.

Copyright © 1995-1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.1.1.1 $


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)
Reads 'this' from the DataInput object.
 o toString(PacketHeader)
 o write(DataOutput)
Writes 'this' to the DataOutput object.

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
Reads 'this' from the DataInput object.

Overrides:
read in class Streamable
 o write
 public void write(DataOutput out) throws IOException
Writes 'this' to the DataOutput object.

Overrides:
write in class Streamable
 o toString
 public static String toString(PacketHeader hdr)

All Packages  Class Hierarchy  This Package  Previous  Next  Index