beautypg.com

Rosnmpagent – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 232

background image

224

roSnmpAgent

When this object is created, it starts an SNMP process that handles some standard SNMP MIBs such as system uptime.
Prior to starting the roSnmpAgent, you can register other OIDs for handling. You can set and retrieve these both by an
SNMP client and by the script.

OID values are retrieved by an SNMP client without script interaction, and setting these values simply generates an event
from roSnmpAgent stating that it has been changed. The script event handler can then retrieve new values and take
appropriate action.

Interfaces:

ifSnmpAgent

,

ifSetMessagePort


The ifSnmpAgent interface provides the following:

AddOidHandler(a As String, b As Boolean, c As Object) As Boolean

GetOidValue(a As String) As Object

SetOidValue(a As String, b As Object) As Boolean

Start() As Boolean


The ifSetMessagePort interface provides the following:

SetPort(a As Object)

Interface ifGetMessagePort:

GetPort() As Object