diff options
Diffstat (limited to 'ASNMP/agent/agent_impl.h')
-rw-r--r-- | ASNMP/agent/agent_impl.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ASNMP/agent/agent_impl.h b/ASNMP/agent/agent_impl.h index ee107a88a99..60ee90034a2 100644 --- a/ASNMP/agent/agent_impl.h +++ b/ASNMP/agent/agent_impl.h @@ -5,16 +5,16 @@ // // = LIBRARY // ASNMP -// +// // = FILENAME -// agent_impl.h +// agent_impl.h // // = AUTHOR -// Michael R. MacFaden -// +// Michael R. MacFaden +// // ============================================================================ -#if !defined (AGENT_IMPL_H) +#ifndef AGENT_IMPL_H #define AGENT_IMPL_H #include <ace/Event_Handler.h> @@ -24,7 +24,7 @@ #include <asnmp/sagent.h> #include <asnmp/vb.h> -class agent_impl : public sagent +class agent_impl : public sagent { public: agent_impl(unsigned short port, const char *rd, const char *wr); @@ -35,7 +35,7 @@ public: virtual int handle_get_next( Pdu &pdu, UdpTarget &target); // retrieve data lexically adjacent to the oids specified in the pdu - // from the peer agent + // from the peer agent virtual int handle_set( Pdu &pdu, UdpTarget &target); // set data in the agent from the list of oids in the pdu @@ -45,7 +45,7 @@ public: private: UdpTarget tgt_; // this agent's read, write community strings - int get_response(Vb& vb); // set values for a "get" cmd + int get_response(Vb& vb); // set values for a "get" cmd ACE_High_Res_Timer agent_clock_; // agent "uptime" ticks reported in 1/100 second }; |