|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nfctools.snep.AbstractSnepImpl
org.nfctools.snep.SnepClient
public class SnepClient
| Field Summary |
|---|
| Fields inherited from class org.nfctools.snep.AbstractSnepImpl |
|---|
continueMessage, fragmentIterator, maxInformationUnit, reader, snepVersion |
| Constructor Summary | |
|---|---|
SnepClient()
|
|
| Method Summary | |
|---|---|
boolean |
canAcceptConnection(Object[] parameters)
Called if the other party wants to connect to this service. |
void |
onConnectionActive(LlcpSocket llcpSocket)
Called if this Service has an active connection. |
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 |
onSendSucceeded(LlcpSocket llcpSocket)
Called if a sendMessage was successful and the other party responded with receive ready. |
protected byte[] |
processMessage(SnepMessage snepMessage)
|
void |
setSnepAgentListener(SnepAgentListener snepAgentListener)
|
| Methods inherited from class org.nfctools.snep.AbstractSnepImpl |
|---|
onConnectFailed, onInformation, onSendFailed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SnepClient()
| Method Detail |
|---|
public void setSnepAgentListener(SnepAgentListener snepAgentListener)
public void onLlcpActive(Llcp llcp)
ServiceAccessPoint
onLlcpActive in interface ServiceAccessPointonLlcpActive in class AbstractSnepImplpublic void onConnectionActive(LlcpSocket llcpSocket)
ServiceAccessPoint
onConnectionActive in interface ServiceAccessPointonConnectionActive in class AbstractSnepImplpublic void onConnectSucceeded(LlcpSocket llcpSocket)
ServiceAccessPoint
onConnectSucceeded in interface ServiceAccessPointonConnectSucceeded in class AbstractSnepImplpublic void onDisconnect()
ServiceAccessPoint
onDisconnect in interface ServiceAccessPointonDisconnect in class AbstractSnepImplpublic void onSendSucceeded(LlcpSocket llcpSocket)
ServiceAccessPoint
public boolean canAcceptConnection(Object[] parameters)
ServiceAccessPoint
protected byte[] processMessage(SnepMessage snepMessage)
processMessage in class AbstractSnepImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||