Class AgentXMib.AgentxSessionEntryRow
java.lang.Object
org.snmp4j.agent.mo.DefaultMOTableRow
org.snmp4j.agent.mo.DefaultMOMutableRow2PC
org.snmp4j.agent.agentx.master.AgentXMib.AgentxSessionEntryRow
- All Implemented Interfaces:
Comparable<org.snmp4j.agent.mo.MOTableRow>, org.snmp4j.agent.mo.MOMutableRow2PC<org.snmp4j.agent.request.SubRequest<?>>, org.snmp4j.agent.mo.MOMutableTableRow, org.snmp4j.agent.mo.MOTableRow
- Enclosing class:
AgentXMib
public class AgentXMib.AgentxSessionEntryRow
extends org.snmp4j.agent.mo.DefaultMOMutableRow2PC
The
AgentxSessionEntryRow represents a conceptual row of the
agentxSessionEntry table.-
Field Summary
Fields inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
index, values -
Constructor Summary
ConstructorsConstructorDescriptionAgentxSessionEntryRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) Creates a newagentxSessionEntryrow with the given index and column values. -
Method Summary
Modifier and TypeMethodDescriptionvoidcommitRow(org.snmp4j.agent.request.SubRequest<?> req, org.snmp4j.agent.mo.MOTableRow row) org.snmp4j.smi.Integer32Gets the value of theagentxSessionAdminStatuscolumn.org.snmp4j.smi.Integer32Gets the value of theagentxSessionAgentXVercolumn.org.snmp4j.smi.OctetStringGets the value of theagentxSessionDescrcolumn.org.snmp4j.smi.OIDGets the value of theagentxSessionObjectIDcolumn.org.snmp4j.smi.TimeTicksGets the value of theagentxSessionOpenTimecolumn.org.snmp4j.smi.Integer32Gets the value of theagentxSessionTimeoutcolumn.Gets the AgentX session associated with this row.voidsetAgentxSessionAdminStatus(org.snmp4j.smi.Integer32 newValue) Sets the value of theagentxSessionAdminStatuscolumn.voidsetAgentxSessionAgentXVer(org.snmp4j.smi.Integer32 newValue) Sets the value of theagentxSessionAgentXVercolumn.voidsetAgentxSessionDescr(org.snmp4j.smi.OctetString newValue) Sets the value of theagentxSessionDescrcolumn.voidsetAgentxSessionObjectID(org.snmp4j.smi.OID newValue) Sets the value of theagentxSessionObjectIDcolumn.voidsetAgentxSessionOpenTime(org.snmp4j.smi.TimeTicks newValue) Sets the value of theagentxSessionOpenTimecolumn.voidsetAgentxSessionTimeout(org.snmp4j.smi.Integer32 newValue) Sets the value of theagentxSessionTimeoutcolumn.voidsetSession(AgentXSession<?> session) Sets the AgentX session associated with this row.Methods inherited from class org.snmp4j.agent.mo.DefaultMOMutableRow2PC
cleanup, cleanupRow, commit, getBaseRow, getIndex, getResultingValue, getUserObject, getValue, prepare, prepareRow, setBaseRow, setUserObject, setValue, size, toString, undo, undoRowMethods inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
compareTo, equals, getColumnValue, hashCode, toStringMembers
-
Constructor Details
-
AgentxSessionEntryRow
public AgentxSessionEntryRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) Creates a newagentxSessionEntryrow with the given index and column values.- Parameters:
index- the index OID of the new row.values- the column values of the new row.
-
-
Method Details
-
getAgentxSessionObjectID
public org.snmp4j.smi.OID getAgentxSessionObjectID()Gets the value of theagentxSessionObjectIDcolumn.- Returns:
- the column value as
OID.
-
setAgentxSessionObjectID
public void setAgentxSessionObjectID(org.snmp4j.smi.OID newValue) Sets the value of theagentxSessionObjectIDcolumn.- Parameters:
newValue- the new column value asOID.
-
getAgentxSessionDescr
public org.snmp4j.smi.OctetString getAgentxSessionDescr()Gets the value of theagentxSessionDescrcolumn.- Returns:
- the column value as
OctetString.
-
setAgentxSessionDescr
public void setAgentxSessionDescr(org.snmp4j.smi.OctetString newValue) Sets the value of theagentxSessionDescrcolumn.- Parameters:
newValue- the new column value asOctetString.
-
getAgentxSessionAdminStatus
public org.snmp4j.smi.Integer32 getAgentxSessionAdminStatus()Gets the value of theagentxSessionAdminStatuscolumn.- Returns:
- the column value as
Integer32.
-
setAgentxSessionAdminStatus
public void setAgentxSessionAdminStatus(org.snmp4j.smi.Integer32 newValue) Sets the value of theagentxSessionAdminStatuscolumn.- Parameters:
newValue- the new column value asInteger32.
-
getAgentxSessionOpenTime
public org.snmp4j.smi.TimeTicks getAgentxSessionOpenTime()Gets the value of theagentxSessionOpenTimecolumn.- Returns:
- the column value as
TimeTicks.
-
setAgentxSessionOpenTime
public void setAgentxSessionOpenTime(org.snmp4j.smi.TimeTicks newValue) Sets the value of theagentxSessionOpenTimecolumn.- Parameters:
newValue- the new column value asTimeTicks.
-
getAgentxSessionAgentXVer
public org.snmp4j.smi.Integer32 getAgentxSessionAgentXVer()Gets the value of theagentxSessionAgentXVercolumn.- Returns:
- the column value as
Integer32.
-
setAgentxSessionAgentXVer
public void setAgentxSessionAgentXVer(org.snmp4j.smi.Integer32 newValue) Sets the value of theagentxSessionAgentXVercolumn.- Parameters:
newValue- the new column value asInteger32.
-
getAgentxSessionTimeout
public org.snmp4j.smi.Integer32 getAgentxSessionTimeout()Gets the value of theagentxSessionTimeoutcolumn.- Returns:
- the column value as
Integer32.
-
setAgentxSessionTimeout
public void setAgentxSessionTimeout(org.snmp4j.smi.Integer32 newValue) Sets the value of theagentxSessionTimeoutcolumn.- Parameters:
newValue- the new column value asInteger32.
-
setSession
Sets the AgentX session associated with this row.- Parameters:
session- theAgentXSessionto associate with this row.
-
getSession
Gets the AgentX session associated with this row.- Returns:
- the associated
AgentXSession.
-
commitRow
public void commitRow(org.snmp4j.agent.request.SubRequest<?> req, org.snmp4j.agent.mo.MOTableRow row) - Specified by:
commitRowin interfaceorg.snmp4j.agent.mo.MOMutableRow2PC<org.snmp4j.agent.request.SubRequest<?>>- Overrides:
commitRowin classorg.snmp4j.agent.mo.DefaultMOMutableRow2PC
-