| Package | Description |
|---|---|
| org.snmp4j.agent.agentx | |
| org.snmp4j.agent.agentx.event | |
| org.snmp4j.agent.agentx.master | |
| org.snmp4j.agent.agentx.subagent |
| Modifier and Type | Method and Description |
|---|---|
void |
AgentXPDU.setSessionAttributes(AgentXSession session) |
| Modifier and Type | Method and Description |
|---|---|
AgentXSession |
PingEvent.getSession() |
| Constructor and Description |
|---|
PingEvent(Object source,
AgentXSession pingedSession,
AgentXResponsePDU pingResponse) |
PingEvent(Object source,
AgentXSession pingedSession,
Exception error) |
| Modifier and Type | Class and Description |
|---|---|
class |
AgentXMasterSession
The
AgentXMasterSession extends the base session
AgentXSession by agent capability information and
sysObjectID as well as sysDescr. |
| Modifier and Type | Method and Description |
|---|---|
protected AgentXResponsePDU |
AgentXCommandProcessor.createResponse(AgentXPDU request,
AgentXSession session) |
protected void |
AgentXCommandProcessor.sendResponse(AgentXPDU response,
AgentXSession session) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,AgentXSession> |
AgentXSubagent.sessions |
| Modifier and Type | Method and Description |
|---|---|
AgentXSession |
AgentXSubagent.firstSession()
Returns the first session that have been opened by this subagent and is
still open.
|
AgentXSession |
AgentXSharedMOTableSupport.getSession()
Gets the AgentX session used by this shared table support object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<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 the
AgentXSession object. |
| Modifier and Type | Method and Description |
|---|---|
int |
AgentXSubagent.addAgentCaps(AgentXSession session,
org.snmp4j.smi.OctetString context,
org.snmp4j.smi.OID id,
org.snmp4j.smi.OctetString descr) |
int |
AgentXSubagent.close(AgentXSession session,
byte reason) |
<A extends org.snmp4j.smi.Address> |
AgentXSubagent.connect(A masterAddress,
A localAddress,
AgentXSession session,
List<org.snmp4j.transport.TransportStateListener> stateListeners)
Connect to the given AgentX master using the specified local address.
|
int |
AgentXSubagent.connect(org.snmp4j.smi.Address masterAddress,
org.snmp4j.smi.Address localAddress,
AgentXSession session)
Connect to the given AgentX master using the specified local address.
|
protected AgentXSharedMOTableSupport |
AgentXSubagent.createSharedTableSupport(AgentXSession session,
org.snmp4j.smi.OctetString context)
Create a new
AgentXSharedMOTableSupport instance for the given AgentX session and context. |
AgentXResponseEvent |
AgentXSubagent.notify(AgentXSession session,
org.snmp4j.smi.OctetString context,
org.snmp4j.smi.OID notificationID,
org.snmp4j.smi.TimeTicks sysUpTime,
org.snmp4j.smi.VariableBinding[] vbs) |
protected int |
AgentXSubagent.openSession(org.snmp4j.TransportMapping transport,
org.snmp4j.smi.Address masterAddress,
AgentXSession session) |
protected int |
AgentXSubagent.registerRegion(AgentXSession 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.
|
void |
AgentXSubagent.registerSharedTableRows(AgentXSession session,
org.snmp4j.smi.OctetString context,
AgentXSharedMOTable mo,
RegistrationCallback registrationCallback)
Deprecated.
Use
AgentXSubagent.registerSharedTableRows(org.snmp4j.agent.agentx.AgentXSession, org.snmp4j.smi.OctetString,
AgentXSharedMOTable, RegistrationCallback, AgentXSharedMOTableSupport) instead. This version creates
a new table support object for each call (shared table) which is not recommended. |
void |
AgentXSubagent.registerSharedTableRows(AgentXSession session,
org.snmp4j.smi.OctetString context,
AgentXSharedMOTable mo,
RegistrationCallback registrationCallback,
AgentXSharedMOTableSupport sharedTableSupport)
Registers the indexes and (row) regions of a shared table.
|
int |
AgentXSubagent.removeAgentCaps(AgentXSession session,
org.snmp4j.smi.OctetString context,
org.snmp4j.smi.OID id) |
void |
AgentXSharedMOTableSupport.setSession(AgentXSession session)
Sets the AgentX session to be used for this shared table support.
|
protected int |
AgentXSubagent.unregisterRegion(AgentXSession session,
org.snmp4j.smi.OctetString context,
AgentXRegion region,
byte timeout) |
| Constructor and Description |
|---|
AgentXSharedMOTableSupport(AgentX agentX,
AgentXSession session,
org.snmp4j.smi.OctetString context)
Creates a shared table support object for a AgentX connection, session,
and context.
|
AgentXSharedMOTableSupport(AgentX agentX,
AgentXSession session,
org.snmp4j.smi.OctetString context,
byte priority,
byte indexAllocationMode)
Creates a shared table support object for a AgentX connection, session,
and context.
|
Copyright © 2020 SNMP4J.org. All rights reserved.