diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 13:31:46 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 13:31:46 +0100 |
commit | 317dd62b7112b590efe99283ceb4b2e5e5649884 (patch) | |
tree | 4df9cfc065c67e616010437b483dd97d2aba717b /ACE/ASNMP/examples/get/get_async.cpp | |
parent | 60d97734bef3939bb7ed54170fbcf9a1b459b496 (diff) | |
download | ATCD-317dd62b7112b590efe99283ceb4b2e5e5649884.tar.gz |
Documentation, layout, C++11 changes
Diffstat (limited to 'ACE/ASNMP/examples/get/get_async.cpp')
-rw-r--r-- | ACE/ASNMP/examples/get/get_async.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ACE/ASNMP/examples/get/get_async.cpp b/ACE/ASNMP/examples/get/get_async.cpp index cccc0e21123..0734bfddb6c 100644 --- a/ACE/ASNMP/examples/get/get_async.cpp +++ b/ACE/ASNMP/examples/get/get_async.cpp @@ -32,8 +32,9 @@ #include "ace/streams.h" // SNMPv1 Get Application -class getapp : public Snmp_Result { - public: +class getapp : public Snmp_Result +{ +public: getapp(int argc, char **argv); // process command line args int valid() const; // verify transaction can proceed int run(); // issue transaction @@ -41,7 +42,7 @@ class getapp : public Snmp_Result { virtual void result(Snmp * r, int rc); - private: +private: getapp(const getapp&); UdpAddress address_; |