AgentXSession Class Reference

#include <agentx_session.h>

List of all members.

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)
boolean get_byte_order () const
void set_byte_order (boolean 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 ()
boolean is_unable_to_respond ()

Static Public Member Functions

static u_int get_next_session_id ()

Public Attributes

AgentXPeer peer

Protected Attributes

u_int sessionID
boolean 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

int AgentXSession::get_state (  )  const [inline]

void AgentXSession::set_state ( int  s  )  [inline]

u_int AgentXSession::get_id (  )  const [inline]

void AgentXSession::set_id ( u_int  i  )  [inline]

boolean AgentXSession::get_byte_order (  )  const [inline]

void AgentXSession::set_byte_order ( boolean  newOrder  )  [inline]

u_char AgentXSession::get_timeout (  )  const [inline]

void AgentXSession::set_timeout ( u_char  t  )  [inline]

Oidx AgentXSession::get_oid (  )  const [inline]

NS_SNMP OctetStr AgentXSession::get_descr (  )  const [inline]

void AgentXSession::set_peer ( const AgentXPeer p  )  [inline]

AgentXPeer AgentXSession::get_peer (  )  const [inline]

static u_int AgentXSession::get_next_session_id (  )  [static]

void AgentXSession::add_agent_caps ( const NS_SNMP OctetStr &  c,
const Oidx &  oid 
) [inline]

void AgentXSession::remove_agent_caps ( const NS_SNMP OctetStr &  ,
const Oidx &  id 
)

ListCursor<Vbx>* AgentXSession::get_agent_caps (  )  [inline]

AgentXSession& AgentXSession::operator= ( const AgentXSession  ) 

void AgentXSession::inc_timeouts (  )  [inline]

void AgentXSession::reset_timeouts (  )  [inline]

boolean AgentXSession::is_unable_to_respond (  )  [inline]


Friends And Related Function Documentation

friend class AgentXRequest [friend]

friend class AgentXQueue [friend]

friend class AgentXSessions [friend]


Member Data Documentation

u_int AgentXSession::sessionID [protected]

boolean AgentXSession::networkByteOrder [protected]

u_char AgentXSession::defaultTimeout [protected]

int AgentXSession::state [protected]

Oidx AgentXSession::id [protected]

NS_SNMP OctetStr AgentXSession::descr [protected]

List<Vbx> AgentXSession::sysORIDs [protected]


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

Generated on Tue May 26 23:32:15 2009 for AgentX++ by  doxygen 1.5.6