public abstract class

BaseRemoteManager

extends Object
java.lang.Object
   ↳ com.davidluoye.support.link.BaseRemoteManager<T extends android.os.IInterface>

Summary

Protected Constructors
BaseRemoteManager(Context context, String authority)
BaseRemoteManager(Context context, String authority, String name)
Public Methods
final T getService()
Get service binder form other application.
Protected Methods
abstract T convertService(IBinder remote)
boolean handleAuthorityNotFoundException(String msg)
boolean handleServiceNotFoundException(String msg)
void onServiceDied()
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected BaseRemoteManager (Context context, String authority)

Parameters
context the application environment.
authority the authority declare in AndroidManifest.xml

protected BaseRemoteManager (Context context, String authority, String name)

Parameters
context the application environment.
authority the authority declare in AndroidManifest.xml
name the name of service service

Public Methods

public final T getService ()

Get service binder form other application.

Protected Methods

protected abstract T convertService (IBinder remote)

protected boolean handleAuthorityNotFoundException (String msg)

protected boolean handleServiceNotFoundException (String msg)

protected void onServiceDied ()