Public Methods | |
SimplIOStream (FCID const &target, bool _u) | |
SimplIOStream () | |
FCID | getOther () const |
virtual int | read () |
virtual void | flush () |
Protected Methods | |
virtual string | referenceTransport () const |
Private Attributes | |
bool | useReply |
FCID | other |
char | msg [MPS_MESSAGE_MAXLEN] |
int | pos |
int | msglen |
|
Construct a SimplIOStream which will communicate with the nominated target, using Reply() or Send() as per the passed-in boolean.
Definition at line 84 of file SimplTransport.cc. |
|
Wait for a message to arrive from some other SIMPL process, and when it does, construct a SimplIOStream around it. Automatically sets useReply to true, given the nature of the task. Definition at line 95 of file SimplTransport.cc. |
|
Sends our outbound message to our interlocutor.
Reimplemented from MPS::OutputStream. Definition at line 118 of file SimplTransport.cc. |
|
Returns the handle on the SIMPL process at the other end of this link.
Definition at line 106 of file SimplTransport.cc. |
|
Reads a byte from the message this SimplIOStream has read from our interlocutor.
Reimplemented from MPS::InputStream. Definition at line 109 of file SimplTransport.cc. |
|
Returns the name of the transport we should look for addresses within when writing out Interface references in writeReference. Override this in subclasses to set the preferred transport-address-type for references we pickle for transmission.
Reimplemented from MPS::OutputStream. Definition at line 74 of file SimplTransport.cc. |
|
Message buffer space. Note yucky fixed size!
Definition at line 69 of file SimplTransport.cc. |
|
Number of valid bytes in msg.
Definition at line 71 of file SimplTransport.cc. |
|
Handle on our SIMPL interlocutor.
Definition at line 68 of file SimplTransport.cc. |
|
Current read-position.
Definition at line 70 of file SimplTransport.cc. |
|
Determines if Reply() or Send() will be used to send.
Definition at line 67 of file SimplTransport.cc. |