Public Member Functions
org.ros.node.DefaultNodeListener Class Reference
Inheritance diagram for org.ros.node.DefaultNodeListener:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void onError (Node node, Throwable throwable)
void onShutdown (Node node)
void onShutdownComplete (Node node)
void onStart (ConnectedNode connectedNode)

Detailed Description

A NodeListener which provides empty defaults for all signals.

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 24 of file DefaultNodeListener.java.


Member Function Documentation

void org.ros.node.DefaultNodeListener.onError ( Node  node,
Throwable  throwable 
) [inline]

Called when the Node experiences an unrecoverable error.

Parameters:
nodethe Node that experienced the error
throwablethe Throwable describing the error condition

Implements org.ros.node.NodeListener.

Definition at line 39 of file DefaultNodeListener.java.

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.

Parameters:
nodethe Node that has started shutting down

Implements org.ros.node.NodeListener.

Definition at line 31 of file DefaultNodeListener.java.

Called when the Node has shut down.

Parameters:
nodethe Node that has shut down

Implements org.ros.node.NodeListener.

Definition at line 35 of file DefaultNodeListener.java.

void org.ros.node.DefaultNodeListener.onStart ( ConnectedNode  connectedNode) [inline]

Called when the Node has started and successfully connected to the master.

Parameters:
connectedNodethe ConnectedNode that has been started

Implements org.ros.node.NodeListener.

Definition at line 27 of file DefaultNodeListener.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:51