CompletionMessage 类

public final class CompletionMessage extends HubMessage

构造函数摘要

构造函数 说明
CompletionMessage(Map<String,String> headers, String invocationId, Object result, String error)

方法摘要

修饰符和类型 方法和描述
java.lang.String getError()
java.util.Map<java.lang.String,java.lang.String> getHeaders()
java.lang.String getInvocationId()
HubMessageType getMessageType()
java.lang.Object getResult()

继承成员

HubMessage.getMessageType() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

构造函数详细信息

CompletionMessage

public CompletionMessage(Map headers, String invocationId, Object result, String error)

Parameters:

headers
invocationId
result
error

方法详细信息

getError

public String getError()

getHeaders

public Map getHeaders()

getInvocationId

public String getInvocationId()

getMessageType

public HubMessageType getMessageType()

Overrides:

CompletionMessage.getMessageType()

getResult

public Object getResult()

适用于