public class Snmp extends Object implements Serializable
Constructor and Description |
---|
Snmp() |
Modifier and Type | Method and Description |
---|---|
void |
deleteGeneric() |
void |
deleteSpecific() |
boolean |
equals(Object obj) |
String |
getCommunity() |
Integer |
getGeneric()
The generic trap number.
|
String |
getId()
The SNMP enterprise ID
|
String |
getIdtext()
The SNMP enterprise ID text
|
Integer |
getSpecific()
The specific trap number
|
String |
getVersion()
The SNMP version
|
boolean |
hasGeneric() |
int |
hashCode() |
boolean |
hasSpecific() |
boolean |
isValid() |
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setCommunity(String community) |
void |
setGeneric(int generic) |
void |
setId(String id) |
void |
setIdtext(String idText) |
void |
setSpecific(int specific) |
void |
setVersion(String version) |
static Snmp |
unmarshal(Reader reader) |
void |
validate() |
public void deleteGeneric()
public void deleteSpecific()
public String getCommunity()
public Integer getGeneric()
public String getId()
public String getIdtext()
public Integer getSpecific()
public String getVersion()
public boolean hasGeneric()
public boolean hasSpecific()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setCommunity(String community)
public void setGeneric(int generic)
public void setId(String id)
public void setIdtext(String idText)
public void setSpecific(int specific)
public void setVersion(String version)
public static Snmp unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
Copyright © 2015. All rights reserved.