fulmine.rpc.events
Class SendRpcEvent
java.lang.Object
fulmine.event.AbstractEvent
fulmine.event.system.AbstractSystemEvent
fulmine.rpc.events.SendRpcEvent
- All Implemented Interfaces:
- IEvent, ISystemEvent, IAddressable, IDescriptor, Cloneable
public final class SendRpcEvent
- extends AbstractSystemEvent
Raised by the sending context to send the RPC to the remote context.
- Author:
- Ramon Servadei
- See Also:
RpcInvokeEvent
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 |
SendRpcEvent
public SendRpcEvent(IEventManager context,
String remoteContextIdentity,
byte[] rpcData)
- Construct the event to encapsulate the RPC to send
- Parameters:
context
- the local contextremoteContextIdentity
- the remote context that the RPC is targetted atrpcData
- the RPC data in its byte[]
form
getRemoteContextIdentity
public String getRemoteContextIdentity()
- Get the identity of the remote context to send the RPC to
- Returns:
- the identity of the remote context to send the RPC to
getRpcData
public byte[] getRpcData()
- Get the raw bytes to send to the remote context
- Returns:
- the raw bytes to send to the remote context
getAdditionalToString
protected String getAdditionalToString()
- Description copied from class:
AbstractEvent
- Delegate method for subclasses to provide additional toString
information. This should be a comma separated string, e.g.
"one, two, three"
- Overrides:
getAdditionalToString
in class AbstractSystemEvent
- Returns:
- the additional toString information in comma separated format
Copyright © 2007-2009. All Rights Reserved.