Audacity 3.2.0
|
Interface for listening connection status changes. More...
#include <IPCChannel.h>
Public Member Functions | |
virtual | ~IPCChannelStatusCallback () |
virtual void | OnConnectionError () noexcept=0 |
Called when connection attempt fails. More... | |
virtual void | OnConnect (IPCChannel &channel) noexcept=0 |
Called when connection established. More... | |
virtual void | OnDisconnect () noexcept=0 |
Invalidates IPCChannel passed as argument in OnConnect. More... | |
virtual void | OnDataAvailable (const void *data, size_t size) noexcept=0 |
Called when data chunk received as a result of a preceding call to IPCChannel::Send. Generally, data pointer should not be accessed outside this method, copied if necessary. More... | |
Interface for listening connection status changes.
Definition at line 36 of file IPCChannel.h.
|
virtualdefault |
|
pure virtualnoexcept |
Called when connection established.
channel | Using this channel client or server can send data to the other side. |
Implemented in AsyncPluginValidator::Impl, and PluginHost.
Referenced by BufferedIPCChannel::StartConversation().
|
pure virtualnoexcept |
Called when connection attempt fails.
Implemented in AsyncPluginValidator::Impl, and PluginHost.
Referenced by IPCClient::Impl::Impl(), and IPCServer::Impl::Impl().
|
pure virtualnoexcept |
Called when data chunk received as a result of a preceding call to IPCChannel::Send. Generally, data pointer should not be accessed outside this method, copied if necessary.
data | Pointer to the chunk |
size | Size of the chunk |
Implemented in AsyncPluginValidator::Impl, and PluginHost.
Referenced by BufferedIPCChannel::StartConversation().
|
pure virtualnoexcept |
Invalidates IPCChannel passed as argument in OnConnect.
Implemented in AsyncPluginValidator::Impl, and PluginHost.
Referenced by BufferedIPCChannel::StartConversation().