fulmine.event.system
Class RxEvent
java.lang.Object
fulmine.event.AbstractEvent
fulmine.event.system.RxEvent
- All Implemented Interfaces:
- IEvent, ISystemEvent, IAddressable, IDescriptor, Cloneable
public final class RxEvent
- extends AbstractEvent
- implements ISystemEvent
A receiving event encapsulates the byte[]
that holds the state
change in wire form of an IContainer
received from a remote context.
This implementation of an ISystemEvent
can be raised by a non-
ISystemEventSource
. This is so that an IEventListener
for an
IContainer
will not receive these events.
- Author:
- Ramon Servadei
Method Summary |
protected String |
getAdditionalToString()
Delegate method for subclasses to provide additional toString
information. |
byte[] |
getBuffer()
Get the byte[] holding the received state in wire form |
String |
getTraceString()
Provides a trace string the shows the byte level contents of the buffer
data. |
Methods inherited from class fulmine.event.AbstractEvent |
clone, equals, getAddress, getDomain, getDrivingFrame, getFrame, getIdentity, getSource, getTriggerEvent, getType, hashCode, hideSourceFromToString, setAddress, setDrivingFrame, setFrame, setSource, setTriggerEvent, toDetailedString, toIdentityString, toString |
RxEvent
public RxEvent(IEventSource source,
byte[] buffer)
- Standard constructor
- Parameters:
source
- the container for this receiving event (the container is the
event source)buffer
- the buffer encapsulating the change to apply to the container
getBuffer
public byte[] getBuffer()
- Get the byte[] holding the received state in wire form
- Returns:
- a
byte[]
getTraceString
public String getTraceString()
- Provides a trace string the shows the byte level contents of the buffer
data. Used for fine grain debugging.
- Returns:
- a trace string
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 AbstractEvent
- Returns:
- the additional toString information in comma separated format
Copyright © 2007-2009. All Rights Reserved.