|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fulmine.event.AbstractEvent fulmine.event.system.AbstractSystemEvent fulmine.rpc.events.RpcInvokeEvent
public final class RpcInvokeEvent
Raised in a receiving context when an RPC is invoked from a remote context. The event has the RPC key that identifies the RPC to invoke and the arguments.
This event differs from SendRpcEvent
in that this event is raised in
the receiving context and encapsulates the action to actually execute the
RPC.
Constructor Summary | |
---|---|
RpcInvokeEvent(IEventManager context,
byte[] rpcData)
Constructor for the event |
Method Summary | |
---|---|
void |
decode(IRpcRegistry registry)
Decode the byte buffer into the RPC key and the arguments for the RPC |
protected String |
getAdditionalToString()
Delegate method for subclasses to provide additional toString information. |
IField[] |
getArguments()
Get the arguments for the RPC invocation. |
IRpcMarker |
getMarker()
Get the RPC marker for the RPC invocation. |
String |
getRemoteContextIdentity()
Get the remote context identity |
String |
getRpcKey()
Get the RPC key identifying the RpcDefinition this invocation is
for |
Methods inherited from class fulmine.event.system.AbstractSystemEvent |
---|
hideSourceFromToString |
Methods inherited from class fulmine.event.AbstractEvent |
---|
clone, equals, getAddress, getDomain, getDrivingFrame, getFrame, getIdentity, getSource, getTriggerEvent, getType, hashCode, setAddress, setDrivingFrame, setFrame, setSource, setTriggerEvent, toDetailedString, toIdentityString, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface fulmine.event.IEvent |
---|
clone, getDrivingFrame, getFrame, getSource, getTriggerEvent, setTriggerEvent |
Methods inherited from interface fulmine.IDescriptor |
---|
toDetailedString, toIdentityString |
Methods inherited from interface fulmine.IAddressable |
---|
getAddress, getDomain, getIdentity, getType |
Constructor Detail |
---|
public RpcInvokeEvent(IEventManager context, byte[] rpcData)
context
- the local contextrpcData
- the data for the event, this includes the RPC key, argument
data and RPC marker IDMethod Detail |
---|
public void decode(IRpcRegistry registry)
registry
- the RPC registry used to lookup the IRpcDefinition
for
the RPC invocation.public String getRemoteContextIdentity()
public String getRpcKey()
RpcDefinition
this invocation is
for
RpcDefinition
this invocation
is forpublic IField[] getArguments()
public IRpcMarker getMarker()
protected String getAdditionalToString()
AbstractEvent
getAdditionalToString
in class AbstractSystemEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |