Hi Carlos,

Does this help?

MibNode node;
MibValueSymbol symb = node.getSymbol();
SnmpObjectType snmpOT = node.getSnmpObjectType();
MibType syntax = snmpOT.getSyntax();
MibTypeTag typeTag = syntax.getTag();
if (syntax instanceof StringType)
{
   ...
}

In 2006 we've used Mibble to create a Stub Browser for our Java SNMP stack.
You can download the code via
http://snmp.westhawk.co.uk/

I copied the above code from GenerateStubFileAction.java


Cheers, Birgit


On 05/06/2009 14:52, Carlos Eduardo Rührwiem wrote:
Any1?

2009/6/2 Carlos Eduardo Rührwiem <carlos.ri...@gmail.com <mailto:carlos.ri...@gmail.com>>

    Hello again.

    This questions are probably newbie questions... but I'm having alot
    of doubts.. is there a way to get the access value from the
    MibValueSymbol?

    I would appreciate any kind of help.

    Thanks

    2009/6/2 Carlos Eduardo Rührwiem <carlos.ri...@gmail.com
    <mailto:carlos.ri...@gmail.com>>

        Hello mibble users...

        I've been using the libs since yesterday and I'm having alot of
        troubles when it comes to getting the type name. Is there a way
        for getting the string after the code SYNTAX?

        I read the FAQ but I couldn't do it. =(

        Att,

--
        Carlos Eduardo Rührwiem


--
-- Birgit Arkesteijn, bir...@westhawk.co.uk,
-- Westhawk Ltd, 10th Floor (Regus),
-- 3 Hardman Street, Manchester, M3 3HR, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>


_______________________________________________
Mibble-users mailing list
Mibble-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/mibble-users

Reply via email to