MockRPC

Helper struct to simulate RPC connections with an RPCProcessor. Intended for use with tests, not for real-world use.

Members

Functions

expectPacket
void expectPacket(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
readPacket
string readPacket()
Undocumented in source. Be warned that the author may not have intended to support it.
testRPC
void testRPC(void delegate(RPCProcessor rpc) cb)
Undocumented in source. Be warned that the author may not have intended to support it.
writePacket
void writePacket(string s, string epilogue, string prologue)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

shortDelay
enum shortDelay;
Undocumented in source.

Variables

resultPipe
Pipe resultPipe;
Undocumented in source.
rpcPipe
Pipe rpcPipe;
Undocumented in source.

Meta