C# 클래스 SnmpSharpNet.V2Error

Base class for SNMP version 2 error types.
For details see NoSuchInstance, NoSuchObject and EndOfMibView.
상속: AsnType, ICloneable
파일 보기 프로젝트 열기: griffina/SnmpSharpNet 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : Object

Returns a duplicate of the object.

V2Error ( ) : System

Constructor

V2Error ( V2Error second ) : System

Constructor.

Since this class doesn't hold any meaningful information, constructor does nothing with the argument.

decode ( byte buffer, int offset ) : int

Decode BER encoded SNMP version 2 error.

encode ( MutableByte buffer ) : void

BER encode SNMP version 2 error.

메소드 상세

Clone() 공개 메소드

Returns a duplicate of the object.
public Clone ( ) : Object
리턴 Object

V2Error() 공개 메소드

Constructor
public V2Error ( ) : System
리턴 System

V2Error() 공개 메소드

Constructor.
Since this class doesn't hold any meaningful information, constructor does nothing with the argument.
public V2Error ( V2Error second ) : System
second V2Error Second object
리턴 System

decode() 공개 메소드

Decode BER encoded SNMP version 2 error.
public decode ( byte buffer, int offset ) : int
buffer byte BER encoded buffer
offset int Offset within the buffer to start decoding the value from. This argument will /// receive the new offset to the byte immediately following the decoded value.
리턴 int

encode() 공개 메소드

BER encode SNMP version 2 error.
public encode ( MutableByte buffer ) : void
buffer MutableByte Buffer to append encoded value to the end of
리턴 void