orc
Class OrcResponse

java.lang.Object
  extended by orc.OrcResponse

public final class OrcResponse
extends java.lang.Object

A response received from the uOrc hardware. Most users won't need to use these directly, as helper classes like Motor handle this automatically.


Field Summary
 java.io.DataInputStream ins
           
 boolean responded
           
 byte[] responseBuffer
           
 int responseBufferLength
           
 int responseBufferOffset
           
 int responseId
           
 int transactionId
           
 long utimeHost
           
 long utimeOrc
           
 
Constructor Summary
OrcResponse()
           
 
Method Summary
 void gotResponse()
           
 void print()
           
 boolean waitForResponse(int timeoutms)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

responded

public boolean responded

transactionId

public int transactionId

utimeOrc

public long utimeOrc

utimeHost

public long utimeHost

responseId

public int responseId

ins

public java.io.DataInputStream ins

responseBuffer

public byte[] responseBuffer

responseBufferOffset

public int responseBufferOffset

responseBufferLength

public int responseBufferLength
Constructor Detail

OrcResponse

public OrcResponse()
Method Detail

gotResponse

public void gotResponse()

waitForResponse

public boolean waitForResponse(int timeoutms)

print

public void print()