| java.lang.Object |
| ↳ |
com.davidluoye.support.link.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
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
IInterface
getRemoteService
()