1 | // Entity interface.
|
---|
2 | // Copyright (C) 2008-2010 Malcolm Crowe, Lex Li, and other contributors.
|
---|
3 | //
|
---|
4 | // This library is free software; you can redistribute it and/or
|
---|
5 | // modify it under the terms of the GNU Lesser General Public
|
---|
6 | // License as published by the Free Software Foundation; either
|
---|
7 | // version 2.1 of the License, or (at your option) any later version.
|
---|
8 | //
|
---|
9 | // This library is distributed in the hope that it will be useful,
|
---|
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | // Lesser General Public License for more details.
|
---|
13 | //
|
---|
14 | // You should have received a copy of the GNU Lesser General Public
|
---|
15 | // License along with this library; if not, write to the Free Software
|
---|
16 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
17 |
|
---|
18 | /*
|
---|
19 | * Created by SharpDevelop.
|
---|
20 | * User: lextm
|
---|
21 | * Date: 2008/5/19
|
---|
22 | * Time: 20:10
|
---|
23 | *
|
---|
24 | * To change this template use Tools | Options | Coding | Edit Standard Headers.
|
---|
25 | */
|
---|
26 |
|
---|
27 | using System;
|
---|
28 |
|
---|
29 | namespace Lextm.SharpSnmpLib.Mib.Elements.Entities
|
---|
30 | {
|
---|
31 | /// <summary>
|
---|
32 | /// Basic interface for all elements building up the MIB tree, thus having an OID as value.
|
---|
33 | /// </summary>
|
---|
34 | public interface IEntity : IDeclaration
|
---|
35 | {
|
---|
36 | /// <summary>
|
---|
37 | /// Parent name.
|
---|
38 | /// </summary>
|
---|
39 | string Parent
|
---|
40 | {
|
---|
41 | get;
|
---|
42 | set;
|
---|
43 | }
|
---|
44 |
|
---|
45 | /// <summary>
|
---|
46 | /// Value.
|
---|
47 | /// </summary>
|
---|
48 | uint Value
|
---|
49 | {
|
---|
50 | get;
|
---|
51 | }
|
---|
52 |
|
---|
53 | /// <summary>
|
---|
54 | /// Gets the description.
|
---|
55 | /// </summary>
|
---|
56 | /// <value>The description.</value>
|
---|
57 | string Description
|
---|
58 | {
|
---|
59 | get;
|
---|
60 | }
|
---|
61 | }
|
---|
62 | }
|
---|