org.inria.myriads.snoozenode.comunicator.api
public interface Communicator
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the communicator.
|
void |
sendHeartbeatData(Object data)
Sends Heartbeat Data.
|
void |
sendRegularData(Object data)
Sends Regular data.
|
void sendRegularData(Object data) throws IOException
data
- The data to send.IOException
- Exceptionvoid sendHeartbeatData(Object data) throws IOException
data
- The data to send as heartbeat.IOException
- Exception.void close()
Copyright © 2013. All Rights Reserved.