|
|||||||||
| 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 ADUStreampublic ADUData readNext()
readNext in class ADUStreampublic void writeADU(ADUData pAdu)
writeADU in class ADUStreampublic java.util.Vector getADUs()
getADUs in class ADUStreampublic void stopReading()
stopReading in class ADUStreampublic void resumeReading()
resumeReading in class ADUStreampublic void run()
run in class ADUStreampublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||