public final class ConnectionManager extends Object implements IConnectionManager
Constructor and Description |
---|
ConnectionManager(org.osgi.framework.BundleContext context,
IEventService eventService) |
Modifier and Type | Method and Description |
---|---|
void |
connect(Connection connection)
Connect to a MQTT connection
|
void |
disconnect(Connection connection)
Disconnect from a MQTT connection
|
void |
start()
start the connection manager
|
void |
stop()
Stop
|
public ConnectionManager(org.osgi.framework.BundleContext context, IEventService eventService)
context
- eventService
- public void start()
public void connect(Connection connection)
IConnectionManager
connect
in interface IConnectionManager
public void disconnect(Connection connection)
IConnectionManager
disconnect
in interface IConnectionManager
public void stop()
Copyright © 2019 Eclipse Paho. All rights reserved.