Public Types | |
enum | STATE { disconnected, trying_to_connect_to_remote_server, listening, connected } |
Public Member Functions | |
ippClientServerSpy () | |
virtual | ~ippClientServerSpy () |
bool | Start (int listening_port, const char *server_ip, int server_port) |
void | HeartBeat () |
void | Stop () |
virtual void | SendCommandLine (const char *inputline, bool bwellFormed) |
virtual void | SendResponseLine (const char *inputline, bool bwellFormed) |
virtual void | OnStatusChanged (STATE) |
ippLogger * | GetLogger () const |
void | setLogger (ippLogger *logger) |
STATE | getStatus () const |
|
Definition at line 85 of file ippClientServerSpy.h. |
|
Definition at line 17 of file ippClientServerSpy.cpp. References ippSpyServer::setParent(), and ippSpyClient::setParent(). |
|
Definition at line 29 of file ippClientServerSpy.cpp. References Stop(). |
|
Definition at line 123 of file ippClientServerSpy.cpp. |
|
Definition at line 99 of file ippClientServerSpy.cpp. Referenced by Start(). |
|
Definition at line 57 of file ippClientServerSpy.cpp. References connected, ippSpyServer::getStatus(), ippSpyClient::HeartBeat(), ippSpyServer::HeartBeat(), listening, OnStatusChanged(), and ippSpyServer::PowerOn(). |
|
Definition at line 101 of file ippClientServerSpy.h. Referenced by HeartBeat(). |
|
Definition at line 102 of file ippClientServerSpy.cpp. References ippSpyClient::SendCommand(), and ippLogger::WriteLineFormat(). Referenced by ippSpyServer::ProcessLine(), and ippSpyServer::ProcessMisformedLine(). |
|
Definition at line 110 of file ippClientServerSpy.cpp. References ippLogger::WriteLineFormat(), and ippSpyServer::WriteToSocket(). Referenced by ippSpyClient::ProcessLine(), and ippSpyClient::ProcessMisformedLine(). |
|
Definition at line 118 of file ippClientServerSpy.cpp. |
|
Definition at line 35 of file ippClientServerSpy.cpp. References ippSpyClient::Connect(), disconnected, getStatus(), HeartBeat(), IPP_ASSERT, Stop(), and trying_to_connect_to_remote_server. Referenced by ippClientServerSpyTestCase::testSpy(), and ippClientServerSpyTestCase::testSpy_with_uncompliant_client1(). |
|
Definition at line 89 of file ippClientServerSpy.cpp. References ippSpyClient::Disconnect(), disconnected, HeartBeat(), IPP_ASSERT, and ippSpyServer::PowerOff(). Referenced by Start(), and ~ippClientServerSpy(). |