public final class EventUtils extends Object
Constructor and Description |
---|
EventUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkInterfaceOrIfIndex(Event e)
Ensures the given event has an interface or ifIndex
|
static void |
checkNodeId(Event e)
Ensures that the given Event has a node id
|
static void |
checkService(Event e)
Ensures that the given Event has a node id
|
public static void checkInterfaceOrIfIndex(Event e) throws InsufficientInformationException
e
- the eventInsufficientInformationException
- if neither an interface nor an ifIndex is availablepublic static void checkNodeId(Event e) throws InsufficientInformationException
e
- the eventInsufficientInformationException
- if a node id is not availablepublic static void checkService(Event e) throws InsufficientInformationException
e
- the eventInsufficientInformationException
- if a node id is not availableCopyright © 2015. All rights reserved.