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

Class: Net_Monitor_Service

Source Location: /Net_Monitor-0.3.0/Net/Monitor/Service.php

Class Overview


class Net_Monitor_Service


Author(s):

Variables

Methods


Child classes:

Net_Monitor_Service_FTP
class Net_Monitor_Service_FTP
Net_Monitor_Service_SMTP
class Net_Monitor_Service_SMTP
Net_Monitor_Service_HTTP
class Net_Monitor_Service_HTTP
Net_Monitor_Service_DNS
class Net_Monitor_Service_DNS

Inherited Variables

Inherited Methods


Class Details

[line 40]
class Net_Monitor_Service

A generic service monitoring class



[ Top ]


Class Variables

$_client =  null

[line 56]

The client object used for testing
  • Access: protected

Type:   object


[ Top ]

$_last_code =  -1

[line 64]

The last response code received
  • Access: protected

Type:   int


[ Top ]

$_service =  'Generic'

[line 48]

Defines the name of the service
  • Access: protected

Type:   string


[ Top ]



Method Detail

check   [line 76]

mixed check( mixed $server)

function check

Checks the specified server ($server) for availability. Returns false on success, or a notification array ( code, message) on failure.

  • Access: public

Overridden in child classes as:

Net_Monitor_Service_FTP::check()
function check
Net_Monitor_Service_SMTP::check()
function check
Net_Monitor_Service_HTTP::check()
function check
Net_Monitor_Service_DNS::check()
function check

Parameters:

mixed   $server   —  Specified server

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:56:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.