CompletionMessage Class
- java.
lang. Object - com.
microsoft. signalr. HubMessage - com.
microsoft. signalr. CompletionMessage
- com.
- com.
public final class CompletionMessage extends HubMessage
Constructor Summary
Constructor | Description | |
---|---|---|
CompletionMessage(Map<String,String> headers, String invocationId, Object result, String error) |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String | getError() |
java.util.Map<java.lang.String,java.lang.String> | getHeaders() |
java.lang.String | getInvocationId() |
Hub |
getMessageType() |
java.lang.Object | getResult() |
Inherited Members
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)
Constructor Details
CompletionMessage
public CompletionMessage(Map
Parameters:
headers
invocationId
result
error
Method Details
getError
public String getError()
getHeaders
public Map
getInvocationId
public String getInvocationId()
getMessageType
public HubMessageType getMessageType()
Overrides:
CompletionMessage.getMessageType()getResult
public Object getResult()