AgentX++  2.0.5
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
AgentXSession Class Reference

#include <agentx_session.h>

Public Member Functions

 AgentXSession ()
 
 AgentXSession (u_int)
 
 ~AgentXSession ()
 
int get_state () const
 
void set_state (int s)
 
u_int get_id () const
 
void set_id (u_int i)
 
bool get_byte_order () const
 
void set_byte_order (bool newOrder)
 
u_char get_timeout () const
 
void set_timeout (u_char t)
 
Oidx get_oid () const
 
NS_SNMP OctetStr get_descr () const
 
void set_peer (const AgentXPeer &p)
 
AgentXPeer get_peer () const
 
void add_agent_caps (const NS_SNMP OctetStr &c, const Oidx &oid)
 
void remove_agent_caps (const NS_SNMP OctetStr &, const Oidx &id)
 
ListCursor< Vbx > * get_agent_caps ()
 
AgentXSessionoperator= (const AgentXSession &)
 
void inc_timeouts ()
 
void reset_timeouts ()
 
bool is_unable_to_respond ()
 

Static Public Member Functions

static u_int get_next_session_id ()
 

Public Attributes

AgentXPeer peer
 

Protected Attributes

u_int sessionID
 
bool networkByteOrder
 
u_char defaultTimeout
 
int state
 
Oidx id
 
NS_SNMP OctetStr descr
 
List< Vbx > sysORIDs
 
u_char consecutiveTimeouts
 

Friends

class AgentXRequest
 
class AgentXQueue
 
class AgentXSessions
 

Constructor & Destructor Documentation

AgentXSession::AgentXSession ( )
AgentXSession::AgentXSession ( u_int  )
AgentXSession::~AgentXSession ( )

Member Function Documentation

void AgentXSession::add_agent_caps ( const NS_SNMP OctetStr &  c,
const Oidx &  oid 
)
inline
ListCursor<Vbx>* AgentXSession::get_agent_caps ( )
inline
bool AgentXSession::get_byte_order ( ) const
inline
NS_SNMP OctetStr AgentXSession::get_descr ( ) const
inline
u_int AgentXSession::get_id ( ) const
inline
static u_int AgentXSession::get_next_session_id ( )
static
Oidx AgentXSession::get_oid ( ) const
inline
AgentXPeer AgentXSession::get_peer ( ) const
inline
int AgentXSession::get_state ( ) const
inline
u_char AgentXSession::get_timeout ( ) const
inline
void AgentXSession::inc_timeouts ( )
inline
bool AgentXSession::is_unable_to_respond ( )
inline
AgentXSession& AgentXSession::operator= ( const AgentXSession )
void AgentXSession::remove_agent_caps ( const NS_SNMP OctetStr &  ,
const Oidx &  id 
)
void AgentXSession::reset_timeouts ( )
inline
void AgentXSession::set_byte_order ( bool  newOrder)
inline
void AgentXSession::set_id ( u_int  i)
inline
void AgentXSession::set_peer ( const AgentXPeer p)
inline
void AgentXSession::set_state ( int  s)
inline
void AgentXSession::set_timeout ( u_char  t)
inline

Friends And Related Function Documentation

friend class AgentXQueue
friend
friend class AgentXRequest
friend
friend class AgentXSessions
friend

Member Data Documentation

u_char AgentXSession::consecutiveTimeouts
protected
u_char AgentXSession::defaultTimeout
protected
NS_SNMP OctetStr AgentXSession::descr
protected
Oidx AgentXSession::id
protected
bool AgentXSession::networkByteOrder
protected
AgentXPeer AgentXSession::peer
u_int AgentXSession::sessionID
protected
int AgentXSession::state
protected
List<Vbx> AgentXSession::sysORIDs
protected

The documentation for this class was generated from the following file: