Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

pbn.cops
Class CopsHeader  view CopsHeader download CopsHeader.java

java.lang.Object
  extended bypbn.cops.CopsHeader

public class CopsHeader
extends java.lang.Object


Field Summary
private  short clienttype
           
private  byte code
           
private  byte flags
           
private  int length
           
private  byte VerFl
           
private  byte VERSION
           
 
Constructor Summary
CopsHeader(byte op, short client)
           
CopsHeader(java.io.DataInputStream in)
           
 
Method Summary
 short ClientType()
           
 void increaseLength(short l)
           
 boolean isSolicited()
           
 int length()
           
 void Print()
           
 void setLength(int length)
           
 void setSolicited()
           
 void transmit(java.io.DataOutputStream out)
           
 byte type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

private final byte VERSION
See Also:
Constant Field Values

flags

private byte flags

VerFl

private byte VerFl

clienttype

private short clienttype

length

private int length

code

private byte code
Constructor Detail

CopsHeader

public CopsHeader(byte op,
                  short client)

CopsHeader

public CopsHeader(java.io.DataInputStream in)
           throws COPSException,
                  java.io.IOException
Method Detail

transmit

public void transmit(java.io.DataOutputStream out)
              throws java.io.IOException

length

public int length()

increaseLength

public void increaseLength(short l)

setLength

public void setLength(int length)

type

public byte type()

ClientType

public short ClientType()

isSolicited

public boolean isSolicited()

Print

public void Print()

setSolicited

public void setSolicited()