AgentX++  2.0.5
Classes | Macros | Enumerations | Variables
agentx_subagent.h File Reference
#include <agent_pp/mib.h>
#include <agentx_pp/agentx.h>
#include <agentx_pp/agentx_request.h>
#include <agentx_pp/agentx_index.h>

Go to the source code of this file.

Classes

class  AgentXSharedTable
 The AgentXSharedTable class is derived from MibTable and represents a shared table between AgentX subagents. More...
 
class  AgentXPendingMessage
 The AgentXPendingMessage class represents the mapping between a packet ID and a AgentXSharedTable instance. More...
 
class  SubAgentXMib
 

Macros

#define AGENTXPP_DECL_TEMPL_LIST_AGENTXPENDINGMESSAGE
 The SubAgentXMib class represents the MIB of an AgentX subagent.
 

Enumerations

enum  agentx_run_status_t {
  AGENTX_STATUS_ERROR = 0, AGENTX_STATUS_CONNECT = 1, AGENTX_STATUS_OPEN = 2, AGENTX_STATUS_REGISTER = 3,
  AGENTX_STATUS_RUN = 4, AGENTX_STATUS_CLOSED = 5
}
 
enum  agentx_index_strategy {
  noIndexAllocation = 1, firstSubIndexOnly, anyNonAllocatedSubIndex, alwaysFirstSubIndex,
  alwaysAnySubIndex
}
 

Variables

AGENTXPP_DECL_TEMPL template
class AGENTXPP_DECL 
List< AgentXPendingMessage >
 

Macro Definition Documentation

#define AGENTXPP_DECL_TEMPL_LIST_AGENTXPENDINGMESSAGE

The SubAgentXMib class represents the MIB of an AgentX subagent.

Author
Frank Fock
Version
1.4.11

Enumeration Type Documentation

Enumerator:
noIndexAllocation 

Do not allocate any indexes at the master agent.

firstSubIndexOnly 

Only allocate an index value for the first sub-index of a row at the master agent.

This is the recommended strategy for most use cases. Index values already allocated are not allocated again. A reference count is being hold to guarantee proper deallocation.

anyNonAllocatedSubIndex 

Allocate for all sub-indexes of a row index as long as the sub-index value has not yet been allocated by this subagent instance.

alwaysFirstSubIndex 

Always allocate the first sub-index only and do not hold a local reference count for allocated sub-indexes.

alwaysAnySubIndex 

Always allocate any sub-index values and do not hold a local reference count for allocated sub-indexes.

Enumerator:
AGENTX_STATUS_ERROR 
AGENTX_STATUS_CONNECT 
AGENTX_STATUS_OPEN 
AGENTX_STATUS_REGISTER 
AGENTX_STATUS_RUN 
AGENTX_STATUS_CLOSED 

Variable Documentation