Symple module

Client::ClientData

ClientData

#include </home/runner/work/icey/icey/src/symple/src/client/detail.h>

Public Attributes

ReturnNameDescription
Optionsoptions
uv::Loop *loop
http::ClientConnection::Ptrws
Rosterroster
std::stringourID
std::unordered_set< std::string >currentRoomsAuthoritative rooms from welcome / acks.
std::unordered_set< std::string >desiredRoomsRooms the client wants persisted across reconnects.
std::unordered_set< std::string >pendingJoinsJoin requests sent but not yet acknowledged.
std::unordered_set< std::string >pendingLeavesLeave requests sent but not yet acknowledged.
intannounceStatus
TimerreconnectTimer
intreconnectCount
boolwasOnline
boolclosing

options

Options options

loop

uv::Loop * loop

ws

http::ClientConnection::Ptr ws

roster

Roster roster

ourID

std::string ourID

currentRooms

std::unordered_set< std::string > currentRooms

Authoritative rooms from welcome / acks.


desiredRooms

std::unordered_set< std::string > desiredRooms

Rooms the client wants persisted across reconnects.


pendingJoins

std::unordered_set< std::string > pendingJoins

Join requests sent but not yet acknowledged.


pendingLeaves

std::unordered_set< std::string > pendingLeaves

Leave requests sent but not yet acknowledged.


announceStatus

int announceStatus = 0

reconnectTimer

Timer reconnectTimer

reconnectCount

int reconnectCount = 0

wasOnline

bool wasOnline = false

closing

bool closing = false

Public Methods

ReturnNameDescription
ClientData inline explicit

ClientData

inline explicit

inline explicit ClientData(Options opts, uv::Loop * targetLoop)