public class SnepServer extends AbstractSnepImpl
continueMessage, fragmentIterator, maxInformationUnit, reader, snepVersion| Constructor and Description |
|---|
SnepServer(Sneplet sneplet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAcceptConnection(Object[] parameters)
Called if the other party wants to connect to this service.
|
void |
onSendSucceeded(LlcpSocket llcpSocket)
Called if a sendMessage was successful and the other party responded with receive ready.
|
protected byte[] |
processMessage(SnepMessage snepMessage) |
onConnectFailed, onConnectionActive, onConnectSucceeded, onDisconnect, onInformation, onLlcpActive, onSendFailedpublic SnepServer(Sneplet sneplet)
public void onSendSucceeded(LlcpSocket llcpSocket)
ServiceAccessPointpublic boolean canAcceptConnection(Object[] parameters)
ServiceAccessPointprotected byte[] processMessage(SnepMessage snepMessage)
processMessage in class AbstractSnepImplCopyright © 2013. All Rights Reserved.