
public class FutureMessagingResponse extends Object implements MessagingResponse
| Modifier and Type | Class and Description |
|---|---|
static interface |
FutureMessagingResponse.Callback |
| Modifier and Type | Method and Description |
|---|---|
static FutureMessagingResponse |
fromMessageEnvelope(MessageEnvelope messageEnvelope) |
FutureMessagingResponse.Callback |
getCallback() |
Graph |
getGraph()
Returns the underlying graph of this messaging response.
|
MessageEnvelope |
getMessageEnvelope() |
Graph |
getResultGraph()
Returns the result graph returned in this messaging response.
|
XdiError |
getXdiError()
Returns the error associated with this messaging response, if any.
|
boolean |
hasXdiError()
Returns whether the messaging response has an associated error.
|
void |
onMessagingResponse(XDIAddress messageXDIaddress,
TransportMessagingResponse messagingResponse) |
void |
setCallback(FutureMessagingResponse.Callback callback) |
public static FutureMessagingResponse fromMessageEnvelope(MessageEnvelope messageEnvelope)
public Graph getGraph()
MessagingResponsegetGraph in interface MessagingResponsepublic Graph getResultGraph()
MessagingResponsegetResultGraph in interface MessagingResponsepublic boolean hasXdiError()
MessagingResponsehasXdiError in interface MessagingResponsepublic XdiError getXdiError()
MessagingResponsegetXdiError in interface MessagingResponsepublic MessageEnvelope getMessageEnvelope()
public void onMessagingResponse(XDIAddress messageXDIaddress, TransportMessagingResponse messagingResponse)
public FutureMessagingResponse.Callback getCallback()
public void setCallback(FutureMessagingResponse.Callback callback)
Copyright © 2017. All rights reserved.