Package org.correomqtt.business.services
Class ConnectService
- java.lang.Object
-
- org.correomqtt.business.services.ConnectService
-
- All Implemented Interfaces:
BusinessService
public class ConnectService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringconnectionId
-
Constructor Summary
Constructors Constructor Description ConnectService(String connectionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect()voidonCancelled()voidonFailed(Throwable exception)voidonRunning()voidonScheduled()voidonSucceeded()
-
-
-
Field Detail
-
connectionId
protected final String connectionId
-
-
Constructor Detail
-
ConnectService
public ConnectService(String connectionId)
-
-
Method Detail
-
connect
public void connect()
-
onSucceeded
public void onSucceeded()
-
onCancelled
public void onCancelled()
-
onFailed
public void onFailed(Throwable exception)
-
onRunning
public void onRunning()
-
onScheduled
public void onScheduled()
-
-