Table of Contents

Class SnmpTrap

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an SNMP trap - this is typically a management server to which event information should be sent.

public class SnmpTrap : GlobalSerializableClassicBase, IComparable<SnmpTrap>
Inheritance
SnmpTrap
Implements

Constructors

SnmpTrap()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SnmpTrap class.

public SnmpTrap()

Properties

CommunityName

Gets or sets the community name.

public string CommunityName { get; set; }

Property Value

string

Destinations

Gets or sets the names or IP addresses which should receive traps from this community.

public SerializableStringCollection Destinations { get; set; }

Property Value

SerializableStringCollection

Methods

CompareTo(SnmpTrap)

Compares two CENTREL.XIA.Configuration.SnmpTrap objects to allow sorting alphabetically by community name.

public int CompareTo(SnmpTrap other)

Parameters

other SnmpTrap

The CENTREL.XIA.Configuration.SnmpTrap to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.SnmpTrap objects.

ToString()

Returns the community name of this trap.

public override string ToString()

Returns

string

The community name of this trap.