eris  1.4.0
A WorldForge client library.
Eris::StreamSocket::Callbacks Struct Reference

Methods that are used as callbacks. More...

#include <StreamSocket.h>

Public Attributes

std::function< void()> dispatch
 Called when operations have arrived and needs dispatching. More...
 
std::function< void(Status)> stateChanged
 Called when the internal state has changed. More...
 

Detailed Description

Methods that are used as callbacks.

Definition at line 76 of file StreamSocket.h.

Member Data Documentation

◆ dispatch

std::function<void()> Eris::StreamSocket::Callbacks::dispatch

Called when operations have arrived and needs dispatching.

Definition at line 81 of file StreamSocket.h.

Referenced by Eris::BaseConnection::connectLocal(), and Eris::BaseConnection::connectRemote().

◆ stateChanged

std::function<void(Status)> Eris::StreamSocket::Callbacks::stateChanged

Called when the internal state has changed.

Definition at line 86 of file StreamSocket.h.

Referenced by Eris::BaseConnection::connectLocal(), Eris::BaseConnection::connectRemote(), and Eris::AsioStreamSocket< ProtocolT >::write().


The documentation for this struct was generated from the following file: