class

LSP::Wire

Inherits Reference < Object

Constructors

new(in __arg0 : IO, out __arg1 : IO)
Source

Instance methods

error_respond(req : M, &) : M::ErrorResponse forall M
Source
notify(m_class : M.class, &) : M forall M
Source
receive

Wait for the next Message::Any to arrive from the input IO channel. Malformed data on the IO channel is silently ignored. Raises Channel::ClosedError if the end of the IO has been reached.

Source
request(m_class : M.class, &) : M forall M
Source
respond(req : M, &) : M::Response forall M
Source