Phoenix2D-Library
0.10
|
#include <Connect.h>
Public Member Functions | |
Connect (const char *host, int port) | |
~Connect () | |
void | disconnect () |
bool | sendMessage (std::string msg) |
std::string | receiveMessage () |
Phoenix::Connect::Connect | ( | const char * | host, |
int | port | ||
) |
Definition at line 73 of file Connect.cpp.
References Phoenix::connectToServer().
Phoenix::Connect::~Connect | ( | ) |
Definition at line 77 of file Connect.cpp.
References Phoenix::Config::VERBOSE.
void Phoenix::Connect::disconnect | ( | ) |
Definition at line 81 of file Connect.cpp.
References Phoenix::sock, and Phoenix::Socket::socketfd.
Referenced by Phoenix::Reader::stop().
std::string Phoenix::Connect::receiveMessage | ( | ) |
Definition at line 95 of file Connect.cpp.
References Phoenix::Socket::server, Phoenix::sock, and Phoenix::Socket::socketfd.
Referenced by Phoenix::Controller::connect(), and Phoenix::Reader::execute().
bool Phoenix::Connect::sendMessage | ( | std::string | msg | ) |
Definition at line 86 of file Connect.cpp.
References Phoenix::Socket::server, Phoenix::sock, and Phoenix::Socket::socketfd.
Referenced by Phoenix::Controller::connect(), Phoenix::Commands::sendCommands(), and Phoenix::Reader::stop().