com.ibm.manplato.Protocol
Class CMP_Packet

java.lang.Object
  |
  +--com.ibm.manplato.Protocol.CMP_Packet
All Implemented Interfaces:
java.io.Serializable

public class CMP_Packet
extends java.lang.Object
implements java.io.Serializable

Version:
$Rev$-$Date: 2001/03/15 16:55:32 $$State: Exp $
Author:
File Created By: Brad BARCLAY <bbarclay@ca.ibm.com>, Last Modified By: $Author: Yaztromo $
See Also:
Serialized Form

Field Summary
 int baudRate
           
static byte CHANGE_BAUD_RATE
           
static byte CMP_ABORT
           
static byte CMP_EXTENDED
           
static byte CMP_INIT
           
static byte CMP_WAKEUP
           
static int DEFAULT_SPEED
           
 byte flags
           
 byte majorVersion
           
 byte minorVersion
           
static byte ONE_MINUTE_TIMEOUT
           
 byte packetType
           
static byte TWO_MINUTE_TIMEOUT
           
static byte VERSION_MISMATCH
           
static byte WAKEUP_TID
           
 
Constructor Summary
(package private) CMP_Packet()
           
(package private) CMP_Packet(byte pktType, byte flgs, byte majorVer, byte minorVer, int baud)
           
 
Method Summary
(package private) static CMP_Packet bytes2Packet(byte[] pkt)
           
(package private)  byte[] packet2Bytes()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHANGE_BAUD_RATE

public static final byte CHANGE_BAUD_RATE

ONE_MINUTE_TIMEOUT

public static final byte ONE_MINUTE_TIMEOUT

TWO_MINUTE_TIMEOUT

public static final byte TWO_MINUTE_TIMEOUT

CMP_WAKEUP

public static final byte CMP_WAKEUP

CMP_INIT

public static final byte CMP_INIT

CMP_ABORT

public static final byte CMP_ABORT

CMP_EXTENDED

public static final byte CMP_EXTENDED

WAKEUP_TID

public static final byte WAKEUP_TID

VERSION_MISMATCH

public static final byte VERSION_MISMATCH

DEFAULT_SPEED

public static final int DEFAULT_SPEED

packetType

public byte packetType

flags

public byte flags

majorVersion

public byte majorVersion

minorVersion

public byte minorVersion

baudRate

public int baudRate
Constructor Detail

CMP_Packet

CMP_Packet()

CMP_Packet

CMP_Packet(byte pktType,
           byte flgs,
           byte majorVer,
           byte minorVer,
           int baud)
Method Detail

bytes2Packet

static CMP_Packet bytes2Packet(byte[] pkt)

packet2Bytes

byte[] packet2Bytes()