public interface TransducerStandardInterface
Modifier and Type | Method and Description |
---|---|
TransducerId |
getIdentifier() |
AbstractProbeId[] |
getProbes() |
TupleCentreId |
getTCId() |
void |
notifyEnvEvent(java.lang.String key,
int value,
int mode) |
boolean |
notifyOutput(InternalEvent ev) |
TransducerId getIdentifier()
AbstractProbeId[] getProbes()
TupleCentreId getTCId()
void notifyEnvEvent(java.lang.String key, int value, int mode) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
key
- the key
of the environmental property change to
be notifiedvalue
- the value
of the environmental property change to
be notifiedmode
- if the notification regards a 'sensing' operation or an
'action' operation ('getEnv' and 'setEnv' primitives
respectively)TucsonOperationNotPossibleException
- if the requested operation cannot be performed for some
reasonUnreachableNodeException
- if the TuCSoN tuple centre target of the notification cannot
be reached over the networkOperationTimeOutException
- if the notification operation expires timeoutboolean notifyOutput(InternalEvent ev) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
ev
- the ReSpecT event to be notifiedTucsonOperationNotPossibleException
- if the requested operation cannot be performed for some
reasonUnreachableNodeException
- if the TuCSoN tuple centre target of the notification cannot
be reached over the networkOperationTimeOutException
- if the notification operation expires timeout