vibe.rpcchannel.protocol

Low level wire protocol for RPC.

Members

Enums

ErrorType
enum ErrorType

If an error is being send, type of error.

RequestType
enum RequestType

Type of message sent to server.

ResponseType
enum ResponseType

Type of message sent to client.

Functions

deserializeJsonLine
T deserializeJsonLine(InputStream stream)

Read one line from stream and deserialize the json value.

serializeToJsonLine
void serializeToJsonLine(OutputStream stream, T value)

Serialize the json value and write as one line to stream.

skipParameters
void skipParameters(Stream stream, size_t num)

Skip num objects on stream.

Structs

CallMessage
struct CallMessage

Message sent to server to call a function.

ErrorMessage
struct ErrorMessage

Message sent to client as response to a call if an error occured.

EventMessage
struct EventMessage

Message sent to client if an event occurs.

ResultMessage
struct ResultMessage

Message sent to client as response to a call if call was sucessfull.

Meta