Transmits a request as a sequence of messages, and receives response as a sequence of messages.
A notification that the caller is draining requests.
Send a ping to the other party.
Transmit a one-way message.
Transmits a request as a single message, and receives a single message response.
Transmits a request as a single message, and receives a single message response. If more than a single message is received, an exception is thrown.
A MuxService provides the RPC, message-passing, pinging, and draining facilities for one direction of a mux session. For both connectors and listeners a Session is established by providing a MuxService server implementation for receiving messages. The Session in turn exposes a MuxService client for sending messages.