summaryrefslogtreecommitdiff
path: root/ACE/ASNMP/examples/get/get_async.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ASNMP/examples/get/get_async.cpp')
-rw-r--r--ACE/ASNMP/examples/get/get_async.cpp7
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_;