GXDN: Gurux Developer Network
GXSNMP Class
NamespacesGurux.SNMPGXSNMP
The GXSNMP component determines methods that make the communication possible using SNMP protocol.
Members
All Members Constructors Methods Properties Events



Icon Member Description
GXSNMP()()()
Initializes a new instance of the GXSNMP class

AboutBox()()()
Displays the copyright of the control, user license, and version information, in a dialog box.

CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Close()()()
Closes the active connection.

Connect()()()
Opens the connection.

Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Dispose()()()
Releases all resources used by the Component.
(Inherited from Component.)
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.)
Equals(Object)
Determines whether two objects are equal.
(Overrides Object.Equals(Object).)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
GetAvailableLocaleIdentifiers()()()
Use GetAvailableLocaleIdentifiers method to get supported languages. To use the default language, set value to zero.

GetHashCode()()()
Serves as a hash function for a particular type.
(Overrides Object.GetHashCode()()().)
GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetService(Type)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetSettings()()()
Gets Media settings as a XML string.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HostName
The name or IP address of the host.

InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
IsOpen
Checks if the connection is open.

LocaleIdentifier
The localization identifier, which determines the used language. To use default language, set value to zero.

MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnError
Errors that occur after the connection is established, are sent through this method.

OnMediaStateChange
Media component sends notification, when its state changes.

OnReceived
GXSNMP component sends received data through this method.
Note: Do not modify the received data packet.

Open()()()
If Server property is False, the Open method connects to the selected SNMP server.
If Server property is True, the Open method starts receiving SNMP messages.

PacketsReceived
Amount of received packets.

PacketsSent
Amount of sent packets.

Properties(IWin32Window)
Shows the SNMP properties dialog.

ReceiveTraps
Tells the media, if Trap messages are received.

RequestDelay
Determines for how long (in ms) is waited, after every read, when reading OIDs in walk. Use the delay, when reading slow devices.

RequestID
The request ID of last sent packet.

ResetPacketCounters()()()
Resets PacketsSent and PacketsReceived counters.

Send(GXSNMPPacket, String)
Sends data asynchronously.
No reply from the receiver, whether or not the operation was successful, is expected.

SendSync(GXSNMPPacket, Object, Int32)
Sends data synchronously.
A reply from the receiver, whether the send operation was successful, or if the data needs to be resent, is expected.

Server
Determines, if component is working as a server, or as a client.

SetSettings(String)
Sets Media settings as a XML string.

Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
SNMPPort
The SNMP port number.

SNMPReadCommunity
Retrieves or sets the read community name.

SNMPTrapPort
Retrieves or sets the SNMP Trap port.

SNMPWriteCommunity
Retrieves or sets the Write Community name.

StartReceiveTraps()()()
Starts the receiver server that receives Trap messages.

StartServer()()()
Sets the Server property True, and starts to receive SNMP messages.

ToString()()()
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Version
Retrieves or sets the SNMP version.

Inheritance Hierarchy
See Also

Assembly: Gurux.SNMP (Module: Gurux.SNMP) Version: 5.0.0.1