|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nfctools.llcp.AbstractReceivingServiceAccessPoint
public abstract class AbstractReceivingServiceAccessPoint
| Constructor Summary | |
|---|---|
AbstractReceivingServiceAccessPoint()
|
|
| Method Summary | |
|---|---|
boolean |
canAcceptConnection(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nfctools.llcp.ServiceAccessPoint |
|---|
onConnectionActive, onInformation |
| Constructor Detail |
|---|
public AbstractReceivingServiceAccessPoint()
| Method Detail |
|---|
public void onLlcpActive(Llcp llcp)
ServiceAccessPoint
onLlcpActive in interface ServiceAccessPointpublic void onConnectFailed()
ServiceAccessPoint
onConnectFailed in interface ServiceAccessPointpublic void onConnectSucceeded(LlcpSocket llcpSocket)
ServiceAccessPoint
onConnectSucceeded in interface ServiceAccessPointpublic void onSendSucceeded(LlcpSocket llcpSocket)
ServiceAccessPoint
onSendSucceeded in interface ServiceAccessPointpublic void onSendFailed()
ServiceAccessPoint
onSendFailed in interface ServiceAccessPointpublic void onDisconnect()
ServiceAccessPoint
onDisconnect in interface ServiceAccessPointpublic boolean canAcceptConnection(Object[] parameters)
ServiceAccessPoint
canAcceptConnection in interface ServiceAccessPoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||