public abstract class Communication extends java.lang.Object implements IMqttHandler
Modifier and Type | Field and Description |
---|---|
protected int |
robotId |
protected RobotMqttClient |
robotMqttClient |
Constructor and Description |
---|
Communication(int robotId,
RobotMqttClient m) |
Modifier and Type | Method and Description |
---|---|
abstract void |
sendMessage(java.lang.String msg) |
abstract void |
sendMessage(java.lang.String msg,
int distance) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleSubscription
protected RobotMqttClient robotMqttClient
protected int robotId
public Communication(int robotId, RobotMqttClient m)