Use override/default for RTPortableServer
[ACE_TAO.git] / ACE / ASNMP / agent / snmp_agent.h
blobb1320957282359eebb30ec2ea895af562bb17848
2 /* -*-C++-*- */
4 #ifndef SNMP_AGENT_
5 #define SNMP_AGENT_
6 //=============================================================================
7 /**
8 * @file snmp_agent.h
10 * @author Michael R. MacFaden (mrm@cisco.com)
12 //=============================================================================
15 class agent_impl;
17 /**
18 * @class snmp_agent
20 * @brief An SNMP v1 agent class
22 * Contructs agents that are capable of processing SNMPv1 requests
23 * over the MIB II System group
25 class snmp_agent
27 public:
28 snmp_agent(); // uses port 161, public, private
29 ~snmp_agent();
31 int valid() const;
32 // did object construct ok
34 int set_args(int argc, char *argv[]);
35 // runtime arguments such as community strings, port to use
37 int run();
38 // begin processing requests
40 private:
41 snmp_agent(const snmp_agent&);
42 agent_impl *agent_;
45 #endif // SNMP_AGENT_