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 |
---|---|
int |
AgentXSubagent.addAgentCaps(AgentXSession session,
OctetString context,
OID id,
OctetString descr) |
int |
AgentXSubagent.close(AgentXSession session,
byte reason) |
int |
AgentXSubagent.connect(Address masterAddress,
Address localAddress,
AgentXSession session) |
protected AgentXSharedMOTableSupport |
AgentXSubagent.createSharedTableSupport(AgentXSession session,
OctetString context)
Create a new
AgentXSharedMOTableSupport instance for the given AgentX session and context. |
AgentXResponseEvent |
AgentXSubagent.notify(AgentXSession session,
OctetString context,
OID notificationID,
TimeTicks sysUpTime,
VariableBinding[] vbs) |
protected int |
AgentXSubagent.openSession(TransportMapping transport,
Address masterAddress,
AgentXSession session) |
protected int |
AgentXSubagent.registerRegion(AgentXSession session,
OctetString context,
AgentXRegion region,
byte priority,
TimeTicks sysUpTime) |
void |
AgentXSubagent.registerRegions(AgentXSession session,
OctetString context,
TimeTicks sysUpTime,
RegistrationCallback registrationCallback)
Registers the subagent regions at the master agent.
|
void |
AgentXSubagent.registerSharedTableRows(AgentXSession session,
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,
OctetString context,
AgentXSharedMOTable mo,
RegistrationCallback registrationCallback,
AgentXSharedMOTableSupport sharedTableSupport)
Registers the indexes and (row) regions of a shared table.
|
int |
AgentXSubagent.removeAgentCaps(AgentXSession session,
OctetString context,
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,
OctetString context,
AgentXRegion region,
byte timeout) |
Constructor and Description |
---|
AgentXSharedMOTableSupport(AgentX agentX,
AgentXSession session,
OctetString context)
Creates a shared table support object for a AgentX connection, session,
and context.
|
AgentXSharedMOTableSupport(AgentX agentX,
AgentXSession session,
OctetString context,
byte priority,
byte indexAllocationMode)
Creates a shared table support object for a AgentX connection, session,
and context.
|
Copyright © 2016 SNMP4J.org. All rights reserved.