[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mibble-users] Suggestion, new class SnmpType
From: |
Thomas Åhlén |
Subject: |
[Mibble-users] Suggestion, new class SnmpType |
Date: |
Sun, 10 Oct 2004 01:49:17 +0200 |
Add a new abstraction to make it easier to cast and use methods in SnmpType
classes
MibType
|
SnmpType
|
(All Snmp types)
MibType type;
.
.
.
.
if( type instanceof SnmpType )
{
((SnmpType)type).getDescription();
}
Currently one has to check each Snmp subtype and make a specific cast for
that type.
Cheers
Thomas Åhlén
- [Mibble-users] Suggestion, new class SnmpType,
Thomas Åhlén <=