Merge pull request #2258 from likema/log-msg-reset-ostream
[ACE_TAO.git] / ACE / ASNMP / asnmp / oid_def.h
blob744fa24581c4a10744e7c2861d708ed5bba39f4b
1 /* -*-C++-*- */
2 #ifndef OID_DEF
3 #define OID_DEF
4 //=============================================================================
5 /**
6 * @file oid_def.h
8 * Well known Oids defined in RFC 1215
10 * @author Peter E Mellquist
12 //=============================================================================
14 /*===================================================================
16 Copyright (c) 1996
17 Hewlett-Packard Company
19 ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
20 Permission to use, copy, modify, distribute and/or sell this software
21 and/or its documentation is hereby granted without fee. User agrees
22 to display the above copyright notice and this license notice in all
23 copies of the software and any documentation of the software. User
24 agrees to assume all liability for the use of the software; Hewlett-Packard
25 makes no representations about the suitability of this software for any
26 purpose. It is provided "AS-IS without warranty of any kind,either express
27 or implied. User hereby grants a royalty-free license to any and all
28 derivatives based upon this software code base.
29 =====================================================================*/
31 // SMI trap oid def
32 class snmpTrapsOid: public Oid {
33 public:
34 snmpTrapsOid ():Oid("1.3.6.1.6.3.1.1.5"){};
37 // SMI Enterprose Oid
38 class snmpTrapEnterpriseOid: public Oid {
39 public:
40 snmpTrapEnterpriseOid():Oid("1.3.6.1.6.3.1.1.4.3.0"){};
43 // SMI Cold Start Oid
44 class coldStartOid: public snmpTrapsOid {
45 public:
46 coldStartOid(){*this+=".1";};
49 // SMI WarmStart Oid
50 class warmStartOid: public snmpTrapsOid {
51 public:
52 warmStartOid(){*this+=".2";};
55 // SMI LinkDown Oid
56 class linkDownOid: public snmpTrapsOid {
57 public:
58 linkDownOid(){*this+=".3";};
62 // SMI LinkUp Oid
63 class linkUpOid: public snmpTrapsOid {
64 public:
65 linkUpOid(){*this+=".4";};
68 // SMI Authentication Failure Oid
69 class authenticationFailureOid: public snmpTrapsOid {
70 public:
71 authenticationFailureOid(){*this+=".5";};
74 // SMI egpneighborloss Oid
75 class egpNeighborLossOid: public snmpTrapsOid {
76 public:
77 egpNeighborLossOid(){*this+=".6";};
81 #endif // OID_DEF