public class ActuatorTransducer extends AbstractTransducer
Constructor and Description |
---|
ActuatorTransducer(TransducerId i,
TupleCentreId tc) |
Modifier and Type | Method and Description |
---|---|
boolean |
getEnv(java.lang.String key)
The behavior of the transducer when a getEnv operation is required
|
void |
operationCompleted(AbstractTupleCentreOperation op) |
void |
operationCompleted(ITucsonOperation op) |
boolean |
setEnv(java.lang.String key,
int value)
The behavior of the transducer when a setEnv operation is required
|
addProbe, exit, getIdentifier, getProbes, getTCId, notifyEnvEvent, notifyOutput, removeProbe, speak, speakErr
public ActuatorTransducer(TransducerId i, TupleCentreId tc)
i
- the transducer idtc
- the tuple centre idpublic boolean getEnv(java.lang.String key)
AbstractTransducer
getEnv
in class AbstractTransducer
key
- the environmental property key whose associated value should
be perceviedpublic void operationCompleted(AbstractTupleCentreOperation op)
op
- the operation completedpublic void operationCompleted(ITucsonOperation op)
op
- the TuCSoN operation just completedpublic boolean setEnv(java.lang.String key, int value)
AbstractTransducer
setEnv
in class AbstractTransducer
key
- name of the parameter to setvalue
- value of the parameter to set