Classe TSNMPRec
Unit
Declaração
type TSNMPRec = class(TObject)
Descrição
Data object abstracts SNMP data packet
Hierarquia
- TObject
- TSNMPRec
Visão Geral
Campos
![]() |
FVersion: Integer; |
![]() |
FPDUType: Integer; |
![]() |
FID: Integer; |
![]() |
FErrorStatus: Integer; |
![]() |
FErrorIndex: Integer; |
![]() |
FCommunity: AnsiString; |
![]() |
FSNMPMibList: TSNMPMibList; |
![]() |
FMaxSize: Integer; |
![]() |
FFlags: TV3Flags; |
![]() |
FFlagReportable: Boolean; |
![]() |
FContextEngineID: AnsiString; |
![]() |
FContextName: AnsiString; |
![]() |
FAuthMode: TV3Auth; |
![]() |
FAuthEngineID: AnsiString; |
![]() |
FAuthEngineBoots: integer; |
![]() |
FAuthEngineTime: integer; |
![]() |
FAuthEngineTimeStamp: cardinal; |
![]() |
FUserName: AnsiString; |
![]() |
FPassword: AnsiString; |
![]() |
FAuthKey: AnsiString; |
![]() |
FPrivMode: TV3Priv; |
![]() |
FPrivPassword: AnsiString; |
![]() |
FPrivKey: AnsiString; |
![]() |
FPrivSalt: AnsiString; |
![]() |
FPrivSaltCounter: integer; |
![]() |
FOldTrapEnterprise: AnsiString; |
![]() |
FOldTrapHost: AnsiString; |
![]() |
FOldTrapGen: Integer; |
![]() |
FOldTrapSpec: Integer; |
![]() |
FOldTrapTimeTicks: Integer; |
Métodos
![]() |
function Pass2Key(const Value: AnsiString): AnsiString; |
![]() |
function EncryptPDU(const value: AnsiString): AnsiString; |
![]() |
function DecryptPDU(const value: AnsiString): AnsiString; |
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function DecodeBuf(Buffer: AnsiString): Boolean; |
![]() |
function EncodeBuf: AnsiString; |
![]() |
procedure Clear; |
![]() |
procedure MIBAdd(const MIB, Value: AnsiString; ValueType: Integer); |
![]() |
procedure MIBDelete(Index: Integer); |
![]() |
function MIBGet(const MIB: AnsiString): AnsiString; |
![]() |
function MIBCount: integer; |
![]() |
function MIBByIndex(Index: Integer): TSNMPMib; |
Propriedades
Descrição
Campos
![]() |
FVersion: Integer; |
![]() |
FPDUType: Integer; |
![]() |
FID: Integer; |
![]() |
FErrorStatus: Integer; |
![]() |
FErrorIndex: Integer; |
![]() |
FCommunity: AnsiString; |
![]() |
FSNMPMibList: TSNMPMibList; |
![]() |
FMaxSize: Integer; |
![]() |
FFlags: TV3Flags; |
![]() |
FFlagReportable: Boolean; |
![]() |
FContextEngineID: AnsiString; |
![]() |
FContextName: AnsiString; |
![]() |
FAuthMode: TV3Auth; |
![]() |
FAuthEngineID: AnsiString; |
![]() |
FAuthEngineBoots: integer; |
![]() |
FAuthEngineTime: integer; |
![]() |
FAuthEngineTimeStamp: cardinal; |
![]() |
FUserName: AnsiString; |
![]() |
FPassword: AnsiString; |
![]() |
FAuthKey: AnsiString; |
![]() |
FPrivMode: TV3Priv; |
![]() |
FPrivPassword: AnsiString; |
![]() |
FPrivKey: AnsiString; |
![]() |
FPrivSalt: AnsiString; |
![]() |
FPrivSaltCounter: integer; |
![]() |
FOldTrapEnterprise: AnsiString; |
![]() |
FOldTrapHost: AnsiString; |
![]() |
FOldTrapGen: Integer; |
![]() |
FOldTrapSpec: Integer; |
![]() |
FOldTrapTimeTicks: Integer; |
Métodos
![]() |
function Pass2Key(const Value: AnsiString): AnsiString; |
![]() |
function EncryptPDU(const value: AnsiString): AnsiString; |
![]() |
function DecryptPDU(const value: AnsiString): AnsiString; |
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function DecodeBuf(Buffer: AnsiString): Boolean; |
Decode SNMP packet in buffer to object properties. |
![]() |
function EncodeBuf: AnsiString; |
Encode obeject properties to SNMP packet. |
![]() |
procedure Clear; |
Clears all object properties to default values. |
![]() |
procedure MIBAdd(const MIB, Value: AnsiString; ValueType: Integer); |
Add entry to SNMPMibList. For queries use value as empty string, and ValueType as ASN1_NULL. |
![]() |
procedure MIBDelete(Index: Integer); |
Delete entry from SNMPMibList. |
![]() |
function MIBGet(const MIB: AnsiString): AnsiString; |
Search SNMPMibList list for MIB and return correspond value. |
![]() |
function MIBCount: integer; |
return number of entries in MIB array. |
![]() |
function MIBByIndex(Index: Integer): TSNMPMib; |
Return MIB information from given row of MIB array. |
Propriedades
![]() |
property SNMPMibList: TSNMPMibList read FSNMPMibList; |
List of TSNMPMib objects. |
![]() |
property Version: Integer read FVersion write FVersion; |
|
![]() |
property Community: AnsiString read FCommunity write FCommunity; |
|
![]() |
property PDUType: Integer read FPDUType write FPDUType; |
Define type of SNMP operation. |
![]() |
property ID: Integer read FID write FID; |
Contains |
![]() |
property ErrorStatus: Integer read FErrorStatus write FErrorStatus; |
When packet is reply, contains error code. Supported values are defined by E* constants. |
![]() |
property ErrorIndex: Integer read FErrorIndex write FErrorIndex; |
Point to error position in reply packet. Not usefull for users. It only good for debugging! |
![]() |
property NonRepeaters: Integer read FErrorStatus write FErrorStatus; |
special value for GetBulkRequest of SNMPv2 and v3. |
![]() |
property MaxRepetitions: Integer read FErrorIndex write FErrorIndex; |
special value for GetBulkRequest of SNMPv2 and v3. |
![]() |
property MaxSize: Integer read FMaxSize write FMaxSize; |
Maximum message size in bytes for SNMPv3. For sending is default 1472 bytes. |
![]() |
property Flags: TV3Flags read FFlags write FFlags; |
Specify if message is authorised or encrypted. Used only in SNMPv3. |
![]() |
property FlagReportable: Boolean read FFlagReportable write FFlagReportable; |
For SNMPv3.... If is |
![]() |
property ContextEngineID: AnsiString read FContextEngineID write FContextEngineID; |
For SNMPv3. If not specified, is used value from AuthEngineID |
![]() |
property ContextName: AnsiString read FContextName write FContextName; |
For SNMPv3. |
![]() |
property AuthMode: TV3Auth read FAuthMode write FAuthMode; |
For SNMPv3. Specify Authorization mode. (specify used hash for authorization) |
![]() |
property PrivMode: TV3Priv read FPrivMode write FPrivMode; |
For SNMPv3. Specify Privacy mode. |
![]() |
property AuthEngineID: AnsiString read FAuthEngineID write FAuthEngineID; |
value used by SNMPv3 authorisation for synchronization with SNMP agent. |
![]() |
property AuthEngineBoots: Integer read FAuthEngineBoots write FAuthEngineBoots; |
value used by SNMPv3 authorisation for synchronization with SNMP agent. |
![]() |
property AuthEngineTime: Integer read FAuthEngineTime write FAuthEngineTime; |
value used by SNMPv3 authorisation for synchronization with SNMP agent. |
![]() |
property AuthEngineTimeStamp: Cardinal read FAuthEngineTimeStamp Write FAuthEngineTimeStamp; |
value used by SNMPv3 authorisation for synchronization with SNMP agent. |
![]() |
property UserName: AnsiString read FUserName write FUserName; |
SNMPv3 authorization |
![]() |
property Password: AnsiString read FPassword write FPassword; |
SNMPv3 authorization |
![]() |
property AuthKey: AnsiString read FAuthKey write FAuthKey; |
For SNMPv3. Computed Athorization key from password. |
![]() |
property PrivPassword: AnsiString read FPrivPassword write FPrivPassword; |
SNMPv3 privacy password |
![]() |
property PrivKey: AnsiString read FPrivKey write FPrivKey; |
For SNMPv3. Computed Privacy key from PrivPassword. |
![]() |
property OldTrapEnterprise: AnsiString read FOldTrapEnterprise write FOldTrapEnterprise; |
MIB value to identify the object that sent the TRAPv1. |
![]() |
property OldTrapHost: AnsiString read FOldTrapHost write FOldTrapHost; |
Address of TRAPv1 sender (IP address). |
![]() |
property OldTrapGen: Integer read FOldTrapGen write FOldTrapGen; |
Generic TRAPv1 identification. |
![]() |
property OldTrapSpec: Integer read FOldTrapSpec write FOldTrapSpec; |
Specific TRAPv1 identification. |
![]() |
property OldTrapTimeTicks: Integer read FOldTrapTimeTicks write FOldTrapTimeTicks; |
Number of 1/100th of seconds since last reboot or power up. (for TRAPv1) |
Gerado por PasDoc 0.16.0.