# Class: com.pnfsoftware.jeb.core.units.code.asm.memory.MemoryEvent

Base class for a memory event. Events are issued by [IVirtualMemory](IVirtualMemory) objects to their listeners.

## Constructor: MemoryEvent
- parameter: `address`, type: `long`
- parameter: `size`, type: `int`
- parameter: `protection`, type: `int`

Description: Create a memory event.
parameter: address: event address
parameter: size: event size in bytes
parameter: protection: memory protection flags

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

Description: Get the event address.
return: event address

## Method: getProtection
- return type: `int`

Description: Get the memory protection flags.
return: memory protection flags

## Method: getSize
- return type: `int`

Description: Get the event size.
return: event size in bytes

