#include <vsock_connection.h>
|
| virtual | ~VsockServerConnection () |
| |
| void | ServerShutdown () |
| |
| bool | Connect (unsigned int port, unsigned int cid, std::optional< int > vhost_user_vsock_cid) override |
| |
| virtual | ~VsockConnection () |
| |
| virtual bool | Connect (unsigned int port, unsigned int cid, std::optional< int > vhost_user_vsock_cid)=0 |
| |
| virtual void | Disconnect () |
| |
| std::future< bool > | ConnectAsync (unsigned int port, unsigned int cid, std::optional< int > vhost_user_vsock_cid) |
| |
| void | SetDisconnectCallback (std::function< void()> callback) |
| |
| bool | IsConnected_Unguarded () |
| |
| bool | IsConnected () |
| |
| bool | DataAvailable () |
| |
| int32_t | Read () |
| |
| bool | Read (std::vector< char > &data) |
| |
| std::vector< char > | Read (size_t size) |
| |
| std::future< std::vector< char > > | ReadAsync (size_t size) |
| |
| bool | ReadMessage (std::vector< char > &data) |
| |
| std::vector< char > | ReadMessage () |
| |
| std::future< std::vector< char > > | ReadMessageAsync () |
| |
| Json::Value | ReadJsonMessage () |
| |
| std::future< Json::Value > | ReadJsonMessageAsync () |
| |
| bool | Write (int32_t data) |
| |
| bool | Write (const char *data, unsigned int size) |
| |
| bool | Write (const std::vector< char > &data) |
| |
| bool | WriteMessage (const std::string &data) |
| |
| bool | WriteMessage (const std::vector< char > &data) |
| |
| bool | WriteMessage (const Json::Value &data) |
| |
| bool | WriteStrides (const char *data, unsigned int size, unsigned int num_strides, int stride_size) |
| |
◆ ~VsockServerConnection()
| cuttlefish::VsockServerConnection::~VsockServerConnection |
( |
| ) |
|
|
virtual |
◆ Connect()
| bool cuttlefish::VsockServerConnection::Connect |
( |
unsigned int |
port, |
|
|
unsigned int |
cid, |
|
|
std::optional< int > |
vhost_user_vsock_cid |
|
) |
| |
|
overridevirtual |
◆ ServerShutdown()
| void cuttlefish::VsockServerConnection::ServerShutdown |
( |
| ) |
|
◆ server_fd_
| SharedFD cuttlefish::VsockServerConnection::server_fd_ |
|
private |
The documentation for this class was generated from the following files: