public class Invocation extends Object
| Constructor and Description |
|---|
Invocation() |
Invocation(RemoteReference toReference,
Method method,
boolean oneWay,
int methodId,
Object[] params,
Task completion) |
| Modifier and Type | Method and Description |
|---|---|
Task |
getCompletion() |
NodeAddress |
getFromNode() |
Map<String,Object> |
getHeaders() |
int |
getHops() |
int |
getMessageId() |
Method |
getMethod() |
int |
getMethodId() |
Object[] |
getParams() |
NodeAddress |
getToNode() |
RemoteReference |
getToReference() |
boolean |
isOneWay() |
void |
setCompletion(Task completion) |
void |
setFromNode(NodeAddress fromNode) |
void |
setHeaders(Map<String,Object> headers) |
void |
setHops(int hops) |
void |
setMessageId(int messageId) |
void |
setToNode(NodeAddress toNode) |
String |
toString() |
Invocation |
withFromNode(NodeAddress fromNode) |
Invocation |
withHeaders(Map<String,Object> headers) |
Invocation |
withMethod(Method method) |
Invocation |
withMethodId(int methodId) |
Invocation |
withOneWay(boolean oneWay) |
Invocation |
withParams(Object[] params) |
Invocation |
withToNode(NodeAddress toNode) |
Invocation |
withToReference(RemoteReference toReference) |
public Invocation()
public Invocation(RemoteReference toReference, Method method, boolean oneWay, int methodId, Object[] params, Task completion)
public RemoteReference getToReference()
public Method getMethod()
public boolean isOneWay()
public int getMethodId()
public Object[] getParams()
public Task getCompletion()
public NodeAddress getToNode()
public void setToNode(NodeAddress toNode)
public Invocation withToNode(NodeAddress toNode)
public Invocation withFromNode(NodeAddress fromNode)
public NodeAddress getFromNode()
public int getHops()
public void setHops(int hops)
public void setCompletion(Task completion)
public int getMessageId()
public void setMessageId(int messageId)
public void setFromNode(NodeAddress fromNode)
public Invocation withToReference(RemoteReference toReference)
public Invocation withMethod(Method method)
public Invocation withOneWay(boolean oneWay)
public Invocation withMethodId(int methodId)
public Invocation withParams(Object[] params)
public Invocation withHeaders(Map<String,Object> headers)
Copyright © 2019 Electronic Arts Inc. All rights reserved.