Phoenix2D-Library  0.10
Public Member Functions | List of all members
Phoenix::Connect Class Reference

#include <Connect.h>

Public Member Functions

 Connect (const char *host, int port)
 
 ~Connect ()
 
void disconnect ()
 
bool sendMessage (std::string msg)
 
std::string receiveMessage ()
 

Detailed Description

Definition at line 34 of file Connect.h.

Constructor & Destructor Documentation

Phoenix::Connect::Connect ( const char *  host,
int  port 
)

Definition at line 73 of file Connect.cpp.

References Phoenix::connectToServer().

Here is the call graph for this function:

Phoenix::Connect::~Connect ( )

Definition at line 77 of file Connect.cpp.

References Phoenix::Config::VERBOSE.

Member Function Documentation

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 ( )
bool Phoenix::Connect::sendMessage ( std::string  msg)

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