dverstap/jsmiparser — pull request #4 by jeffgdotorg (2012-10-11 20:34:00+00:00)
Title: Added support for NOTIFICATION-TYPE and TRAP-TYPE macros

This series of changes extends the grammar and the other classes to support TRAP-TYPE (the macro describing the TRAP PDU from the original SNMP SMI) and NOTIFICATION-TYPE (describing the V2-TRAP PDU from SMIv2). It also adds an interface, implementations, and a factory in jsmiparser-api:org.jsmiparser.util.traps that makes it easy to interact with either an SmiTrapType or an SmiNotificationType in a consistent way as specified in RFC1908. Finally, it applies the Gradle OSGi plugin on all subprojects so that the resulting JAR artifacts are valid OSGi bundles.