org.nfctools.snep
Class SnepServer
java.lang.Object
org.nfctools.snep.AbstractSnepImpl
org.nfctools.snep.SnepServer
- All Implemented Interfaces:
- ServiceAccessPoint
public class SnepServer
- extends AbstractSnepImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnepServer
public SnepServer(Sneplet sneplet)
onSendSucceeded
public void onSendSucceeded(LlcpSocket llcpSocket)
- Description copied from interface:
ServiceAccessPoint
- Called if a sendMessage was successful and the other party responded with receive ready.
canAcceptConnection
public boolean canAcceptConnection(Object[] parameters)
- Description copied from interface:
ServiceAccessPoint
- Called if the other party wants to connect to this service.
- Returns:
processMessage
protected byte[] processMessage(SnepMessage snepMessage)
- Specified by:
processMessage in class AbstractSnepImpl
Copyright © 2012. All Rights Reserved.