public abstract class AbstractReceivingServiceAccessPoint extends java.lang.Object implements ServiceAccessPoint
| Constructor and Description |
|---|
AbstractReceivingServiceAccessPoint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAcceptConnection(java.lang.Object[] parameters)
Called if the other party wants to connect to this service.
|
void |
onConnectFailed()
Called if a connection failed/timed out.
|
void |
onConnectSucceeded(LlcpSocket llcpSocket)
Called if a connection succeeded and the other party is ready to receive data.
|
void |
onDisconnect()
Called if the other party ended the connection or the LLCP stack ended.
|
void |
onLlcpActive(Llcp llcp)
Called if there is a device in range and the LLCP stack is active.
|
void |
onSendFailed()
Called if a sendMessage failed.
|
void |
onSendSucceeded(LlcpSocket llcpSocket)
Called if a sendMessage was successful and the other party responded with receive ready.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonConnectionActive, onInformationpublic void onLlcpActive(Llcp llcp)
ServiceAccessPointonLlcpActive in interface ServiceAccessPointpublic void onConnectFailed()
ServiceAccessPointonConnectFailed in interface ServiceAccessPointpublic void onConnectSucceeded(LlcpSocket llcpSocket)
ServiceAccessPointonConnectSucceeded in interface ServiceAccessPointpublic void onSendSucceeded(LlcpSocket llcpSocket)
ServiceAccessPointonSendSucceeded in interface ServiceAccessPointpublic void onSendFailed()
ServiceAccessPointonSendFailed in interface ServiceAccessPointpublic void onDisconnect()
ServiceAccessPointonDisconnect in interface ServiceAccessPointpublic boolean canAcceptConnection(java.lang.Object[] parameters)
ServiceAccessPointcanAcceptConnection in interface ServiceAccessPointCopyright © 2013. All Rights Reserved.