public class NodeMainExecutorService
extends Service
implements org.ros.node.NodeMainExecutor
Constructor and Description |
---|
NodeMainExecutorService() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(NodeMainExecutorServiceListener listener) |
void |
execute(org.ros.node.NodeMain nodeMain,
org.ros.node.NodeConfiguration nodeConfiguration) |
void |
execute(org.ros.node.NodeMain nodeMain,
org.ros.node.NodeConfiguration nodeConfiguration,
java.util.Collection<org.ros.node.NodeListener> nodeListeneners) |
java.net.URI |
getMasterUri() |
java.util.concurrent.ScheduledExecutorService |
getScheduledExecutorService() |
IBinder |
onBind(Intent intent) |
void |
onCreate() |
void |
onDestroy() |
int |
onStartCommand(Intent intent,
int flags,
int startId) |
void |
setMasterUri(java.net.URI uri) |
void |
shutdown() |
void |
shutdownNodeMain(org.ros.node.NodeMain nodeMain) |
void |
startMaster()
Deprecated.
use
void startMaster(Boolean isPrivate) instead. |
void |
startMaster(java.lang.Boolean isPrivate) |
public void onCreate()
public void execute(org.ros.node.NodeMain nodeMain, org.ros.node.NodeConfiguration nodeConfiguration, java.util.Collection<org.ros.node.NodeListener> nodeListeneners)
execute
in interface org.ros.node.NodeMainExecutor
public void execute(org.ros.node.NodeMain nodeMain, org.ros.node.NodeConfiguration nodeConfiguration)
execute
in interface org.ros.node.NodeMainExecutor
public java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
getScheduledExecutorService
in interface org.ros.node.NodeMainExecutor
public void shutdownNodeMain(org.ros.node.NodeMain nodeMain)
shutdownNodeMain
in interface org.ros.node.NodeMainExecutor
public void shutdown()
shutdown
in interface org.ros.node.NodeMainExecutor
public void addListener(NodeMainExecutorServiceListener listener)
public void onDestroy()
public int onStartCommand(Intent intent, int flags, int startId)
public IBinder onBind(Intent intent)
public java.net.URI getMasterUri()
public void setMasterUri(java.net.URI uri)
@Deprecated public void startMaster()
void startMaster(Boolean isPrivate)
instead.public void startMaster(java.lang.Boolean isPrivate)