A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::wasm::HostBinaryChannel Class Referencefinal

#include <cpp/a11/wasm/host_binary_channel.h>

Inheritance diagram for a11::wasm::HostBinaryChannel:
[legend]

Public Member Functions

 HostBinaryChannel (std::string id)
 
absl::Status SetCallbacks (net::internal::BinaryChannelCallbacks callbacks) override
 
absl::Status ResetCallbacks () override
 
absl::Status Open () override
 
absl::Status Send (std::string bytes) override
 
absl::StatusOr< size_t > BufferedAmount () const override
 
absl::StatusOr< bool > IsOpen () const override
 
absl::Status Close () override
 
absl::Status Abort (absl::Status status) override
 
void *absl_nullable GetImpl () const override
 
absl::Status Emit (std::string_view kind, const nlohmann::json &payload)
 

Constructor & Destructor Documentation

◆ HostBinaryChannel()

a11::wasm::HostBinaryChannel::HostBinaryChannel ( std::string  id)
inlineexplicit

Member Function Documentation

◆ Abort()

absl::Status a11::wasm::HostBinaryChannel::Abort ( absl::Status  status)
override

◆ BufferedAmount()

absl::StatusOr< size_t > a11::wasm::HostBinaryChannel::BufferedAmount ( ) const
override

◆ Close()

absl::Status a11::wasm::HostBinaryChannel::Close ( )
override

◆ Emit()

absl::Status a11::wasm::HostBinaryChannel::Emit ( std::string_view  kind,
const nlohmann::json &  payload 
)

◆ GetImpl()

void *absl_nullable a11::wasm::HostBinaryChannel::GetImpl ( ) const
inlineoverride

◆ IsOpen()

absl::StatusOr< bool > a11::wasm::HostBinaryChannel::IsOpen ( ) const
override

◆ Open()

absl::Status a11::wasm::HostBinaryChannel::Open ( )
override

◆ ResetCallbacks()

absl::Status a11::wasm::HostBinaryChannel::ResetCallbacks ( )
override

◆ Send()

absl::Status a11::wasm::HostBinaryChannel::Send ( std::string  bytes)
override

◆ SetCallbacks()

absl::Status a11::wasm::HostBinaryChannel::SetCallbacks ( net::internal::BinaryChannelCallbacks  callbacks)
override

The documentation for this class was generated from the following files: