cryptix.pgp
Class PacketHeader

java.lang.Object
  |
  +--cryptix.util.Streamable
        |
        +--cryptix.pgp.PacketHeader
All Implemented Interfaces:
StreamInterface

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 $

Since:
Cryptix 2.2 or earlier

Field Summary
 int len
           
 int lensize
           
 int type
           
 
Constructor Summary
PacketHeader(java.io.DataInput in)
           
PacketHeader(int type, int len)
           
PacketHeader(int type, int len, int lensize)
           
 
Method Summary
 void read(java.io.DataInput in)
          Reads 'this' from the DataInput object.
static java.lang.String toString(PacketHeader hdr)
           
 void write(java.io.DataOutput out)
          Writes 'this' to the DataOutput object.
 
Methods inherited from class cryptix.util.Streamable
load, save
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public int type

len

public int len

lensize

public int lensize
Constructor Detail

PacketHeader

public PacketHeader(int type,
                    int len)

PacketHeader

public PacketHeader(int type,
                    int len,
                    int lensize)

PacketHeader

public PacketHeader(java.io.DataInput in)
             throws java.io.IOException
Method Detail

read

public void read(java.io.DataInput in)
          throws java.io.IOException
Description copied from interface: StreamInterface
Reads 'this' from the DataInput object.

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Description copied from interface: StreamInterface
Writes 'this' to the DataOutput object.

toString

public static java.lang.String toString(PacketHeader hdr)