|
A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
|
Abstract identity-bound channel over which signalling flows. More...
#include <cpp/a11/net/signalling.h>
Public Member Functions | |
| virtual | ~SignallingTransport ()=default |
| virtual absl::Status | Send (SignallingMessage message)=0 |
| Sends a signalling message to the peer (non-blocking). | |
| virtual absl::Status | SetOnMessage (OnSignallingMessage on_message)=0 |
| Registers the async callback invoked for each inbound message. | |
| virtual absl::Status | Close ()=0 |
| Closes the transport and releases its resources. | |
| virtual std::string | identity () const =0 |
| virtual bool | connected () const =0 |
| virtual absl::Status | GetStatus () const =0 |
Abstract identity-bound channel over which signalling flows.
The interface a WebRtcWireStream negotiates over; concrete implementations include the in-process SignallingEndpoint and the WebSocket-backed WebSocketSignallingClient.
|
virtualdefault |
|
pure virtual |
Closes the transport and releases its resources.
Implemented in a11::net::SignallingEndpoint, and a11::net::WebSocketSignallingClient.
Implemented in a11::net::SignallingEndpoint, and a11::net::WebSocketSignallingClient.
|
pure virtual |
Implemented in a11::net::SignallingEndpoint, and a11::net::WebSocketSignallingClient.
|
pure virtual |
Implemented in a11::net::SignallingEndpoint, and a11::net::WebSocketSignallingClient.
|
pure virtual |
Sends a signalling message to the peer (non-blocking).
Implemented in a11::net::SignallingEndpoint, and a11::net::WebSocketSignallingClient.
|
pure virtual |
Registers the async callback invoked for each inbound message.
Implemented in a11::net::SignallingEndpoint, and a11::net::WebSocketSignallingClient.