broker/IConnectisoManager: code formatter used
This commit is contained in:
@@ -1,15 +1,16 @@
|
|||||||
|
|
||||||
package io.moquette.connections;
|
package io.moquette.connections;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This interface will be used by an external codebase to retrieve and close
|
* This interface will be used by an external codebase to retrieve and close physical connections.
|
||||||
* physical connections.
|
|
||||||
*
|
*
|
||||||
* @author lbarrios
|
* @author lbarrios
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface IConnectionsManager {
|
public interface IConnectionsManager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the number of physical connections
|
* Returns the number of physical connections
|
||||||
*
|
*
|
||||||
@@ -26,8 +27,7 @@ public interface IConnectionsManager {
|
|||||||
public boolean isConnected(String clientID);
|
public boolean isConnected(String clientID);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the identifiers of the MQTT clients that are connected to the
|
* Returns the identifiers of the MQTT clients that are connected to the broker.
|
||||||
* broker.
|
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@@ -45,6 +45,7 @@ public interface IConnectionsManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the state of the session of a given client.
|
* Returns the state of the session of a given client.
|
||||||
|
*
|
||||||
* @param clientID
|
* @param clientID
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@@ -52,6 +53,7 @@ public interface IConnectionsManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the state of all the sessions
|
* Returns the state of all the sessions
|
||||||
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public Collection<MqttSession> getSessions();
|
public Collection<MqttSession> getSessions();
|
||||||
|
|||||||
Reference in New Issue
Block a user