# Class: com.pnfsoftware.jeb.util.events.Event

Simple implementation of an event.

## Constructor: Event

Description: Create an event with type 0 and no data.

## Constructor: Event
- parameter: `type`, type: `int`

Description: Create an event with no data.
parameter: type: event type

## Constructor: Event
- parameter: `type`, type: `int`
- parameter: `data`, type: `java.lang.Object`

Description: Create an event.
parameter: type: event type
parameter: data: optional event payload

## Constructor: Event
- parameter: `type`, type: `int`
- parameter: `data`, type: `java.lang.Object`
- parameter: `source`, type: `com.pnfsoftware.jeb.util.events.EventSource`

Description: Create an event with an explicit source.
parameter: type: event type
parameter: data: optional event payload
parameter: source: event source

## Static Field: ccnt
Type: `java.util.concurrent.atomic.AtomicInteger`

## Method: getData
- return type: `java.lang.Object`

Description: Get the event payload.
return: the event payload, or null if none was provided

## Method: getSource
- return type: `com.pnfsoftware.jeb.util.events.IEventSource`

Description: Get the source that emitted this event.
return: the event source, or null if it has not been assigned

## Method: getTimestamp
- return type: `long`

Description: Get the event creation timestamp.
return: epoch\-relative timestamp in milliseconds

## Method: getType
- return type: `java.lang.Integer`

Description: Get the event type.
return: the event type

## Method: shouldStopPropagation
- return type: `boolean`

Description: Determine whether propagation should stop.
return: true if the event should not be propagated to additional listeners

