rreval
Class RReader

java.lang.Object
  extended by rreval.RReader

public class RReader
extends java.lang.Object

Reads a message from an R session. The message has a type specified by a MessageType. In response, the reader always sends back an 'ack' string.


Constructor Summary
RReader(ConnectionR con)
           
 
Method Summary
 Message readMessage()
          Reads a message and sends ack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RReader

public RReader(ConnectionR con)
Method Detail

readMessage

public Message readMessage()
                    throws java.lang.Exception
Reads a message and sends ack. Errors result in a null return but no retries.

Returns:
a Message
Throws:
java.lang.Exception