Class TSNMPSend

DescriptionHierarchyFieldsMethodsProperties

Unit

snmpsend

Declaration

type TSNMPSend = class(TSynaClient)

Description

Implementation of SNMP protocol.

Note: Are you missing properties for specify server address and port? Look to parent TSynaClient too!

Hierarchy

TSNMPSend > TSynaClient > TObject

Methods

Overview

Public constructor Create;
Public destructor Destroy; override;
Public function DoIt: Boolean;
Public function RecvTrap: Boolean;
Public function SendRequest: Boolean;
Public function SendTrap: Boolean;

Description

Public constructor Create;

 

Public destructor Destroy; override;

 

Public function DoIt: Boolean;

Mapped to SendRequest internally. This function is only for backward compatibility.

Public function RecvTrap: Boolean;

Receive SNMP packet only. Good for receiving traps.

Public function SendRequest: Boolean;

Connects to a Host and send there query. If in timeout SNMP server send back query, result is True. If is used SNMPv3, then it synchronize self with SNMPv3 agent first. (It is needed for SNMPv3 auhorization!)

Public function SendTrap: Boolean;

Send SNMP packet only, but not waits for reply. Good for sending traps.

Properties

Overview

Published property Buffer: AnsiString;
Published property HostIP: AnsiString;
Published property Query: TSNMPRec;
Published property Reply: TSNMPRec;
Published property Sock: TUDPBlockSocket;

Description

Published property Buffer: AnsiString;

contains raw binary form of SNMP packet. Good for debugging.

Published property HostIP: AnsiString;

After SNMP operation hold IP address of remote side.

Published property Query: TSNMPRec;

Data object contains SNMP query.

Published property Reply: TSNMPRec;

Data object contains SNMP reply.

Published property Sock: TUDPBlockSocket;

Socket object used for TCP/IP operation. Good for seting OnStatus hook, etc.


Generated by PasDoc 0.8.8.2 on 2005-01-19 20:01:19