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