SNMP目次
SNMP クラスはじめにSNMP セッションを表します。 クラス概要
SNMP
/* 定数 */
public
const
int
SNMP::VERSION_1;
public
const
int
SNMP::VERSION_2c;
public
const
int
SNMP::VERSION_2C;
public
const
int
SNMP::VERSION_3;
public
const
int
SNMP::ERRNO_NOERROR;
public
const
int
SNMP::ERRNO_ANY;
public
const
int
SNMP::ERRNO_GENERIC;
public
const
int
SNMP::ERRNO_TIMEOUT;
public
const
int
SNMP::ERRNO_ERROR_IN_REPLY;
public
const
int
SNMP::ERRNO_OID_NOT_INCREASING;
public
const
int
SNMP::ERRNO_OID_PARSING_ERROR;
public
const
int
SNMP::ERRNO_MULTIPLE_SET_QUERIES;
/* プロパティ */
public
readonly
array
$info;
public
intnull
$max_oids;
public
int
$valueretrieval;
public
bool
$quick_print;
public
bool
$enum_print;
public
int
$oid_output_format;
public
bool
$oid_increasing_check;
public
int
$exceptions_enabled;
/* メソッド */
public __construct(
int $version ,string $hostname ,string $community ,int $timeout = -1,int $retries = -1) public bool close()
public mixed get(arraystring
$objectId , bool $preserveKeys = false )public int getErrno()
public string getError()
public mixed getnext(arraystring
$objectId )public bool set(arraystring
$objectId , arraystring $type , arraystring $value )public bool setSecurity(
string $securityLevel ,string $authProtocol = "",string $authPassphrase = "",string $privacyProtocol = "",string $privacyPassphrase = "",string $contextName = "",string $contextEngineId = "") public arrayfalse walk(
arraystring $objectId ,bool $suffixAsKey = false ,int $maxRepetitions = -1,int $nonRepeaters = -1) プロパティ
定義済み定数SNMP エラー型
SNMP プロトコルバージョン
SNMPException クラスはじめにSNMP で発生するエラーを表します。自分のコードから SNMPException をスローしてはいけません。 PHP における例外処理の詳細な情報は 例外 を参照ください。 クラス概要
SNMPException
extends
RuntimeException
/* 継承したプロパティ */
protected
string
$message = "";
private
string
$string = "";
protected
int
$code;
protected
string
$file = "";
protected
int
$line;
private
array
$trace = [];
private
Throwablenull
$previous = null;
/* 継承したメソッド */
public Exception::__construct(string
$message = "", int $code = 0, Throwablenull $previous = null )final public string Exception::getMessage()
final public Throwablenull Exception::getPrevious()
final public int Exception::getCode()
final public string Exception::getFile()
final public int Exception::getLine()
final public array Exception::getTrace()
final public string Exception::getTraceAsString()
public string Exception::__toString()
private void Exception::__clone()
プロパティ
|