public class ALSystem extends ALProxy
| Modifier and Type | Method and Description |
|---|---|
void |
changePassword(java.lang.String oldPassword,
java.lang.String newPassword)
Change the user password.
|
void |
clearStats() |
java.util.List<Tuple4<java.lang.String,java.lang.String,java.lang.Long,java.lang.Long>> |
diskFree(java.lang.Boolean all)
Display free disk space
|
void |
exit()
Exits and unregisters the module.
|
java.lang.Integer |
freeMemory()
Amount of available memory in heap
|
java.lang.String |
getBrokerName()
Gets the name of the parent broker.
|
java.lang.Object |
getMethodHelp(java.lang.String methodName)
Retrieves a method's description.
|
java.util.List<java.lang.String> |
getMethodList()
Retrieves the module's method list.
|
java.lang.Object |
getModuleHelp()
Retrieves the module's description.
|
java.lang.String |
getUsage(java.lang.String name)
Gets the method usage string.
|
java.lang.Boolean |
isRunning(java.lang.Integer id)
Returns true if the method is currently running.
|
java.lang.Boolean |
isStatsEnabled() |
java.lang.Boolean |
isTraceEnabled() |
java.lang.Boolean |
ping()
Just a ping.
|
java.lang.String |
previousSystemVersion()
Previous system version before software update (empty if this is not the 1st boot after a software update)
|
void |
reboot()
Reboot robot
|
java.lang.Object |
robotIcon()
Robot icon
|
java.lang.String |
robotName()
System hostname
|
java.lang.Boolean |
setRobotName(java.lang.String name)
Set system hostname
|
java.lang.Boolean |
setTimezone(java.lang.String timezone)
Set current timezone
|
void |
shutdown()
Shutdown robot
|
void |
stop(java.lang.Integer id)
returns true if the method is currently running
|
Tuple3<java.lang.String,java.lang.String,java.lang.String> |
systemInfo()
Running system version
|
java.lang.String |
systemVersion()
Running system version
|
java.lang.String |
timezone()
Current timezone
|
java.lang.Integer |
totalMemory()
Amount of total memory in heap
|
void |
upgrade(java.lang.String image,
java.lang.String checksum)
Change the user password.
|
java.lang.String |
version()
Returns the version of the module.
|
java.lang.Boolean |
wait(java.lang.Integer id,
java.lang.Integer timeoutPeriod)
Wait for the end of a long running method that was called using 'post'
|
call, connect, connect, disconnect, getNaoqiType, getService, isProxyReady, setServicepublic ALSystem(Session session) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Boolean isStatsEnabled()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic void clearStats()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.Boolean isTraceEnabled()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic void exit()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.String version()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.Boolean ping()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.util.List<java.lang.String> getMethodList()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.Object getMethodHelp(java.lang.String methodName)
throws CallError,
java.lang.InterruptedException
methodName - The name of the method.CallErrorjava.lang.InterruptedExceptionpublic java.lang.Object getModuleHelp()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.Boolean wait(java.lang.Integer id,
java.lang.Integer timeoutPeriod)
throws CallError,
java.lang.InterruptedException
id - The ID of the method that was returned when calling the method using 'post'timeoutPeriod - The timeout period in ms. To wait indefinately, use a timeoutPeriod of zero.CallErrorjava.lang.InterruptedExceptionpublic java.lang.Boolean isRunning(java.lang.Integer id)
throws CallError,
java.lang.InterruptedException
id - The ID of the method that was returned when calling the method using 'post'CallErrorjava.lang.InterruptedExceptionpublic void stop(java.lang.Integer id)
throws CallError,
java.lang.InterruptedException
id - the ID of the method to wait forCallErrorjava.lang.InterruptedExceptionpublic java.lang.String getBrokerName()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.String getUsage(java.lang.String name)
throws CallError,
java.lang.InterruptedException
name - The name of the method.CallErrorjava.lang.InterruptedExceptionpublic java.util.List<Tuple4<java.lang.String,java.lang.String,java.lang.Long,java.lang.Long>> diskFree(java.lang.Boolean all) throws CallError, java.lang.InterruptedException
all - Show all mount partions.CallErrorjava.lang.InterruptedExceptionpublic java.lang.String robotName()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.Boolean setRobotName(java.lang.String name)
throws CallError,
java.lang.InterruptedException
name - name to useCallErrorjava.lang.InterruptedExceptionpublic java.lang.Object robotIcon()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic void shutdown()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic void reboot()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.String systemVersion()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic Tuple3<java.lang.String,java.lang.String,java.lang.String> systemInfo() throws CallError, java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.Integer freeMemory()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.Integer totalMemory()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.String timezone()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic java.lang.Boolean setTimezone(java.lang.String timezone)
throws CallError,
java.lang.InterruptedException
timezone - timezone to useCallErrorjava.lang.InterruptedExceptionpublic java.lang.String previousSystemVersion()
throws CallError,
java.lang.InterruptedException
CallErrorjava.lang.InterruptedExceptionpublic void changePassword(java.lang.String oldPassword,
java.lang.String newPassword)
throws CallError,
java.lang.InterruptedException
old - password The current password of the user.new - password The new user password.CallErrorjava.lang.InterruptedExceptionpublic void upgrade(java.lang.String image,
java.lang.String checksum)
throws CallError,
java.lang.InterruptedException
image - Local path to a valid image.checksum - Local path to a md5 checksum file, or empty string for no verificationCallErrorjava.lang.InterruptedExceptionAldebaran SDK for Java
Copyright 2006-2015 Aldebaran Robotics. All Rights Reserved.