AgentX++  2.0.5
agentx_reg.h
Go to the documentation of this file.
1 /*_############################################################################
2  _##
3  _## agentx_reg.h
4  _##
5  _##
6  _## AgentX++ 2
7  _## -------------------------------------
8  _## Copyright (C) 2000-2013 - Frank Fock
9  _##
10  _## Use of this software is subject to the license agreement you received
11  _## with this software and which can be downloaded from
12  _## http://www.agentpp.com
13  _##
14  _## This is licensed software and may not be used in a commercial
15  _## environment, except for evaluation purposes, unless a valid
16  _## license has been purchased.
17  _##
18  _##########################################################################*/
19 
20 
21 #ifndef agentx_reg_h_
22 #define agentx_reg_h_
23 
24 #include <agentx_pp/agentx_pdu.h>
25 
26 #ifdef AGENTPP_NAMESPACE
27 namespace Agentpp {
28 #endif
29 
30 
31 class AgentXSession;
32 
34 
35  public:
53  AgentXRegEntry(u_int, const AgentXRegion&, u_int, u_int,
54  const NS_SNMP OctetStr&, u_char);
55 
60 
64  virtual ~AgentXRegEntry();
65 
71  virtual AgentXRegEntry* clone();
72 
73 
74  virtual bool operator<(const AgentXRegEntry&);
75  virtual bool operator>(const AgentXRegEntry&);
76  virtual bool operator==(const AgentXRegEntry&);
77 
78 
79  virtual bool is_duplicate_of(const AgentXRegEntry&);
80 
81  virtual bool is_overlapping(const AgentXRegEntry&);
82 
83  AgentXRegion get_region() { return region; }
84 
85 
86  u_int sessionID;
88  u_int priority, specific;
89  NS_SNMP OctetStr context;
90  u_char timeout;
91 
92  u_int mibID;
93  //OrderedList<AgentXNode> nodes; //may be used to speed up unregister
94 };
95 
96 #ifdef AGENTPP_NAMESPACE
97 }
98 #endif
99 
100 
101 #endif
102