@ProviderType
public interface WireService
Modifier and Type | Method and Description |
---|---|
WireConfiguration |
createWireConfiguration(java.lang.String emitterPid,
java.lang.String receiverPid)
Creates the wire configuration for the provided wire emitter and the wire
receiver.
|
void |
deleteWireConfiguration(WireConfiguration wireConfiguration)
Removes the provided wire configuration for the provided wire emitter and
the wire receiver.
|
java.util.Set<WireConfiguration> |
getWireConfigurations()
Retrieves the set of already created Wire Configurations.
|
WireConfiguration createWireConfiguration(java.lang.String emitterPid, java.lang.String receiverPid) throws KuraException
emitterPid
- the PID of the wire emitter (this PID will internally be used
to retrieve kura.service.pid property of any matching DS
component).receiverPid
- the PID of the wire receiver (this PID will internally be used
to retrieve kura.service.pid property of any matching DS
component).KuraException
- if there are no services associated to the provided emitterPid
or receiverPid
.KuraException
- if the provided emitterPid
does not belong to a Wire
Emitter or if the receiverPid
does not belong to a Wire
Receiver.java.lang.NullPointerException
- if any of the arguments is null.void deleteWireConfiguration(WireConfiguration wireConfiguration)
wireConfiguration
- the wire configuration to be deleted.java.lang.NullPointerException
- if the argument is null.java.lang.IllegalArgumentException
- if the provided argument is illegal or inappropriate.java.util.Set<WireConfiguration> getWireConfigurations()