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

Class: Net_Monitor_Service_DNS

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

Class Overview

Net_Monitor_Service
   |
   --Net_Monitor_Service_DNS

class Net_Monitor_Service_DNS


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 49]
class Net_Monitor_Service_DNS

A class for checking DNS 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 ]

$_service =  'DNS'

[line 57]

Defines the name of the service
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Method Detail

__construct (Constructor)   [line 80]

Net_Monitor_Service_DNS __construct( )

function Net_Monitor_Service_DNS
  • Access: public

[ Top ]

check   [line 95]

mixed check( mixed $host)

function check

Checks the specified DNS 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   —  DNS server

[ Top ]


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