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