Classes | |
interface | AfterConnectionCallback |
Public Member Functions | |
DefaultTangoServiceConnection (AfterConnectionCallback callback) | |
void | onServiceConnected (ComponentName name, IBinder service) |
void | onServiceDisconnected (ComponentName name) |
Private Attributes | |
AfterConnectionCallback | connectionErrorCallback |
Class that simplifies the second stage of the Tango binding process. An instance of this connection can be sent to bindTangoService for default behaviour. A callback can be executed by overriding AfterConnectionCallback when creating an instance of this object. At that point, state variables mIsTangoServiceBound and mIsTangoVersionOk should be already set, so that different cases can be handled.
Definition at line 234 of file TangoInitializationHelper.java.
eu.intermodalics.nodelet_manager.TangoInitializationHelper.DefaultTangoServiceConnection.DefaultTangoServiceConnection | ( | AfterConnectionCallback | callback | ) | [inline] |
Definition at line 238 of file TangoInitializationHelper.java.
void eu.intermodalics.nodelet_manager.TangoInitializationHelper.DefaultTangoServiceConnection.onServiceConnected | ( | ComponentName | name, |
IBinder | service | ||
) | [inline] |
Definition at line 246 of file TangoInitializationHelper.java.
void eu.intermodalics.nodelet_manager.TangoInitializationHelper.DefaultTangoServiceConnection.onServiceDisconnected | ( | ComponentName | name | ) | [inline] |
Definition at line 256 of file TangoInitializationHelper.java.
AfterConnectionCallback eu.intermodalics.nodelet_manager.TangoInitializationHelper.DefaultTangoServiceConnection.connectionErrorCallback [private] |
Definition at line 236 of file TangoInitializationHelper.java.