nl.tbdev.IR
Class LapFrame

java.lang.Object
  |
  +--nl.tbdev.IR.LapFrame
Direct Known Subclasses:
LapDiscFrame, LapIFrame, LapRdFrame, LapSFrame, LapSnrmFrame, LapUaFrame, LapXIDFrame

class LapFrame
extends java.lang.Object

Basic IR frame format definition. For IR internal use only.


Field Summary
static byte DISCc
           
static byte DMr
           
(package private)  byte[] frame
           
static byte FRMRr
           
static byte RDr
           
static byte REJ
           
static byte RNR
           
static byte RNRMr
           
static byte RR
           
static byte SNRMc
           
static byte SREJ
           
static byte TEST
           
static byte UAr
           
static byte UIDc
           
static byte UIr
           
static byte XIDc
           
static byte XIDr
           
 
Constructor Summary
LapFrame(byte[] iframe)
           
LapFrame(int size)
           
 
Method Summary
 byte getAddress()
           
 byte[] getFrame()
           
 int getMaxSlot()
           
 int getSlot()
           
 boolean isAddressConflict()
           
 boolean isControl()
           
 boolean isEndDiscovery()
           
 boolean isFinal()
           
 boolean isInformation()
           
 boolean isPoll()
           
 boolean isResponse()
           
 boolean isSupervisory()
           
 boolean isUnnumbered()
           
static LapFrame newFrame(byte[] iframe)
           
static LapFrame newFrame(Frame iframe)
           
 void setControl()
           
 void setFinal()
           
 void setPoll()
           
 void setResponse()
           
 byte supervisoryControl()
           
 byte supervisoryResponse()
           
 byte unnumberedControl()
           
 byte unnumberedResponse()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

frame

byte[] frame

SNRMc

public static final byte SNRMc

DISCc

public static final byte DISCc

XIDc

public static final byte XIDc

UIDc

public static final byte UIDc

RNRMr

public static final byte RNRMr

UAr

public static final byte UAr

FRMRr

public static final byte FRMRr

DMr

public static final byte DMr

RDr

public static final byte RDr

UIr

public static final byte UIr

XIDr

public static final byte XIDr

TEST

public static final byte TEST

RR

public static final byte RR

RNR

public static final byte RNR

REJ

public static final byte REJ

SREJ

public static final byte SREJ
Constructor Detail

LapFrame

public LapFrame(byte[] iframe)

LapFrame

public LapFrame(int size)
Method Detail

newFrame

public static LapFrame newFrame(byte[] iframe)

newFrame

public static LapFrame newFrame(Frame iframe)

isUnnumbered

public boolean isUnnumbered()

isSupervisory

public boolean isSupervisory()

isInformation

public boolean isInformation()

isControl

public boolean isControl()

isResponse

public boolean isResponse()

setControl

public void setControl()

setResponse

public void setResponse()

isPoll

public boolean isPoll()

setPoll

public void setPoll()

isFinal

public boolean isFinal()

setFinal

public void setFinal()

unnumberedControl

public byte unnumberedControl()

unnumberedResponse

public byte unnumberedResponse()

getSlot

public int getSlot()

getMaxSlot

public int getMaxSlot()

isAddressConflict

public boolean isAddressConflict()

isEndDiscovery

public boolean isEndDiscovery()

supervisoryControl

public byte supervisoryControl()

supervisoryResponse

public byte supervisoryResponse()

getAddress

public byte getAddress()

getFrame

public byte[] getFrame()