public class PiPipeconfEvent extends AbstractEvent<PiPipeconfEvent.Type,PiPipeconfId>
| Modifier and Type | Class and Description |
|---|---|
static class |
PiPipeconfEvent.Type
Type of pipeconf event.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
PiPipeconf |
pipeconf()
Returns the pipeconf instance associated to this event, or null if one
was not provided.
|
subject, time, toString, typepublic PiPipeconfEvent(PiPipeconfEvent.Type type, PiPipeconf pipeconf)
type - type of eventpipeconf - pipeconfpublic PiPipeconfEvent(PiPipeconfEvent.Type type, PiPipeconfId pipeconfId)
type - type of eventpipeconfId - pipeconf IDpublic PiPipeconf pipeconf()
PiPipeconfEvent.Type.UNREGISTERED events are not
expected to carry the pipeconf instance that was unregistered, but just
the ID (via AbstractEvent.subject()).