|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.data.remote.restful.ServiceManager
public class ServiceManager
The ServiceManager is the one who connect the service and manage their Callbacks
Nested Class Summary | |
---|---|
class |
ServiceManager.RestfulServiceConnection
To do the Connection in the service with the callbaks |
Field Summary | |
---|---|
RemoteDataHandler |
restfulService
|
Constructor Summary | |
---|---|
ServiceManager(Context context)
Constructor class |
Method Summary | |
---|---|
void |
bindService()
To bind the Service |
void |
destroy()
Destroy the service |
void |
setHandler(Handler handler)
Set the handler to retrive the Callbacks to an application |
void |
startService()
To start the service |
void |
stopService()
To stop the service |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public RemoteDataHandler restfulService
Constructor Detail |
---|
public ServiceManager(Context context)
context
- Context applicationMethod Detail |
---|
public void bindService()
public void destroy()
public void setHandler(Handler handler)
handler
- public void startService()
public void stopService()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |