Class UltrasonicRangerInputReply
java.lang.Object
pt.unl.fct.di.novasys.babel.generic.ProtoIPC
pt.unl.fct.di.novasys.babel.generic.ProtoReply
pt.unl.fct.di.tardis.babel.iot.api.replies.IoTInputReply
pt.unl.fct.di.tardis.babel.iot.controlprotocols.replies.UltrasonicRangerInputReply
-
Nested Class Summary
Nested classes/interfaces inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoIPC
pt.unl.fct.di.novasys.babel.generic.ProtoIPC.Type -
Field Summary
FieldsFields inherited from class pt.unl.fct.di.tardis.babel.iot.api.replies.IoTInputReply
deviceAlias, deviceType, errorCode, errorMessage, handle -
Constructor Summary
ConstructorsConstructorDescriptionUltrasonicRangerInputReply(short repID, DeviceHandle handle, InputType.UltrasonicRanger inputType, long distance) UltrasonicRangerInputReply(short repID, DeviceType type, String alias, ErrorCode e, String err) UltrasonicRangerInputReply(DeviceHandle handle, InputType.UltrasonicRanger inputType, long distance) UltrasonicRangerInputReply(DeviceType type, String alias, ErrorCode e, String err) -
Method Summary
Methods inherited from class pt.unl.fct.di.tardis.babel.iot.api.replies.IoTInputReply
getDeviceAlias, getDeviceHandle, getDeviceType, getErrorCode, getErrorMessage, isSuccessfulMethods inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoReply
getIdMethods inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoIPC
getType
-
Field Details
-
REPLY_ID
public static final short REPLY_ID- See Also:
-
-
Constructor Details
-
UltrasonicRangerInputReply
-
UltrasonicRangerInputReply
public UltrasonicRangerInputReply(short repID, DeviceType type, String alias, ErrorCode e, String err) -
UltrasonicRangerInputReply
public UltrasonicRangerInputReply(DeviceHandle handle, InputType.UltrasonicRanger inputType, long distance) -
UltrasonicRangerInputReply
public UltrasonicRangerInputReply(short repID, DeviceHandle handle, InputType.UltrasonicRanger inputType, long distance)
-
-
Method Details
-
getInputType
-
getDistance
public long getDistance()
-