public class

RemoteServiceWakeLock

extends Object
java.lang.Object
   ↳ com.davidluoye.support.binder.RemoteServiceWakeLock

Class Overview

It is a convenient utils for communicating between two application processes. In normal binder is always be used between two processes communicate and the one is server and another is client. The two processes both can exit in any time in normal, and it may be caused by crash or killed by lmkd or ams and so on. But when client process register a callback into server process in order to listen some states or events, and then server process exit, the client should wake up the server right now and register the callback again. This is what this class utils do. This utils class is to awake server process again. If you want to know how to register the callback cache, see RemoteListenerCache

Summary

Nested Classes
interface RemoteServiceWakeLock.RemoteProvider  
Public Constructors
RemoteServiceWakeLock(Context context, String author, RemoteServiceWakeLock.RemoteProvider caller)
Public Methods
IInterface getRemoteService()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RemoteServiceWakeLock (Context context, String author, RemoteServiceWakeLock.RemoteProvider caller)

Public Methods

public IInterface getRemoteService ()