|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.snmp4j.security.SecurityModels
public class SecurityModels
The SecurityModels class is a collection of all
supported security models of a SNMP entity.
| Constructor Summary | |
|---|---|
protected |
SecurityModels()
|
| Method Summary | |
|---|---|
void |
addSecurityModel(SecurityModel model)
Adds a security model to the central repository of security models. |
static SecurityModels |
getCollection(SecurityModel[] models)
Gets the SecurityModels collection instance that contains the supplied SecurityModels. |
static SecurityModels |
getInstance()
Gets the security singleton instance. |
SecurityModel |
getSecurityModel(Integer32 id)
Returns a security model from the central repository of security models. |
SecurityModel |
removeSecurityModel(Integer32 id)
Removes a security model from the central repository of security models. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SecurityModels()
| Method Detail |
|---|
public static SecurityModels getInstance()
SecurityModels instance.public static final SecurityModels getCollection(SecurityModel[] models)
SecurityModels.
models - an array of SecurityModel instances.
public void addSecurityModel(SecurityModel model)
model - a SecurityModel. If a security model with the same ID
alreadypublic SecurityModel removeSecurityModel(Integer32 id)
id - the Integer32 ID of the security model to remove.
SecurityModel or null if
id is not registered.public SecurityModel getSecurityModel(Integer32 id)
id - the Integer32 ID of the security model to return.
id associated SecurityModel or
null if no such model is registered.
|
Copyright 2003-2009 Frank Fock and Jochen Katz (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||