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()
MessagingResponse
getGraph
in interface MessagingResponse
public Graph getResultGraph()
MessagingResponse
getResultGraph
in interface MessagingResponse
public boolean hasXdiError()
MessagingResponse
hasXdiError
in interface MessagingResponse
public XdiError getXdiError()
MessagingResponse
getXdiError
in interface MessagingResponse
public MessageEnvelope getMessageEnvelope()
public void onMessagingResponse(XDIAddress messageXDIaddress, TransportMessagingResponse messagingResponse)
public FutureMessagingResponse.Callback getCallback()
public void setCallback(FutureMessagingResponse.Callback callback)
Copyright © 2017. All rights reserved.