public abstract class FNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AgentWorker |
agent
SNMP agent
|
Constructor and Description |
---|
FNode(java.lang.String name,
org.snmp4j.smi.OID oid)
Constructs MIB node object
|
Modifier and Type | Method and Description |
---|---|
FID |
getFID()
Returns FID
|
java.lang.String |
getFIDtoString()
Returns internal OID + name string.
|
java.lang.String |
getName()
Returns name
|
org.snmp4j.smi.OID |
getOID()
Returns copy of internal OID
|
int |
getOIDSize()
Returns size of internal OID
|
PersistStorage |
getPersistStorage()
Returns persistence storage object.
|
protected FException |
makeFException(java.lang.String msg)
Method to throw FException with message appended with object name.
|
protected FException |
makeFException(java.lang.String msg,
java.lang.Throwable cause)
Method to throw FException with message appended with object name.
|
void |
setAgent(AgentWorker agent)
Sets the agent.
|
protected AgentWorker agent
public FNode(java.lang.String name, org.snmp4j.smi.OID oid)
name
- name of the objectoid
- OID of the objectpublic void setAgent(AgentWorker agent)
agent
- SNMP agentpublic PersistStorage getPersistStorage()
public org.snmp4j.smi.OID getOID()
public java.lang.String getName()
public FID getFID()
public java.lang.String getFIDtoString()
public int getOIDSize()
protected FException makeFException(java.lang.String msg) throws FException
msg
- error message.FException
- exception wrapper.protected FException makeFException(java.lang.String msg, java.lang.Throwable cause) throws FException
msg
- error message.cause
- exception cause.FException
- exception wrapper.