|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.web3d.vrtp.util.ADUStream | +--org.web3d.vrtp.util.ADUStreamByteArray
ADUStreamByteArray
This class reads one or more ADUs from a byte array of data. There may be several ADUs of various types saved in the byte array of input data.
Fields inherited from class org.web3d.vrtp.util.ADUStream |
isReading, protocol |
Constructor Summary | |
ADUStreamByteArray(byte[] pInputBuffer,
ProtocolDescription pProtocol)
|
Method Summary | |
java.util.Vector |
getADUs()
Threaded access. |
boolean |
hasNext()
returns true if there are more ADUs available from the input source |
static void |
main(java.lang.String[] args)
|
ADUData |
readNext()
Returns the next ADUData in the input stream |
void |
resumeReading()
resume reading again |
void |
run()
Runnable interface, for threads |
void |
stopReading()
stop thread reading |
void |
writeADU(ADUData pAdu)
ADU to be written. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ADUStreamByteArray(byte[] pInputBuffer, ProtocolDescription pProtocol)
Method Detail |
public boolean hasNext()
hasNext
in class ADUStream
public ADUData readNext()
readNext
in class ADUStream
public void writeADU(ADUData pAdu)
writeADU
in class ADUStream
public java.util.Vector getADUs()
getADUs
in class ADUStream
public void stopReading()
stopReading
in class ADUStream
public void resumeReading()
resumeReading
in class ADUStream
public void run()
run
in class ADUStream
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |