Class NativeItemEvent
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.items.NativeItemEvent
Event class for
native items.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNativeItemEvent(NativeItemEventType eventType, INativeItem item) Create a native item event without subtype or details.NativeItemEvent(NativeItemEventType eventType, INativeItem item, NativeItemEventSubType eventSubtype, Object eventDetails) Create a native item event. -
Method Summary
-
Field Details
-
ttl
public int ttl
-
-
Constructor Details
-
NativeItemEvent
public NativeItemEvent(NativeItemEventType eventType, INativeItem item, NativeItemEventSubType eventSubtype, Object eventDetails) Create a native item event.- Parameters:
eventType- mandatoryitem- mandatoryeventSubtype- optionaleventDetails- optional
-
NativeItemEvent
Create a native item event without subtype or details.- Parameters:
eventType- mandatory event typeitem- mandatory item
-
-
Method Details
-
getType
Get the event type.- Returns:
- event type
-
getItem
Get the event item.- Returns:
- native item
-
getSubtype
Get the event subtype.- Returns:
- event subtype, or null if none was provided
-
getDetails
Get additional event details.- Returns:
- event details, or null if none was provided
-
toString
-