C# 클래스 SnmpSharpNet.SMIDataType

Collection of static helper methods making operations with SMI data types simpler and easier.
파일 보기 프로젝트 열기: griffina/SnmpSharpNet 1 사용 예제들

공개 메소드들

메소드 설명
GetSyntaxObject ( SMIDataTypeCode asnType ) : AsnType

Used to create correct variable type object for the specified encoded type

GetSyntaxObject ( byte asnType ) : AsnType

Get class instance for the SMI value type with the specific TLV encoding type code.

GetSyntaxObject ( string name ) : AsnType

Return SNMP type object of the type specified by name. Supported variable types are: Integer32, Counter32, Gauge32, Counter64, TimeTicks, OctetString, IpAddress, Oid, and Null. Type names are the same as support class names compared without case sensitivity (e.g. Integer == INTEGER).

GetTypeName ( SMIDataTypeCode type ) : string

Return string representation of the SMI value type.

IsValidType ( byte smiType ) : bool

Check if byte code is a valid SMI data type code

비공개 메소드들

메소드 설명
SMIDataType ( ) : System

메소드 상세

GetSyntaxObject() 공개 정적인 메소드

Used to create correct variable type object for the specified encoded type
public static GetSyntaxObject ( SMIDataTypeCode asnType ) : AsnType
asnType SMIDataTypeCode ASN.1 type code
리턴 AsnType

GetSyntaxObject() 공개 정적인 메소드

Get class instance for the SMI value type with the specific TLV encoding type code.
public static GetSyntaxObject ( byte asnType ) : AsnType
asnType byte SMI type code
리턴 AsnType

GetSyntaxObject() 공개 정적인 메소드

Return SNMP type object of the type specified by name. Supported variable types are: Integer32, Counter32, Gauge32, Counter64, TimeTicks, OctetString, IpAddress, Oid, and Null. Type names are the same as support class names compared without case sensitivity (e.g. Integer == INTEGER).
public static GetSyntaxObject ( string name ) : AsnType
name string Name of the object type (not case sensitive)
리턴 AsnType

GetTypeName() 공개 정적인 메소드

Return string representation of the SMI value type.
public static GetTypeName ( SMIDataTypeCode type ) : string
type SMIDataTypeCode AsnType class Type member function value.
리턴 string

IsValidType() 공개 정적인 메소드

Check if byte code is a valid SMI data type code
public static IsValidType ( byte smiType ) : bool
smiType byte SMI data type code to test
리턴 bool