HatchKeeper  0.90
The Free Open-Source Egg Incubation Software
HatchClient Class Reference

A localhost Client Used For Single Instance. More...

Inheritance diagram for HatchClient:

Public Member Functions

 HatchClient ()
 Constructor. More...
 
bool Connect (const wxString &sHost, const wxString &sService, const wxString &sTopic)
 Atempts To Connect To Server Of Previous Instance. More...
 
void Disconnect ()
 Disconnect From Server. More...
 
wxConnectionBase * OnMakeConnection () wxOVERRIDE
 Returns The Connection If Server Connected. More...
 
bool IsConnected ()
 
HatchConnectionGetConnection ()
 

Protected Attributes

HatchConnectionh_connection
 

Detailed Description

A localhost Client Used For Single Instance.

See also
HatchConnection, HatchServer

Definition at line 111 of file ServerClient.cpp.

Constructor & Destructor Documentation

◆ HatchClient()

HatchClient::HatchClient ( )

Constructor.

Definition at line 126 of file ServerClient.cpp.

Member Function Documentation

◆ Connect()

bool HatchClient::Connect ( const wxString &  sHost,
const wxString &  sService,
const wxString &  sTopic 
)

Atempts To Connect To Server Of Previous Instance.

Definition at line 129 of file ServerClient.cpp.

◆ Disconnect()

void HatchClient::Disconnect ( )

Disconnect From Server.

Definition at line 145 of file ServerClient.cpp.

◆ GetConnection()

HatchConnection* HatchClient::GetConnection ( )
inline

Definition at line 119 of file ServerClient.cpp.

◆ IsConnected()

bool HatchClient::IsConnected ( )
inline

Definition at line 118 of file ServerClient.cpp.

◆ OnMakeConnection()

wxConnectionBase * HatchClient::OnMakeConnection ( )

Returns The Connection If Server Connected.

Definition at line 139 of file ServerClient.cpp.

Member Data Documentation

◆ h_connection

HatchConnection* HatchClient::h_connection
protected

Definition at line 122 of file ServerClient.cpp.


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