프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |