public interface CallListener
| Modifier and Type | Method and Description |
|---|---|
default void |
onComplete(CallCompleted callCompleted)
Callback when a task is completed
|
default void |
onError(CallErrored callErrored)
Callback when a task is cancelled because of an error
|
default void |
onObservableCommandExecutionInfo(SiLACall baseCall,
SiLAFramework.ExecutionInfo executionInfo)
Callback when an Observable Command receives an Execution Info
|
default void |
onObservableCommandInit(SiLACall baseCall,
SiLAFramework.CommandConfirmation command)
Callback when an Observable Command is initialized
|
default void |
onObservableIntermediateResponse(SiLACall baseCall,
com.google.protobuf.DynamicMessage response)
Callback when an Observable Command receives an Intermediate Response
|
default void |
onObservablePropertyUpdate(SiLACall baseCall,
String value)
Callback when an Observable Property receives a Property update
|
default void |
onStart(CallStarted callInProgress)
Callback when a task starts
|
default void onStart(CallStarted callInProgress)
callInProgress - The task in progressdefault void onComplete(CallCompleted callCompleted)
callCompleted - the task completed modeldefault void onError(CallErrored callErrored)
callErrored - the task errored modeldefault void onObservablePropertyUpdate(SiLACall baseCall, String value)
baseCall - The base task modelvalue - The gRPC value encoded as a Stringdefault void onObservableCommandInit(SiLACall baseCall, SiLAFramework.CommandConfirmation command)
baseCall - the base task modelcommand - the command confirmation modeldefault void onObservableCommandExecutionInfo(SiLACall baseCall, SiLAFramework.ExecutionInfo executionInfo)
baseCall - the base task modelexecutionInfo - the command execution information modeldefault void onObservableIntermediateResponse(SiLACall baseCall, com.google.protobuf.DynamicMessage response)
baseCall - the base task modelresponse - the intermediate responseCopyright © 2024 SiLA Java Developers. All rights reserved.