@Beta
public interface PiPipeconfService
| Modifier and Type | Method and Description |
|---|---|
void |
bindToDevice(PiPipeconfId pipeconf,
DeviceId deviceId)
Binds the given pipeconf to the given infrastructure device.
|
Optional<PiPipeconf> |
getPipeconf(PiPipeconfId id)
Returns the pipeconf instance associated with the given identifier, if present.
|
Iterable<PiPipeconf> |
getPipeconfs()
Returns all pipeconfs registered.
|
Optional<PiPipeconfId> |
ofDevice(DeviceId deviceId)
Returns the pipeconf identifier currently associated with the given device identifier, if
present.
|
void |
register(PiPipeconf pipeconf)
Registers the given pipeconf.
|
void register(PiPipeconf pipeconf) throws IllegalStateException
pipeconf - a pipeconfIllegalStateException - if the same pipeconf identifier is already registered.Iterable<PiPipeconf> getPipeconfs()
Optional<PiPipeconf> getPipeconf(PiPipeconfId id)
id - a pipeconf identifiervoid bindToDevice(PiPipeconfId pipeconf, DeviceId deviceId)
deviceId - a device identifierpipeconf - a pipeconf identifierOptional<PiPipeconfId> ofDevice(DeviceId deviceId)
deviceId - device identifier