Class DriveMotionRequest
-
- All Implemented Interfaces:
public abstract class DriveMotionRequest<REQ extends DriveMotionRequest<REQ, RESP>, RESP extends DriveMotionResponseBasic>
The base request object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract class
DriveMotionRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description private final ConnectionMode
connectionMode
private final AssetContext
assetContext
-
Method Summary
Modifier and Type Method Description final ConnectionMode
getConnectionMode()
final AssetContext
getAssetContext()
final Unit
execute(Callback<RESP> callback)
Execute a sync call. final Unit
syncCall(Callback<RESP> callback)
Execute the call synchronously. final Unit
asyncCall(Callback<RESP> callback)
Execute the call asynchronously. String
toString()
-
-
Method Detail
-
getConnectionMode
final ConnectionMode getConnectionMode()
-
getAssetContext
final AssetContext getAssetContext()
-
execute
final Unit execute(Callback<RESP> callback)
Execute a sync call.
- Parameters:
callback
- Customized callback function
-
syncCall
@Deprecated(message = "Using execute() to process request.", replaceWith = @ReplaceWith(imports = {}, expression = "call.execute(callback)")) final Unit syncCall(Callback<RESP> callback)
Execute the call synchronously.
- Parameters:
callback
- Customized callback function
-
asyncCall
@Deprecated(message = "Using execute() to process request.", replaceWith = @ReplaceWith(imports = {}, expression = "call.execute(callback)")) final Unit asyncCall(Callback<RESP> callback)
Execute the call asynchronously.
- Parameters:
callback
- Customized callback function
-
-
-
-