Uses of Class
org.snmp4j.agent.agentx.AgentXSession
Packages that use AgentXSession
Package
Description
-
Uses of AgentXSession in org.snmp4j.agent.agentx
Methods in org.snmp4j.agent.agentx that return types with arguments of type AgentXSessionModifier and TypeMethodDescriptionMap
<AgentXSession<?>, Integer> AgentX.closeAllSessions
(byte reason) ThrowsUnsupportedOperationException
because AgentX sessions are not managed on protocol level.Map
<AgentXSession<?>, Integer> AgentXCommandListener.closeAllSessions
(byte reason) Close all sessions associated with thisAgentXCommandListener
and return the AgentX status of the close operation together with theAgentXSession
object.Methods in org.snmp4j.agent.agentx with parameters of type AgentXSessionModifier and TypeMethodDescriptionvoid
AgentXPDU.setSessionAttributes
(AgentXSession<?> session) Sets theAgentXSession
specific attributes: session ID and byte order. -
Uses of AgentXSession in org.snmp4j.agent.agentx.event
Methods in org.snmp4j.agent.agentx.event that return AgentXSessionConstructors in org.snmp4j.agent.agentx.event with parameters of type AgentXSessionModifierConstructorDescriptionPingEvent
(Object source, AgentXSession<A> pingedSession, Exception error) Creates a newPingEvent
from a session and a ping response.PingEvent
(Object source, AgentXSession<A> pingedSession, AgentXResponsePDU pingResponse) Creates a newPingEvent
from a session and a ping response. -
Uses of AgentXSession in org.snmp4j.agent.agentx.master
Subclasses of AgentXSession in org.snmp4j.agent.agentx.masterModifier and TypeClassDescriptionclass
AgentXMasterSession<A extends org.snmp4j.smi.Address>
TheAgentXMasterSession
extends the base sessionAgentXSession
by agent capability information and sysObjectID as well as sysDescr.Methods in org.snmp4j.agent.agentx.master that return types with arguments of type AgentXSessionModifier and TypeMethodDescriptionMap
<AgentXSession<?>, Integer> AgentXCommandProcessor.closeAllSessions
(byte reason) Close all sessions associated with thisAgentXCommandListener
and return the AgentX status of the close operation together with theAgentXSession
object.Methods in org.snmp4j.agent.agentx.master with parameters of type AgentXSessionModifier and TypeMethodDescriptionprotected AgentXResponsePDU
AgentXCommandProcessor.createResponse
(AgentXPDU request, AgentXSession<?> session) Create a response for an AgentX request.protected <A extends org.snmp4j.smi.Address>
voidAgentXCommandProcessor.sendResponse
(AgentXPDU response, AgentXSession<A> session) Sends a response to a session. -
Uses of AgentXSession in org.snmp4j.agent.agentx.subagent
Fields in org.snmp4j.agent.agentx.subagent with type parameters of type AgentXSessionModifier and TypeFieldDescriptionprotected final Map
<Integer, AgentXSession<?>> AgentXSubagent.sessions
The sessions hold by this sub-agent.Methods in org.snmp4j.agent.agentx.subagent that return AgentXSessionModifier and TypeMethodDescriptionfinal AgentXSession
<?> AgentXSubagent.firstSession()
Returns the first session that have been opened by this subagent and is still open.AgentXSharedMOTableSupport.getSession()
Gets the AgentX session used by this shared table support object.Methods in org.snmp4j.agent.agentx.subagent that return types with arguments of type AgentXSessionModifier and TypeMethodDescriptionMap
<AgentXSession<?>, Integer> AgentXSubagent.closeAllSessions
(byte reason) Close all sessions hold by this sub-agent and return the AgentX status of the close operation together with theAgentXSession
object.Methods in org.snmp4j.agent.agentx.subagent with parameters of type AgentXSessionModifier and TypeMethodDescription<A extends org.snmp4j.smi.Address>
intAgentXSubagent.addAgentCaps
(AgentXSession<A> session, org.snmp4j.smi.OctetString context, org.snmp4j.smi.OID id, org.snmp4j.smi.OctetString descr) int
AgentXSubagent.close
(AgentXSession<?> session, byte reason) Close an AgentX session.<A extends org.snmp4j.smi.Address>
intAgentXSubagent.connect
(A masterAddress, A localAddress, AgentXSession<A> session) Connect to the given AgentX master using the specified local address.<A extends org.snmp4j.smi.Address>
intAgentXSubagent.connect
(A masterAddress, A localAddress, AgentXSession<A> session, List<org.snmp4j.transport.TransportStateListener> stateListeners) Connect to the given AgentX master using the specified local address.protected <R extends org.snmp4j.agent.mo.MOTableRow,
A extends org.snmp4j.smi.Address>
AgentXSharedMOTableSupport<R, ?> AgentXSubagent.createSharedTableSupport
(AgentXSession<A> session, org.snmp4j.smi.OctetString context) Create a newAgentXSharedMOTableSupport
instance for the given AgentX session and context.<A extends org.snmp4j.smi.Address>
AgentXResponseEvent<A> AgentXSubagent.notify
(AgentXSession<A> session, org.snmp4j.smi.OctetString context, org.snmp4j.smi.OID notificationID, org.snmp4j.smi.TimeTicks sysUpTime, org.snmp4j.smi.VariableBinding[] vbs) Send an AgentX notification to the master which will then be forwarded to trap/notification targets of the master.protected <A extends org.snmp4j.smi.Address>
intAgentXSubagent.openSession
(org.snmp4j.transport.ConnectionOrientedTransportMapping<A> transport, A masterAddress, AgentXSession<A> session) Open a new AgentX session with the given transport and master address.protected <A extends org.snmp4j.smi.Address>
intAgentXSubagent.registerRegion
(AgentXSession<A> session, org.snmp4j.smi.OctetString context, AgentXRegion region, byte priority, org.snmp4j.smi.TimeTicks sysUpTime) void
AgentXSubagent.registerRegions
(AgentXSession<?> session, org.snmp4j.smi.OctetString context, org.snmp4j.smi.TimeTicks sysUpTime, RegistrationCallback registrationCallback) Registers the subagent regions at the master agent.<R extends org.snmp4j.agent.mo.MOTableRow,
C extends org.snmp4j.agent.mo.MOColumn<?>, M extends org.snmp4j.agent.mo.MOTableModel<R>>
voidAgentXSubagent.registerSharedTableRows
(AgentXSession<?> session, org.snmp4j.smi.OctetString context, AgentXSharedMOTable<R, C, M> mo, RegistrationCallback registrationCallback, AgentXSharedMOTableSupport<R, ?> sharedTableSupport) Registers the indexes and (row) regions of a shared table.<R extends org.snmp4j.agent.mo.MOTableRow,
C extends org.snmp4j.agent.mo.MOColumn<?>, M extends org.snmp4j.agent.mo.MOTableModel<R>, A extends org.snmp4j.smi.Address>
voidAgentXSubagent.registerSharedTableRows
(AgentXSession<A> session, org.snmp4j.smi.OctetString context, AgentXSharedMOTable<R, C, M> mo, RegistrationCallback registrationCallback) Deprecated.<A extends org.snmp4j.smi.Address>
intAgentXSubagent.removeAgentCaps
(AgentXSession<A> session, org.snmp4j.smi.OctetString context, org.snmp4j.smi.OID id) void
AgentXSharedMOTableSupport.setSession
(AgentXSession<A> session) Sets the AgentX session to be used for this shared table support.protected <A extends org.snmp4j.smi.Address>
intAgentXSubagent.unregisterRegion
(AgentXSession<A> session, org.snmp4j.smi.OctetString context, AgentXRegion region, byte timeout) Constructors in org.snmp4j.agent.agentx.subagent with parameters of type AgentXSessionModifierConstructorDescriptionAgentXSharedMOTableSupport
(AgentX agentX, AgentXSession<A> session, org.snmp4j.smi.OctetString context) Creates a shared table support object for a AgentX connection, session, and context.AgentXSharedMOTableSupport
(AgentX agentX, AgentXSession<A> session, org.snmp4j.smi.OctetString context, byte priority, byte indexAllocationMode) Creates a shared table support object for a AgentX connection, session, and context.
AgentXSubagent.registerSharedTableRows(org.snmp4j.agent.agentx.AgentXSession, org.snmp4j.smi.OctetString, AgentXSharedMOTable, RegistrationCallback, AgentXSharedMOTableSupport)
instead.