Package org.onosproject.net.pi.service
Class PiPipeconfEvent
- java.lang.Object
- 
- org.onosproject.event.AbstractEvent<PiPipeconfEvent.Type,PiPipeconfId>
- 
- org.onosproject.net.pi.service.PiPipeconfEvent
 
 
- 
- All Implemented Interfaces:
- Event<PiPipeconfEvent.Type,PiPipeconfId>
 
 public class PiPipeconfEvent extends AbstractEvent<PiPipeconfEvent.Type,PiPipeconfId> Event related to the PiPipeconfService.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPiPipeconfEvent.TypeType of pipeconf event.
 - 
Constructor SummaryConstructors Constructor Description PiPipeconfEvent(PiPipeconfEvent.Type type, PiPipeconf pipeconf)Creates anew pipeconf event for the given type and pipeconf.PiPipeconfEvent(PiPipeconfEvent.Type type, PiPipeconfId pipeconfId)Creates anew pipeconf event for the given type and pipeconf ID.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PiPipeconfpipeconf()Returns the pipeconf instance associated to this event, or null if one was not provided.- 
Methods inherited from class org.onosproject.event.AbstractEventsubject, time, toString, type
 
- 
 
- 
- 
- 
Constructor Detail- 
PiPipeconfEventpublic PiPipeconfEvent(PiPipeconfEvent.Type type, PiPipeconf pipeconf) Creates anew pipeconf event for the given type and pipeconf.- Parameters:
- type- type of event
- pipeconf- pipeconf
 
 - 
PiPipeconfEventpublic PiPipeconfEvent(PiPipeconfEvent.Type type, PiPipeconfId pipeconfId) Creates anew pipeconf event for the given type and pipeconf ID.- Parameters:
- type- type of event
- pipeconfId- pipeconf ID
 
 
- 
 - 
Method Detail- 
pipeconfpublic PiPipeconf pipeconf() Returns the pipeconf instance associated to this event, or null if one was not provided. For example,PiPipeconfEvent.Type.UNREGISTEREDevents are not expected to carry the pipeconf instance that was unregistered, but just the ID (viaAbstractEvent.subject()).- Returns:
- pipeconf instance or null
 
 
- 
 
-