org.snmp4j.util |
org.snmp4j.transport
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
The org.snmp4j.util contains the following groups of classes:
-
Classes for SNMP table retrieval. The class
TableUtils can be
used to asynchronously retrieve table data effeciently row by row.
-
Classes for support of multi-threaded message dispatching. The class
MultiThreadedMessageDispatcher implements the
MessageDispatcher interface and uses the
MessageDispatcherImpl class to dispatch incoming message using
the threads of a ThreadPool .
The following UML class diagram shows the classes of the
org.snmp4j.util package and their relationships
(relationships to other packages are not shown):
|
Java Source File Name | Type | Comment |
AbstractSnmpUtility.java | Class | The AbstractSnmpUtility is an abstract base class for
convenience utility classes to retrieve SNMP data. |
ArgumentParser.java | Class | The ArgumentParser parsers a command line array into Java
objects and associates each object with the corresponding command line option
according to predefined schemes for options and parameters.
The format specification for options is:
[-<option>\[<type>[\<<regex>\>]{<parameter>[=<default>]}\]] ...
where
- '-' indicates a mandatory option ('+' would indicate an optional
option)
- <option> is the name of the option, for example 'h' for 'help'
- <type> is one of 'i' (integer), 'l' (long), and 's' (string)
<regex> is a regular expression pattern that describes valid
values
<default> is a default value. |
CommonTimer.java | Interface | This CommonTimer defines the subset interface used from
java.util.Timer by SNMP4J. |
DefaultPDUFactory.java | Class | The DefaultPDUFactory is a default implementation of the
PDUFactory interface. |
DefaultThreadFactory.java | Class | |
DefaultTimerFactory.java | Class | This DefaultTimerFactory creates a new Timer
which is configured to run as daemon. |
EnumerationIterator.java | Class | The EnumerationIterator provides an iterator from an
Enumeration . |
MultiThreadedMessageDispatcher.java | Class | The MultiThreadedMessageDispatcher class is a decorator
for any MessageDispatcher instances that processes incoming
message with a supplied ThreadPool . |
PDUFactory.java | Interface | PDUFactory defines the interface for PDU factories. |
RetrievalEvent.java | Class | The RetrievalEvent is an abstract class representing the result
of one or more GET/GETNEXT/GETBULK requests. |
SchedulerTask.java | Interface | The SchedulerTask extends the Runnable interface
by methods that are needed for recurrent execution of a task. |
TableEvent.java | Class | The TableEvent class reports events in a table retrieval
operation. |
TableListener.java | Interface | The TableListener interface is implemented by objects
listening for table events. |
TableUtils.java | Class | The TableUtils class provides utility functions to retrieve
SNMP tabular data. |
TaskScheduler.java | Class | The TaskScheduler uses a ThreadPool to recurrent
execute SchedulerTask s. |
ThreadFactory.java | Interface | The ThreadFactory describes a factory for threads of execution
modeled as WorkerTask s. |
ThreadPool.java | Class | The ThreadPool provides a pool of a fixed number of threads
that are capable to execute tasks that implement the Runnable
interface concurrently. |
TimerFactory.java | Interface | The TimerFactory describes a factory for
CommonTimer instances. |
TreeEvent.java | Class | The TreeEvent class reports events in a tree retrieval
operation. |
TreeListener.java | Interface | The TreeListener interface is implemented by objects
listening for tree events. |
TreeUtils.java | Class | |
WorkerPool.java | Interface | The WorkerPool interface models an abstract pool of workers
(threads) which can execute
WorkerTask s concurrently. |
WorkerTask.java | Interface | This models a WorkerTask instance that would be executed by a
WorkerPool upon submission. |