Package com.devebot.opflow
Class OpflowRpcResponse
java.lang.Object
com.devebot.opflow.OpflowRpcResponse
public class OpflowRpcResponse extends Object
- Author:
- drupalex
-
Constructor Summary
Constructors Constructor Description OpflowRpcResponse(com.rabbitmq.client.Channel channel, com.rabbitmq.client.AMQP.BasicProperties properties, String workerTag, String replyQueueName) -
Method Summary
Modifier and Type Method Description voidemitCompleted(byte[] result)voidemitCompleted(String result)voidemitFailed(byte[] error)voidemitFailed(String error)voidemitProgress(int completed, int total)voidemitProgress(int completed, int total, String jsonData)voidemitStarted()voidemitStarted(byte[] info)voidemitStarted(String content)StringgetApplicationId()StringgetReplyQueueName()StringgetRequestId()StringgetWorkerTag()
-
Constructor Details
-
Method Details
-
getApplicationId
-
getRequestId
-
getReplyQueueName
-
getWorkerTag
-
emitStarted
public void emitStarted() -
emitStarted
-
emitStarted
public void emitStarted(byte[] info) -
emitProgress
public void emitProgress(int completed, int total) -
emitProgress
-
emitFailed
-
emitFailed
public void emitFailed(byte[] error) -
emitCompleted
-
emitCompleted
public void emitCompleted(byte[] result)
-