1 parent
f04d2c3260
commit
d0f9791b20
1 file changed
+7
@@ -146,6 +146,8 @@ public class MQTTClient {
|
||||
Matcher matcher = pattern.matcher(topic);
|
||||
|
||||
if (matcher.matches())
|
||||
{
|
||||
try
|
||||
{
|
||||
int xStart = Integer.parseInt(matcher.group(1));
|
||||
int xEnd = Integer.parseInt(matcher.group(2));
|
||||
@@ -156,6 +158,11 @@ public class MQTTClient {
|
||||
|
||||
RequestManager.addRequest(request);
|
||||
}
|
||||
catch (NumberFormatException e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (topic.equals("loon/server/info/request")) {
|
||||
RequestManager.addRequest(new ServerInfoRequest());
|
||||
|
||||
Reference in new issue
Block a user