public class InvocationRequestEvent extends DEvent
Streamable.Closure| Constructor and Description |
|---|
InvocationRequestEvent(int targetOid,
int invCode,
int methodId,
Object[] args)
Constructs a new invocation request 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 request.
|
int |
getInvCode()
Returns the invocation code associated with this request.
|
int |
getMethodId()
Returns the id of the method associated with this request.
|
alreadyApplied, getActualTransport, getSourceOid, getTargetOid, getTransport, isPrivate, noteActualTransport, setSourceOid, setTargetOid, setTransport, toStringpublic InvocationRequestEvent(int targetOid,
int invCode,
int methodId,
Object[] args)
targetOid - the object id of the object on which the event is to be dispatched.invCode - the invocation provider identification code.methodId - the id of the method to be invoked.args - the arguments for the method. This array should contain only values of valid
distributed object types.public int getInvCode()
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.