Свойство | Тип | Описание | |
---|---|---|---|
FLAG_AUTH | byte | ||
FLAG_PRIV | byte | ||
FLAG_REPORTABLE | byte |
Свойство | Тип | Описание | |
---|---|---|---|
_authenticationFlag | bool | ||
_privacyFlag | bool | ||
_reportableFlag | bool |
Метод | Описание | |
---|---|---|
Clone ( ) : object |
Clone this class.
|
|
MsgFlags ( ) : System |
Standard constructor. All flags are set to false by default.
|
|
MsgFlags ( bool authentication, bool privacy, bool reportable ) : System |
Constructor. Initialize individual flag values.
|
|
ToString ( ) : string |
Return string representation of the object.
|
|
decode ( byte buffer, int offset ) : int |
Decode message flags from the BER encoded buffer starting at specified offset.
|
|
encode ( MutableByte buffer ) : void |
Encode SNMP v3 message flag field
|
public MsgFlags ( bool authentication, bool privacy, bool reportable ) : System | ||
authentication | bool | true if authentication is used, otherwise false |
privacy | bool | true if privacy protection is used, otherwise false |
reportable | bool | true if report is expected, otherwise false |
Результат | System |
public decode ( byte buffer, int offset ) : int | ||
buffer | byte | BER encoded buffer |
offset | int | Offset within the buffer to start decoding process |
Результат | int |
public encode ( MutableByte buffer ) : void | ||
buffer | MutableByte | Buffer to append encoded value to |
Результат | void |