Package org.onosproject.net.pi.service
Class PiTranslationEvent<T extends PiTranslatable,E extends PiEntity>
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<PiTranslationEvent.Type,PiTranslatedEntity<T,E>>
-
- org.onosproject.net.pi.service.PiTranslationEvent<T,E>
-
- All Implemented Interfaces:
Event<PiTranslationEvent.Type,PiTranslatedEntity<T,E>>
@Beta public final class PiTranslationEvent<T extends PiTranslatable,E extends PiEntity> extends AbstractEvent<PiTranslationEvent.Type,PiTranslatedEntity<T,E>>
Signals an event related to the translation of a protocol-dependent (PD) entity to a protocol-independent (PI) one.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PiTranslationEvent.Type
Type of event.
-
Constructor Summary
Constructors Constructor Description PiTranslationEvent(PiTranslationEvent.Type type, PiTranslatedEntity<T,E> subject)
Creates a new translation event.
-
-
-
Constructor Detail
-
PiTranslationEvent
public PiTranslationEvent(PiTranslationEvent.Type type, PiTranslatedEntity<T,E> subject)
Creates a new translation event.- Parameters:
type
- type of eventsubject
- subject of event
-
-