public class InvocationNotificationEvent extends DEvent
Streamable.Closure| Constructor and Description |
|---|
InvocationNotificationEvent(int targetOid,
short receiverId,
int methodId,
Object[] args)
Constructs a new invocation notification event on the specified target object with the
supplied receiver id, method id 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 notification.
|
int |
getMethodId()
Returns the id of the method associated with this notification.
|
int |
getReceiverId()
Returns the receiver id associated with this notification.
|
alreadyApplied, getActualTransport, getSourceOid, getTargetOid, getTransport, isPrivate, noteActualTransport, setSourceOid, setTargetOid, setTransport, toStringpublic InvocationNotificationEvent(int targetOid,
short receiverId,
int methodId,
Object[] args)
targetOid - the object id of the object on which the event is to be dispatched.receiverId - identifies the receiver to which this notification is being dispatched.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 getReceiverId()
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.