|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hp.infrared.UltraPacket
This class implements an ultra packet which is broadcast in a connectionless manner using the ultra protocol.
UltraSocket
Constructor Summary | |
UltraPacket(byte[] ibuf,
int ilength)
Constructs an ultra packet for holding packets of length ilength. |
Method Summary | |
byte[] |
getData()
Returns the data to be sent or that was received. |
int |
getLength()
Returns the length of the data to be sent or that was received. |
void |
setData(byte[] ibuf)
Sets the data |
void |
setLength(int ilength)
Sets the length |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public UltraPacket(byte[] ibuf, int ilength)
ibuf
- the bufferilength
- length of the bufferMethod Detail |
public byte[] getData()
public int getLength()
public void setData(byte[] ibuf)
public void setLength(int ilength)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |