nl.tbdev.IR
Class LmpFrame

java.lang.Object
  |
  +--nl.tbdev.IR.LmpFrame
Direct Known Subclasses:
LmpControlFrame

class LmpFrame
extends java.lang.Object

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


Field Summary
(package private)  byte[] frame
           
static byte LMPACCESSMODE
           
static byte LMPCONNECT
           
static byte LMPDISCONNECT
           
 
Constructor Summary
LmpFrame(byte[] iframe)
           
LmpFrame(int size)
           
 
Method Summary
 byte[] getControlData()
           
 byte[] getData()
           
 byte getDlsap()
           
 byte[] getFrame()
           
 byte getOpcode()
           
 byte getParameter(int nr)
           
 byte getSlsap()
           
 boolean isABit()
           
 boolean isControl()
           
 void putData(byte[] data)
           
 void setABit()
           
 void setControl()
           
 void setDlsap(byte lsap)
           
 void setOpcode(byte opcode)
           
 void setParameter(int nr, int value)
           
 void setSlsap(byte lsap)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

frame

byte[] frame

LMPCONNECT

public static final byte LMPCONNECT

LMPDISCONNECT

public static final byte LMPDISCONNECT

LMPACCESSMODE

public static final byte LMPACCESSMODE
Constructor Detail

LmpFrame

public LmpFrame(byte[] iframe)

LmpFrame

public LmpFrame(int size)
Method Detail

isControl

public boolean isControl()

setControl

public void setControl()

isABit

public boolean isABit()

setABit

public void setABit()

getDlsap

public byte getDlsap()

setDlsap

public void setDlsap(byte lsap)

getSlsap

public byte getSlsap()

setSlsap

public void setSlsap(byte lsap)

getOpcode

public byte getOpcode()

setOpcode

public void setOpcode(byte opcode)

getParameter

public byte getParameter(int nr)

setParameter

public void setParameter(int nr,
                         int value)

getFrame

public byte[] getFrame()

getData

public byte[] getData()

putData

public void putData(byte[] data)

getControlData

public byte[] getControlData()