public class InvocationResponseEvent extends DEvent
Streamable.Closure| Constructor and Description |
|---|
InvocationResponseEvent(int targetOid,
int requestId,
int methodId,
Object[] args)
Constructs a new invocation response event on the specified target object with the supplied
code, method and arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyToObject(DObject target)
Applies the attribute modifications represented by this event to the specified target
object.
|
Object[] |
getArgs()
Returns the arguments associated with this response.
|
int |
getMethodId()
Returns the method associated with this response.
|
int |
getRequestId()
Returns the invocation request id associated with this response.
|
alreadyApplied, getActualTransport, getSourceOid, getTargetOid, getTransport, isPrivate, noteActualTransport, setSourceOid, setTargetOid, setTransport, toStringpublic InvocationResponseEvent(int targetOid,
int requestId,
int methodId,
Object[] args)
targetOid - the object id of the object on which the event is to be dispatched.requestId - the id of the request to which we are responding.methodId - the method to be invoked.args - the arguments for the method. This array should contain only values of valid
distributed object types.public int getRequestId()
public int getMethodId()
public Object[] getArgs()
public boolean applyToObject(DObject target) throws ObjectAccessException
DEventapplyToObject in class DEventObjectAccessException - thrown if there is any problem applying the event to the
object (invalid attribute, etc.).Copyright © 2015. All rights reserved.