
public abstract class TransportMessagingResponse extends Object implements MessagingResponse, Serializable, Comparable<MessagingResponse>
| Constructor and Description |
|---|
TransportMessagingResponse() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MessagingResponse other) |
boolean |
equals(Object object) |
static TransportMessagingResponse |
fromGraph(Graph graph)
Factory method that creates a messaging response bound to a given graph.
|
static ReadOnlyIterator<LinkContract> |
getLinkContracts(MessagingResponse messagingResponse) |
XdiError |
getXdiError()
Returns the error associated with this messaging response, if any.
|
int |
hashCode() |
boolean |
hasXdiError()
Returns whether the messaging response has an associated error.
|
static boolean |
isValid(Graph graph)
Checks if a graph is a valid messaging response.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetGraph, getResultGraphpublic static boolean isValid(Graph graph)
graph - The graph to check.public static TransportMessagingResponse fromGraph(Graph graph)
graph - The graph that is a messaging response.public boolean hasXdiError()
MessagingResponsehasXdiError in interface MessagingResponsepublic XdiError getXdiError()
MessagingResponsegetXdiError in interface MessagingResponsepublic static ReadOnlyIterator<LinkContract> getLinkContracts(MessagingResponse messagingResponse)
public int compareTo(MessagingResponse other)
compareTo in interface Comparable<MessagingResponse>Copyright © 2017. All rights reserved.