CompletionMessage 類別
- java.
lang. Object - com.
microsoft. signalr. HubMessage - com.
microsoft. signalr. CompletionMessage
- com.
- com.
public final class CompletionMessage extends HubMessage
建構函式摘要
建構函式 | Description | |
---|---|---|
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() |
Hub |
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
Parameters:
headers
invocationId
result
error
方法詳細資料
getError
public String getError()
getHeaders
public Map
getInvocationId
public String getInvocationId()
getMessageType
public HubMessageType getMessageType()
Overrides:
CompletionMessage.getMessageType()getResult
public Object getResult()