javax.management.snmp
Interface SnmpEngineFactory

All Known Implementing Classes:
JdmkEngineFactory

Deprecated. Use package com.sun.management.snmp in preference to classes in this package. This class may be removed in a future version of Java DMK.

public interface SnmpEngineFactory

This SnmpEngineFactory is instantiating an SnmpEngine containing :

Since:
Java DMK 5.0

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

Method Detail

createEngine

public SnmpEngine createEngine(SnmpEngineParameters p)
Deprecated. 
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

public SnmpEngine createEngine(SnmpEngineParameters p,
                               InetAddressAcl ipacl)
Deprecated. 
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).

FCS Release
jdmk-5_1-b34.2 2005.11.29_16:24:00_MET

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