|
||||||||||
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.TxEvent
public final class TxEvent
A transmission event encapsulates the byte[]
that holds the
state change in wire form of an IContainer
to transmit.
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.
Constructor Summary | |
---|---|
TxEvent(IEventSource source,
byte[] buffer,
IEventFrameExecution frame,
IEventFrameExecution drivingFrame,
long bufferCreateTime)
Standard constructor |
Method Summary | |
---|---|
protected String |
getAdditionalToString()
Delegate method for subclasses to provide additional toString information. |
byte[] |
getBuffer()
Get the byte[] holding the state in wire form to transmit |
long |
getBufferCreateTime()
The time taken to create the data buffer for the event |
String |
getTraceString()
Provides a trace string the shows the byte level contents of the data buffer. |
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 |
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 TxEvent(IEventSource source, byte[] buffer, IEventFrameExecution frame, IEventFrameExecution drivingFrame, long bufferCreateTime)
source
- the source for this eventbuffer
- the data buffer to transmitframe
- the frame that the data buffer was created indrivingFrame
- the driving frame of the framebufferCreateTime
- the time taken to create the buffer itselfMethod Detail |
---|
public byte[] getBuffer()
byte[]
public long getBufferCreateTime()
public String getTraceString()
protected String getAdditionalToString()
AbstractEvent
getAdditionalToString
in class AbstractEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |