public interface Consolecli extends Service, ConsolecliTypes
Consolecli
interface provides methods Get/Set enabled state of CLI._VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
boolean |
get()
Get enabled state of the console-based controlled CLI (TTY1).
|
void |
get(AsyncCallback<java.lang.Boolean> asyncCallback)
Get enabled state of the console-based controlled CLI (TTY1).
|
void |
get(AsyncCallback<java.lang.Boolean> asyncCallback,
InvocationConfig invocationConfig)
Get enabled state of the console-based controlled CLI (TTY1).
|
boolean |
get(InvocationConfig invocationConfig)
Get enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled)
Set enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled,
AsyncCallback<java.lang.Void> asyncCallback)
Set enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled,
InvocationConfig invocationConfig)
Set enabled state of the console-based controlled CLI (TTY1).
|
void set(boolean enabled)
Synchronous method overload. Result of the invocation will be reported as a method return value.
enabled
- Console-based controlled CLI is enabled.Error
- Generic errorvoid set(boolean enabled, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
enabled
- Console-based controlled CLI is enabled.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(boolean enabled, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
enabled
- Console-based controlled CLI is enabled.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(boolean enabled, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
enabled
- Console-based controlled CLI is enabled.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.boolean get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorboolean get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid get(AsyncCallback<java.lang.Boolean> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Console-based controlled CLI is enabled.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<java.lang.Boolean> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Console-based controlled CLI is enabled.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.