Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <CallbackSslContext.h>
Classes | |
class | cDataCallbacks |
Interface used as a data sink for the SSL peer data. More... | |
Public Member Functions | |
cCallbackSslContext (cDataCallbacks &a_Callbacks) | |
Creates a new SSL context with the specified callbacks. More... | |
cCallbackSslContext (void) | |
Creates a new SSL context with no callbacks assigned. More... | |
Protected Member Functions | |
virtual int | ReceiveEncrypted (unsigned char *a_Buffer, size_t a_NumBytes) override |
virtual int | SendEncrypted (const unsigned char *a_Buffer, size_t a_NumBytes) override |
Protected Attributes | |
cDataCallbacks * | m_Callbacks |
The callbacks to use to send and receive SSL peer data. More... | |
Definition at line 19 of file CallbackSslContext.h.
cCallbackSslContext::cCallbackSslContext | ( | void | ) |
Creates a new SSL context with no callbacks assigned.
Definition at line 13 of file CallbackSslContext.cpp.
cCallbackSslContext::cCallbackSslContext | ( | cCallbackSslContext::cDataCallbacks & | a_Callbacks | ) |
Creates a new SSL context with the specified callbacks.
Definition at line 23 of file CallbackSslContext.cpp.
|
overrideprotectedvirtual |
Definition at line 32 of file CallbackSslContext.cpp.
|
overrideprotectedvirtual |
Definition at line 46 of file CallbackSslContext.cpp.
|
protected |
The callbacks to use to send and receive SSL peer data.
Definition at line 56 of file CallbackSslContext.h.