[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mibble-users] question about syntax
From: |
wshang |
Subject: |
[Mibble-users] question about syntax |
Date: |
Fri, 12 Mar 2004 16:42:18 +0800 |
hi,
I have been away for some days, remember me ?
I have a question about syntax.
SNMPv1,v2 use the syntax : Integer,Unsigned32,Counter32, Counter64,
Gauge32,TimeTicks, Octect String, IpAddress ,Object Identifier ,Opaque.
when I want to know a Symbol's syntax ,I use the follow sentence:
if (((SnmpObjectType)type).getSyntax() instanceof XXXType){
//do something...
}
but I find XXXType is only follow:
BitSetType
BooleanType
ChoiceType
IntegerType
NullType
ObjectIdentifierType
SequenceOfType
SequenceType
StringType
there are some difference of the XXXType and the syntax the snmp use .
for example, how can I check if a symbol is Counter64 type ?
- [Mibble-users] question about syntax,
wshang <=