diff options
Diffstat (limited to 'src/account-server/accounthandler.h')
-rw-r--r-- | src/account-server/accounthandler.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/account-server/accounthandler.h b/src/account-server/accounthandler.h index f1ffcfe2..c27b00ed 100644 --- a/src/account-server/accounthandler.h +++ b/src/account-server/accounthandler.h @@ -23,6 +23,8 @@ #include <string> +class ConnectionHandler; + namespace AccountClientHandler { /** @@ -37,14 +39,18 @@ namespace AccountClientHandler void deinitialize(); /** + * Returns the connection handler. + */ + ConnectionHandler *getConnectionHandler(); + + /** * Prepares a connection for a client coming from a game server. */ void prepareReconnect(const std::string &token, int accountID); /** - * Processes messages received by the connection handler. */ - void process(); + void handleStellarLogin(const std::string &token, const std::string &pubKey); } #endif // ACCOUNTHANDLER_H |