Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippSpyClient Class Reference

Inheritance diagram for ippSpyClient:

ippEngine ippObject List of all members.

Public Types

enum  STATE { disconnected, trying_to_connect, connected }

Public Member Functions

 ippSpyClient ()
virtual ~ippSpyClient ()
void setParent (ippClientServerSpy *parent)
void Connect (const char *hostname, int port)
void Disconnect ()
void SendCommand (const char *command)
STATE getStatus () const
virtual void HeartBeat ()

Protected Member Functions

virtual void ProcessLine (const char *inputline)
virtual void ProcessMisformedLine (const char *inputline)

Member Enumeration Documentation

enum ippSpyClient::STATE
 

Enumeration values:
disconnected 
trying_to_connect 
connected 

Definition at line 47 of file ippClientServerSpy.h.


Constructor & Destructor Documentation

ippSpyClient::ippSpyClient  ) 
 

Definition at line 7 of file ippSpyClient.cpp.

ippSpyClient::~ippSpyClient  )  [virtual]
 

Definition at line 13 of file ippSpyClient.cpp.


Member Function Documentation

void ippSpyClient::Connect const char *  hostname,
int  port
 

Definition at line 23 of file ippSpyClient.cpp.

References ippSocket::Close(), ippSocket::Connect(), connected, ippSocket::Create(), disconnected, IPP_ASSERT, and trying_to_connect.

Referenced by ippClientServerSpy::Start().

void ippSpyClient::Disconnect  ) 
 

Definition at line 117 of file ippSpyClient.cpp.

References ippSocket::Close(), disconnected, ippEngine::LogMessage(), and ippEngine::ProbeConnection().

Referenced by HeartBeat(), and ippClientServerSpy::Stop().

STATE ippSpyClient::getStatus  )  const
 

Definition at line 64 of file ippClientServerSpy.h.

void ippSpyClient::HeartBeat  )  [virtual]
 

Implements ippEngine.

Definition at line 65 of file ippSpyClient.cpp.

References ippSocket::CanSendData(), ippSocket::Close(), connected, Disconnect(), disconnected, ippSleep(), ippEngine::PerformRead(), and trying_to_connect.

Referenced by ippClientServerSpy::HeartBeat().

void ippSpyClient::ProcessLine const char *  inputline  )  [protected, virtual]
 

Implements ippEngine.

Definition at line 57 of file ippSpyClient.cpp.

References ippClientServerSpy::SendResponseLine().

void ippSpyClient::ProcessMisformedLine const char *  inputline  )  [protected, virtual]
 

Implements ippEngine.

Definition at line 61 of file ippSpyClient.cpp.

References ippClientServerSpy::SendResponseLine().

void ippSpyClient::SendCommand const char *  command  ) 
 

Definition at line 93 of file ippSpyClient.cpp.

References ippEngine::LogMessage(), and ippSocket::Write().

Referenced by ippClientServerSpy::SendCommandLine().

void ippSpyClient::setParent ippClientServerSpy parent  ) 
 

Definition at line 18 of file ippSpyClient.cpp.

Referenced by ippClientServerSpy::ippClientServerSpy().


The documentation for this class was generated from the following files:
Generated on Wed Nov 8 00:21:07 2006 for IPPDME by  doxygen 1.4.1