Server
[ class tree: Server ] [ index: Server ] [ all elements ]

Class: StatServer

Source Location: /inc/StatServer.inc.php

Class Overview


The service class.


Author(s):

Copyright:

  • Copyright (c) 2006 Sven Strittmatter

Methods



Class Details

[line 31]
The service class.



Tags:

copyright:  Copyright (c) 2006 Sven Strittmatter
uses:  cpaint


[ Top ]


Class Methods


constructor __construct [line 60]

StatServer __construct( $checked_services, cpaint $cpaint_server)

The constructor loads the actuaal configuration and cpaint server object from the global registry. And if the sesion is authenticated the user will be loaded by the authenticators username.



Tags:

access:  public


Parameters:

cpaint   $cpaint_server  
array   $checked_services  

[ Top ]

method dispatch [line 73]

void dispatch( )

Start server dispatching.



Tags:

access:  public


[ Top ]

method getServices [line 113]

void getServices( )

Remote callable service method.

Returns a list of the checked services.




Tags:

access:  public


[ Top ]

method getServiceStatus [line 88]

void getServiceStatus( string $service)

Remote callable service method.

service Searches for the given service name in the internal checked services array and trys to open a socket to the configured port.




Tags:

access:  public


Parameters:

string   $service  

[ Top ]


Documentation generated on Mon, 03 Aug 2009 21:33:19 +0200 by phpDocumentor 1.4.2