com.sun.management.snmp
Interface SnmpEngineFactory

All Known Implementing Classes:
JdmkEngineFactory

public interface SnmpEngineFactory

This SnmpEngineFactory is instantiating an SnmpEngine containing :

Since:
Java DMK 5.1

Method Summary
 SnmpEngine createEngine(SnmpEngineParameters p)
          The engine instantiation method.
 SnmpEngine createEngine(SnmpEngineParameters p, InetAddressAcl ipacl)
          The engine instantiation method.
 

Method Detail

createEngine

SnmpEngine createEngine(SnmpEngineParameters p)
The engine instantiation method.

Parameters:
p - The parameters used to instantiate a new engine.
Returns:
The newly created SnmpEngine.
Throws:
IllegalArgumentException - Thrown if one of the configuration file file doesn't exist (ACL files, security file).

createEngine

SnmpEngine createEngine(SnmpEngineParameters p,
                        InetAddressAcl ipacl)
The engine instantiation method.

Parameters:
p - The parameters used to instantiate a new engine.
ipacl - The Ip ACL to pass to the Access Control Model.
Returns:
The newly created SnmpEngine.
Throws:
IllegalArgumentException - Thrown if one of the configuration file file doesn't exist (ACL files, security file).

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.