#include <server_protocolhandler.h>
|
| | Server_ProtocolHandler (Server *_server, Server_DatabaseInterface *_databaseInterface, QObject *parent=0) |
| | ~Server_ProtocolHandler () |
| bool | getAcceptsUserListChanges () const |
| bool | getAcceptsRoomListChanges () const |
| virtual QString | getAddress () const =0 |
| virtual QString | getConnectionType () const =0 |
| Server_DatabaseInterface * | getDatabaseInterface () const |
| int | getLastCommandTime () const |
| bool | addSaidMessageSize (int size) |
| void | processCommandContainer (const CommandContainer &cont) |
| void | sendProtocolItem (const Response &item) |
| void | sendProtocolItem (const SessionEvent &item) |
| void | sendProtocolItem (const GameEventContainer &item) |
| void | sendProtocolItem (const RoomEvent &item) |
| | Server_AbstractUserInterface (Server *_server) |
| | Server_AbstractUserInterface (Server *_server, const ServerInfo_User_Container &other) |
| | ~Server_AbstractUserInterface () override |
| void | playerRemovedFromGame (Server_Game *game) |
| void | playerAddedToGame (int gameId, int roomId, int playerId) |
| void | joinPersistentGames (ResponseContainer &rc) |
| virtual void | onLogin (ResponseContainer &rc) |
| QMap< int, QPair< int, int > > | getGames () const |
| void | sendProtocolItemByType (ServerMessage::MessageType type, const ::google::protobuf::Message &item) |
| void | sendResponseContainer (const ResponseContainer &responseContainer, Response::ResponseCode responseCode) |
| | ServerInfo_User_Container (ServerInfo_User *_userInfo=nullptr) |
| | ServerInfo_User_Container (const ServerInfo_User &_userInfo) |
| | ServerInfo_User_Container (const ServerInfo_User_Container &other) |
| ServerInfo_User_Container & | operator= (const ServerInfo_User_Container &other)=default |
| virtual | ~ServerInfo_User_Container () |
| ServerInfo_User * | getUserInfo () const |
| void | setUserInfo (const ServerInfo_User &_userInfo) |
| ServerInfo_User & | copyUserInfo (ServerInfo_User &result, bool complete, bool internalInfo=false, bool sessionInfo=false) const |
| ServerInfo_User | copyUserInfo (bool complete, bool internalInfo=false, bool sessionInfo=false) const |
|
| virtual void | transmitProtocolItem (const ServerMessage &item)=0 |
| Response::ResponseCode | cmdPing (const Command_Ping &cmd, ResponseContainer &rc) |
| Response::ResponseCode | cmdLogin (const Command_Login &cmd, ResponseContainer &rc) |
| Response::ResponseCode | cmdMessage (const Command_Message &cmd, ResponseContainer &rc) |
| Response::ResponseCode | cmdGetGamesOfUser (const Command_GetGamesOfUser &cmd, ResponseContainer &rc) |
| Response::ResponseCode | cmdGetUserInfo (const Command_GetUserInfo &cmd, ResponseContainer &rc) |
| Response::ResponseCode | cmdListRooms (const Command_ListRooms &cmd, ResponseContainer &rc) |
| Response::ResponseCode | cmdJoinRoom (const Command_JoinRoom &cmd, ResponseContainer &rc) |
| Response::ResponseCode | cmdListUsers (const Command_ListUsers &cmd, ResponseContainer &rc) |
| Response::ResponseCode | cmdLeaveRoom (const Command_LeaveRoom &cmd, Server_Room *room, ResponseContainer &rc) |
| Response::ResponseCode | cmdRoomSay (const Command_RoomSay &cmd, Server_Room *room, ResponseContainer &rc) |
| Response::ResponseCode | cmdCreateGame (const Command_CreateGame &cmd, Server_Room *room, ResponseContainer &rc) |
| Response::ResponseCode | cmdJoinGame (const Command_JoinGame &cmd, Server_Room *room, ResponseContainer &rc) |
| Response::ResponseCode | processSessionCommandContainer (const CommandContainer &cont, ResponseContainer &rc) |
| virtual Response::ResponseCode | processExtendedSessionCommand (int, const SessionCommand &, ResponseContainer &) |
| Response::ResponseCode | processRoomCommandContainer (const CommandContainer &cont, ResponseContainer &rc) |
| Response::ResponseCode | processGameCommandContainer (const CommandContainer &cont, ResponseContainer &rc) |
| Response::ResponseCode | processModeratorCommandContainer (const CommandContainer &cont, ResponseContainer &rc) |
| virtual Response::ResponseCode | processExtendedModeratorCommand (int, const ModeratorCommand &, ResponseContainer &) |
| Response::ResponseCode | processAdminCommandContainer (const CommandContainer &cont, ResponseContainer &rc) |
| virtual Response::ResponseCode | processExtendedAdminCommand (int, const AdminCommand &, ResponseContainer &) |
| void | resetIdleTimer () |
◆ Server_ProtocolHandler()
◆ ~Server_ProtocolHandler()
| Server_ProtocolHandler::~Server_ProtocolHandler |
( |
| ) |
|
◆ addSaidMessageSize()
| bool Server_ProtocolHandler::addSaidMessageSize |
( |
int | size | ) |
|
|
virtual |
◆ cmdCreateGame()
◆ cmdGetGamesOfUser()
◆ cmdGetUserInfo()
◆ cmdJoinGame()
◆ cmdJoinRoom()
◆ cmdLeaveRoom()
◆ cmdListRooms()
◆ cmdListUsers()
◆ cmdLogin()
◆ cmdMessage()
◆ cmdPing()
◆ cmdRoomSay()
◆ getAcceptsRoomListChanges()
| bool Server_ProtocolHandler::getAcceptsRoomListChanges |
( |
| ) |
const |
|
inline |
◆ getAcceptsUserListChanges()
| bool Server_ProtocolHandler::getAcceptsUserListChanges |
( |
| ) |
const |
|
inline |
◆ getAddress()
| virtual QString Server_ProtocolHandler::getAddress |
( |
| ) |
const |
|
pure virtual |
◆ getConnectionType()
| virtual QString Server_ProtocolHandler::getConnectionType |
( |
| ) |
const |
|
pure virtual |
◆ getDatabaseInterface()
◆ getLastCommandTime()
| int Server_ProtocolHandler::getLastCommandTime |
( |
| ) |
const |
|
inlinevirtual |
◆ logDebugMessage()
| virtual void Server_ProtocolHandler::logDebugMessage |
( |
const QString & | | ) |
|
|
inlineprotectedvirtual |
◆ pingClockTimeout
| void Server_ProtocolHandler::pingClockTimeout |
( |
| ) |
|
|
privateslot |
◆ prepareDestroy
| void Server_ProtocolHandler::prepareDestroy |
( |
| ) |
|
|
slot |
◆ processAdminCommandContainer()
◆ processCommandContainer()
| void Server_ProtocolHandler::processCommandContainer |
( |
const CommandContainer & | cont | ) |
|
◆ processExtendedAdminCommand()
◆ processExtendedModeratorCommand()
◆ processExtendedSessionCommand()
◆ processGameCommandContainer()
◆ processModeratorCommandContainer()
◆ processRoomCommandContainer()
◆ processSessionCommandContainer()
◆ resetIdleTimer()
| void Server_ProtocolHandler::resetIdleTimer |
( |
| ) |
|
|
private |
◆ sendProtocolItem() [1/4]
◆ sendProtocolItem() [2/4]
| void Server_ProtocolHandler::sendProtocolItem |
( |
const Response & | item | ) |
|
|
virtual |
◆ sendProtocolItem() [3/4]
| void Server_ProtocolHandler::sendProtocolItem |
( |
const RoomEvent & | item | ) |
|
|
virtual |
◆ sendProtocolItem() [4/4]
| void Server_ProtocolHandler::sendProtocolItem |
( |
const SessionEvent & | item | ) |
|
|
virtual |
◆ transmitProtocolItem()
| virtual void Server_ProtocolHandler::transmitProtocolItem |
( |
const ServerMessage & | item | ) |
|
|
privatepure virtual |
◆ acceptsRoomListChanges
| bool Server_ProtocolHandler::acceptsRoomListChanges |
|
protected |
◆ acceptsUserListChanges
| bool Server_ProtocolHandler::acceptsUserListChanges |
|
protected |
◆ authState
◆ commandCountOverTime
| QList<int> Server_ProtocolHandler::commandCountOverTime |
|
private |
◆ databaseInterface
◆ deleted
| bool Server_ProtocolHandler::deleted |
|
protected |
◆ idleClientWarningSent
| bool Server_ProtocolHandler::idleClientWarningSent |
|
protected |
◆ lastActionReceived
| int Server_ProtocolHandler::lastActionReceived |
|
private |
◆ lastDataReceived
| int Server_ProtocolHandler::lastDataReceived |
|
private |
◆ messageCountOverTime
| QList<int> Server_ProtocolHandler::messageCountOverTime |
|
private |
◆ messageSizeOverTime
| QList<int> Server_ProtocolHandler::messageSizeOverTime |
|
private |
◆ rooms
◆ timeRunning
| int Server_ProtocolHandler::timeRunning |
|
private |
◆ usingRealPassword
| bool Server_ProtocolHandler::usingRealPassword |
|
protected |
The documentation for this class was generated from the following files: