MetaSoul

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
emoshapeio::packet_manager Class Reference

`#include <sio_packet.h>`

## Public Types
typedef function< void(bool, shared_ptr< const string > const &) | encode_callback_function)
typedef function< void(packet const &) | decode_callback_function)

## Public Member Functions
void | set_decode_callback (decode_callback_function const &decode_callback)
void | set_encode_callback (encode_callback_function const &encode_callback)
void | encode (packet &pack, encode_callback_function const &override_encode_callback=encode_callback_function()) const
void | put_payload (string const &payload)
void | reset ()

## Member Typedef Documentation

## ◆ decode_callback_function

typedef function<void(packet const&) emoshapeio::packet_manager::decode_callback_function)

## ◆ encode_callback_function

typedef function<void(bool, shared_ptr<const string> const&) emoshapeio::packet_manager::encode_callback_function)

## Member Function Documentation

## ◆ encode()

void emoshapeio::packet_manager::encode | ( | packet & | pack,
|  | encode_callback_function const & | override_encode_callback = encode_callback_function() ) const

## ◆ put_payload()

void emoshapeio::packet_manager::put_payload | ( | string const & | payload | ) |

## ◆ reset()

void emoshapeio::packet_manager::reset | ( |  | ) |

## ◆ set_decode_callback()

void emoshapeio::packet_manager::set_decode_callback | ( | decode_callback_function const & | decode_callback | ) |

## ◆ set_encode_callback()

void emoshapeio::packet_manager::set_encode_callback | ( | encode_callback_function const & | encode_callback | ) |

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

- EmoShapeIOLib/Private/internal/sio_packet.h
- EmoShapeIOLib/Private/internal/sio_packet.cpp