|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfulmine.AbstractLifeCycle
fulmine.model.component.AbstractComponent
fulmine.event.EventSource
public class EventSource
A simple event source. All sub-classes will use the same
EventProcessor (the zeroth event processor).
| Constructor Summary | |
|---|---|
|
EventSource(String identity)
Standard constructor |
protected |
EventSource(String identity,
IType type,
IDomain domain)
Constructor for sub-classes |
| Method Summary | |
|---|---|
protected boolean |
doReadState(IOperationScope scope,
byte[] buffer,
int start,
int numberOfBytes)
Update the component state from the wire format state in the buffer. |
protected boolean |
doWriteState(IOperationScope scope,
IWireIdentity wireId,
byte[][] headerBuffer,
int[] headerBufferPosition,
byte[][] dataBuffer,
int[] dataBufferPosition,
boolean completeState)
Write the component state in its wire form to the buffer. |
protected AsyncLog |
getLog()
Get the log to use for the object hierarchy |
| Methods inherited from class fulmine.model.component.AbstractComponent |
|---|
addEvent, addListener, checkClone, clone, createIdentityString, doComponentDestroy, doDestroy, doPostAddListener, doPostRemoveListener, doStart, equals, getAddress, getAddressable, getDomain, getDrivingFrame, getEventSourceGroupId, getFrame, getIdentity, getIdentityString, getListeners, getSource, getTriggerEvent, getType, hashCode, isClone, readState, removeListener, removeListeners, setDrivingFrame, setFrame, setTriggerEvent, toDetailedString, toIdentityString, toString, writeState |
| Methods inherited from class fulmine.AbstractLifeCycle |
|---|
checkActive, destroy, finalize, isActive, start |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fulmine.ILifeCycle |
|---|
isActive, start |
| Methods inherited from interface fulmine.IDestroyable |
|---|
destroy |
| Constructor Detail |
|---|
public EventSource(String identity)
identity - the identity for the source
protected EventSource(String identity,
IType type,
IDomain domain)
identity - the identitytype - the sourcedomain - the domain| Method Detail |
|---|
protected boolean doReadState(IOperationScope scope,
byte[] buffer,
int start,
int numberOfBytes)
throws Exception
AbstractComponentAbstractComponent.readState(IOperationScope, byte[], int, int) method.
doReadState in class AbstractComponentExceptionIWireState.readState(IOperationScope, byte[], int, int)
protected boolean doWriteState(IOperationScope scope,
IWireIdentity wireId,
byte[][] headerBuffer,
int[] headerBufferPosition,
byte[][] dataBuffer,
int[] dataBufferPosition,
boolean completeState)
throws Exception
AbstractComponentAbstractComponent.writeState(IOperationScope, IWireIdentity, byte[][], int[], byte[][], int[], boolean)
method.
doWriteState in class AbstractComponentExceptionIWireState.writeState(IOperationScope, IWireIdentity, byte[][],
int[], byte[][], int[], boolean),
for a discussion of the byte[][] usageprotected AsyncLog getLog()
AbstractLifeCycle
getLog in class AbstractComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||