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

Class: Net_Monitor_Service_HTTP

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

Class Overview

Net_Monitor_Service
   |
   --Net_Monitor_Service_HTTP

class Net_Monitor_Service_HTTP


Author(s):

Variables

Methods


Child classes:

Net_Monitor_Service_HTTPS
class Net_Monitor_Service_HTTPS

Inherited Variables

Inherited Methods


Class Details

[line 49]
class Net_Monitor_Service_HTTP

A class to check HTTP (web) services



[ Top ]


Class Variables

$_client =  null

[line 65]

The client object used for testing
  • Access: protected

Type:   object
Overrides:   Array


[ Top ]

$_last_code =  -1

[line 73]

The last response code received
  • Access: protected

Type:   int
Overrides:   Array


[ Top ]

$_prefix =  'http://'

[line 79]

  • Var: _prefix
  • Access: protected

Type:   string


[ Top ]

$_service =  'HTTP'

[line 57]

Defines the name of the service
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Method Detail

__construct (Constructor)   [line 86]

Net_Monitor_Service_HTTP __construct( )

function Net_Monitor_Service_HTTP
  • Access: public

Overridden in child classes as:

Net_Monitor_Service_HTTPS::__construct()
function Net_Monitor_Service_HTTPS

[ Top ]

check   [line 101]

mixed check( mixed $host)

function check

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

  • Access: public

Overrides Net_Monitor_Service::check() (function check)

Parameters:

mixed   $host     HTTP server

[ Top ]


Documentation generated on Sun, 30 Mar 2014 14:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.