Public Member Functions | |
void | onError (Node node, Throwable throwable) |
void | onShutdown (Node node) |
void | onShutdownComplete (Node node) |
void | onStart (ConnectedNode connectedNode) |
Definition at line 52 of file DefaultNodeMainExecutor.java.
void org.ros.node.DefaultNodeMainExecutor.RegistrationListener.onError | ( | Node | node, |
Throwable | throwable | ||
) | [inline] |
Called when the Node experiences an unrecoverable error.
node | the Node that experienced the error |
throwable | the Throwable describing the error condition |
Implements org.ros.node.NodeListener.
Definition at line 68 of file DefaultNodeMainExecutor.java.
void org.ros.node.DefaultNodeMainExecutor.RegistrationListener.onShutdown | ( | Node | node | ) | [inline] |
Called when the ConnectedNode has started shutting down. Shutdown will be delayed, although not indefinitely, until all NodeListeners have returned from this method.
Since this method can potentially delay ConnectedNode shutdown, it is preferred to use onShutdownComplete(Node) when ConnectedNode resources are not required during the method call.
node | the Node that has started shutting down |
Implements org.ros.node.NodeListener.
Definition at line 59 of file DefaultNodeMainExecutor.java.
void org.ros.node.DefaultNodeMainExecutor.RegistrationListener.onShutdownComplete | ( | Node | node | ) | [inline] |
Called when the Node has shut down.
node | the Node that has shut down |
Implements org.ros.node.NodeListener.
Definition at line 63 of file DefaultNodeMainExecutor.java.
void org.ros.node.DefaultNodeMainExecutor.RegistrationListener.onStart | ( | ConnectedNode | connectedNode | ) | [inline] |
Called when the Node has started and successfully connected to the master.
connectedNode | the ConnectedNode that has been started |
Implements org.ros.node.NodeListener.
Definition at line 54 of file DefaultNodeMainExecutor.java.