The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ServerTester Class Reference

#include <ServerTester.h>

List of all members.

Public Member Functions

 ServerTester ()
virtual ~ServerTester ()
void testServers (std::map< AnsiString, ServerInfo > &servers)
void testServer (const AnsiString &remote, ServerInfo &serverInfo)

Public Attributes

__property AnsiString endPoint = {read = _endPoint, write = _endPoint}

Detailed Description

class to wrap up the task of testing servers for a running Winamp server.

Definition at line 37 of file ServerTester.h.


Constructor & Destructor Documentation

ServerTester::ServerTester ( )

constructor

Definition at line 14 of file ServerTester.cpp.

ServerTester::~ServerTester ( )
virtual

destructor

Definition at line 22 of file ServerTester.cpp.


Member Function Documentation

void ServerTester::testServer ( const AnsiString &  remote,
ServerInfo serverInfo 
)

Function to accept a server to be tested for a response

Parameters:
remote- machine name to test
serverInfoserver info to be populated

Definition at line 52 of file ServerTester.cpp.

Referenced by TEST_CASE(), and testServers().

void ServerTester::testServers ( std::map< AnsiString, ServerInfo > &  servers)

Function to accept list of servers to be tested.

Parameters:
serversmap of names -> server info

Definition at line 39 of file ServerTester.cpp.

Referenced by TfrmServers::StartTest().


Member Data Documentation

__property AnsiString ServerTester::endPoint = {read = _endPoint, write = _endPoint}

property for the endpoint to be tested

Definition at line 51 of file ServerTester.h.

Referenced by TfrmServers::StartTest().


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