com.motorola.oem.ipd
Interface IpDirectorAvailabilityListener
public interface IpDirectorAvailabilityListener
A listener for IP Director(IPD) state changed event.
Implementing class will be able to listen on IPD state events.
Code handling events should reside in onIpdStateChanged(int)
method implementation.
- See Also:
LocalSocketManager.setIpDirectorListener(com.motorola.oem.ipd.IpDirectorAvailabilityListener)
Method Summary |
void |
onIpdStateChanged(int ipdNewState)
IP Director state change event listener. |
onIpdStateChanged
void onIpdStateChanged(int ipdNewState)
- IP Director state change event listener.
All the local sockets creation/closure should be managed within this method.
NOTE: The implementation of this method MUST return quickly and MUST NOT perform any extensive operations. The application SHOULD NOT receive and handle the message during this method call. Instead, it should act only as a trigger to start the activity in the application's own thread.
- Parameters:
ipdNewState
- IPD state, LocalSocketManager.IPD_STATE_ACTIVE
or LocalSocketManager.IPD_STATE_INACTIVE
- See Also:
LocalSocketManager