Reaction Home
A C D E F G I J L M N O R S T U

A

addDeferrable(Deferrable<T, U>, boolean) - Method in interface com.zynaptic.reaction.Deferred
Attaches a deferrable object to the deferred event.
addInputDeferred(Deferred<T>) - Method in interface com.zynaptic.reaction.DeferredConcentrator
Adds an input deferred event object to the concentrator list.
addInputDeferred(Deferred<T>) - Method in interface com.zynaptic.reaction.DeferredSplitter
Attaches the input deferred event object.

C

callback(T) - Method in interface com.zynaptic.reaction.Deferred
Issues a deferred callback.
cancelThread(Threadable<?, ?>) - Method in class com.zynaptic.reaction.core.ReactorCore
 
cancelThread(Threadable<?, ?>) - Method in interface com.zynaptic.reaction.Reactor
Cancels a currently executing threadable task.
cancelTimeout() - Method in interface com.zynaptic.reaction.Deferred
Cancels the timeout associated with the deferred event.
cancelTimer(Timeable<?>) - Method in class com.zynaptic.reaction.core.ReactorCore
 
cancelTimer(Timeable<?>) - Method in interface com.zynaptic.reaction.Reactor
Cancels the timer associated with a given timeable object.
com.zynaptic.reaction - package com.zynaptic.reaction
 
com.zynaptic.reaction.osgi - package com.zynaptic.reaction.osgi
 
com.zynaptic.reaction.util - package com.zynaptic.reaction.util
 

D

Deferrable<T,U> - Interface in com.zynaptic.reaction
Defines the deferrable callback interface.
Deferred<T> - Interface in com.zynaptic.reaction
Defines the deferred event interface.
DeferredConcentrator<T> - Interface in com.zynaptic.reaction
Defines a concentrator for deferred events.
DeferredSplitter<T> - Interface in com.zynaptic.reaction
Defines a splitter for deferred event callback chains.
DeferredTerminationException - Exception in com.zynaptic.reaction
Indicates that a deferred callback chain is already terminated.
DeferredTerminationException(String) - Constructor for exception com.zynaptic.reaction.DeferredTerminationException
Constructs a new deferred termination exception.
DeferredTimedOutException - Exception in com.zynaptic.reaction
Indicates that a deferred event has timed out.
DeferredTimedOutException(String) - Constructor for exception com.zynaptic.reaction.DeferredTimedOutException
Constructs a new deferred timed out exception.
DeferredTriggeredException - Exception in com.zynaptic.reaction
Indicates an invalid attempt to trigger a deferred event object.
DeferredTriggeredException(String) - Constructor for exception com.zynaptic.reaction.DeferredTriggeredException
Constructs a new deferred triggered exception.
discard() - Method in interface com.zynaptic.reaction.Deferred
Discards the deferred event.

E

errback(Exception) - Method in interface com.zynaptic.reaction.Deferred
Issues an error callback.

F

FixedUpMonotonicClock - Class in com.zynaptic.reaction.util
Implements a monotonic clock source derived from the standard Java wallclock.
FixedUpMonotonicClock() - Constructor for class com.zynaptic.reaction.util.FixedUpMonotonicClock
 

G

getMsTime() - Method in class com.zynaptic.reaction.util.FixedUpMonotonicClock
 
getMsTime() - Method in class com.zynaptic.reaction.util.JavaMonotonicClock
 
getMsTime() - Method in interface com.zynaptic.reaction.util.MonotonicClockSource
Gets the elapsed time since the monotonic clock source was initialised.
getMsTime() - Method in class com.zynaptic.reaction.util.NativeMonotonicClock
 
getOutputDeferred() - Method in interface com.zynaptic.reaction.DeferredConcentrator
Accesses the output deferred event object for the concentrator list.
getOutputDeferred() - Method in interface com.zynaptic.reaction.DeferredSplitter
Obtains a handle on a unique output deferred event object.
getReactor() - Static method in class com.zynaptic.reaction.core.ReactorCore
Accesses the reactor user interface.
getReactorControl() - Static method in class com.zynaptic.reaction.core.ReactorCore
Accesses the reactor control interface.
getReactorShutdownSignal() - Method in class com.zynaptic.reaction.core.ReactorCore
 
getReactorShutdownSignal() - Method in interface com.zynaptic.reaction.Reactor
Gets a handle on the reactor shutdown signal.
getUptime() - Method in class com.zynaptic.reaction.core.ReactorCore
 
getUptime() - Method in interface com.zynaptic.reaction.Reactor
Gets the elapsed time since the reactor was started.

I

init() - Method in class com.zynaptic.reaction.util.FixedUpMonotonicClock
 
init() - Method in class com.zynaptic.reaction.util.JavaMonotonicClock
 
init() - Method in interface com.zynaptic.reaction.util.MonotonicClockSource
Initialises the monotonic clock source.
init() - Method in class com.zynaptic.reaction.util.NativeMonotonicClock
 

J

JavaMonotonicClock - Class in com.zynaptic.reaction.util
Implements a monotonic clock source using the standard Java monotonic clock.
JavaMonotonicClock() - Constructor for class com.zynaptic.reaction.util.JavaMonotonicClock
 
join() - Method in interface com.zynaptic.reaction.core.ReactorControl
Waits for the reactor thread to exit.
join() - Method in class com.zynaptic.reaction.core.ReactorCore
 

L

log(int, String) - Method in class com.zynaptic.reaction.osgi.ReactorLogOsgiOptional
 
log(int, String, Throwable) - Method in class com.zynaptic.reaction.osgi.ReactorLogOsgiOptional
 
log(int, String) - Method in class com.zynaptic.reaction.util.ReactorLogSystemOut
 
log(int, String, Throwable) - Method in class com.zynaptic.reaction.util.ReactorLogSystemOut
 
log(int, String) - Method in interface com.zynaptic.reaction.util.ReactorLogTarget
Logs a message string at the specified severity level.
log(int, String, Throwable) - Method in interface com.zynaptic.reaction.util.ReactorLogTarget
Logs message string and accompanying exception information at the specified severity level.
LOG_DEBUG - Static variable in interface com.zynaptic.reaction.util.ReactorLogTarget
Specifies the debug message log level (severity 4).
LOG_ERROR - Static variable in interface com.zynaptic.reaction.util.ReactorLogTarget
Specifies the error message log level (severity 1).
LOG_INFO - Static variable in interface com.zynaptic.reaction.util.ReactorLogTarget
Specifies the informational message log level (severity 3).
LOG_WARNING - Static variable in interface com.zynaptic.reaction.util.ReactorLogTarget
Specifies the warning message log level (severity 2).

M

makeRestricted() - Method in interface com.zynaptic.reaction.Deferred
Convert the deferred interface to restricted capability.
makeRestricted() - Method in interface com.zynaptic.reaction.Signal
Convert the signal interface to restricted capability.
MonotonicClockSource - Interface in com.zynaptic.reaction.util
Specifies the interface to a generic monotonic clock source.

N

NativeMonotonicClock - Class in com.zynaptic.reaction.util
Provides the Java interface to a native monotonic clock source.
NativeMonotonicClock() - Constructor for class com.zynaptic.reaction.util.NativeMonotonicClock
 
newDeferred() - Method in class com.zynaptic.reaction.core.ReactorCore
 
newDeferred() - Method in interface com.zynaptic.reaction.Reactor
Creates a new deferred event object.
newDeferredConcentrator() - Method in class com.zynaptic.reaction.core.ReactorCore
 
newDeferredConcentrator() - Method in interface com.zynaptic.reaction.Reactor
Creates a new deferred callback concentrator object.
newDeferredSplitter() - Method in class com.zynaptic.reaction.core.ReactorCore
 
newDeferredSplitter() - Method in interface com.zynaptic.reaction.Reactor
Creates a new deferred callback splitter object.
newSignal() - Method in class com.zynaptic.reaction.core.ReactorCore
 
newSignal() - Method in interface com.zynaptic.reaction.Reactor
Creates a new signal event object.

O

onCallback(Deferred<T>, T) - Method in interface com.zynaptic.reaction.Deferrable
This is the callback handler for deferrable objects.
onErrback(Deferred<T>, Exception) - Method in interface com.zynaptic.reaction.Deferrable
This is the error callback handler for deferrable objects.
onSignal(Signal<T>, T) - Method in interface com.zynaptic.reaction.Signalable
Receives a signal callback from the reactor.
onTick(T) - Method in interface com.zynaptic.reaction.Timeable
Receives a timed event callback from the reactor.

R

ReactionDefaultActivator - Class in com.zynaptic.reaction.osgi
Implements default bundle activation for the Reaction asynchronous programming framework.
ReactionDefaultActivator() - Constructor for class com.zynaptic.reaction.osgi.ReactionDefaultActivator
 
ReactionDefaultException - Exception in com.zynaptic.reaction
Defines the default exception class for the Reaction framework.
ReactionDefaultException(String) - Constructor for exception com.zynaptic.reaction.ReactionDefaultException
Constructs a new default exception.
ReactionRuntimeException - Exception in com.zynaptic.reaction
Defines the default runtime exception class for the Reaction framework.
ReactionRuntimeException(String) - Constructor for exception com.zynaptic.reaction.ReactionRuntimeException
Constructs a new default runtime exception.
Reactor - Interface in com.zynaptic.reaction
Defines the user API for accessing the reactor object.
ReactorControl - Interface in com.zynaptic.reaction.core
Defines the API for controlling the reactor service.
ReactorCore - Class in com.zynaptic.reaction.core
Implements the main reactor functionality.
ReactorLogOsgiOptional - Class in com.zynaptic.reaction.osgi
Provides support for logging to an optional OSGi logging service.
ReactorLogOsgiOptional(BundleContext, ReactorLogTarget) - Constructor for class com.zynaptic.reaction.osgi.ReactorLogOsgiOptional
Implements default constructor for the optional OSGi logging service.
ReactorLogSystemOut - Class in com.zynaptic.reaction.util
Provides a basic log service which prints all log messages generated by the reactor to the console.
ReactorLogSystemOut() - Constructor for class com.zynaptic.reaction.util.ReactorLogSystemOut
 
ReactorLogTarget - Interface in com.zynaptic.reaction.util
Defines the API used by the Reaction package to submit log messages to a suitable log service.
ReactorNotRunningException - Exception in com.zynaptic.reaction
Indicates an attempt to access the reactor when it is not running.
ReactorNotRunningException(String) - Constructor for exception com.zynaptic.reaction.ReactorNotRunningException
Constructs a new reactor not running exception.
RestrictedCapabilityException - Exception in com.zynaptic.reaction
Indicates that an attempt has been made to access an interface method which has a restricted capability.
RestrictedCapabilityException(String) - Constructor for exception com.zynaptic.reaction.RestrictedCapabilityException
Constructs a new restricted capability exception.
run(T) - Method in interface com.zynaptic.reaction.Threadable
Runs a threadable task in the context of a new thread.
runThread(Threadable<T, U>, T) - Method in class com.zynaptic.reaction.core.ReactorCore
 
runThread(Threadable<T, U>, T) - Method in interface com.zynaptic.reaction.Reactor
Starts executing a threadable task in a new thread.
runTimerOneShot(Timeable<T>, int, T) - Method in class com.zynaptic.reaction.core.ReactorCore
 
runTimerOneShot(Timeable<T>, int, T) - Method in interface com.zynaptic.reaction.Reactor
Starts a one-shot timer.
runTimerRepeating(Timeable<T>, int, int, T) - Method in class com.zynaptic.reaction.core.ReactorCore
 
runTimerRepeating(Timeable<T>, int, int, T) - Method in interface com.zynaptic.reaction.Reactor
Starts a repeating timer.

S

setTimeout(int) - Method in interface com.zynaptic.reaction.Deferred
Sets the timeout associated with the deferred event.
Signal<T> - Interface in com.zynaptic.reaction
Defines the signal event interface.
signal(T) - Method in interface com.zynaptic.reaction.Signal
Sends a signal event notification.
Signalable<T> - Interface in com.zynaptic.reaction
Defines the interface to a signalable object.
SignalContextException - Exception in com.zynaptic.reaction
Indicates an attempt to make an invalid call from a signal callback.
SignalContextException(String) - Constructor for exception com.zynaptic.reaction.SignalContextException
Constructs a new signal call context exception.
signalFinalize(T) - Method in interface com.zynaptic.reaction.Signal
Sends a finalising signal event notification.
start(MonotonicClockSource, ReactorLogTarget) - Method in interface com.zynaptic.reaction.core.ReactorControl
Starts the reactor running.
start(MonotonicClockSource, ReactorLogTarget) - Method in class com.zynaptic.reaction.core.ReactorCore
 
start(BundleContext) - Method in class com.zynaptic.reaction.osgi.ReactionDefaultActivator
Implements the BundleActivator.start method which is used to start up the reactor on activation.
stop() - Method in interface com.zynaptic.reaction.core.ReactorControl
Requests that the reactor stop running.
stop() - Method in class com.zynaptic.reaction.core.ReactorCore
 
stop(BundleContext) - Method in class com.zynaptic.reaction.osgi.ReactionDefaultActivator
Implements the BundleActivator.stop method which is used to stop the reactor on deactivation.
subscribe(Signalable<T>) - Method in interface com.zynaptic.reaction.Signal
Subscribes a new signalable object.

T

Threadable<T,U> - Interface in com.zynaptic.reaction
Defines the interface to a threadable task object.
ThreadableRunningException - Exception in com.zynaptic.reaction
Indicates that a threadable object is already executing.
ThreadableRunningException(String) - Constructor for exception com.zynaptic.reaction.ThreadableRunningException
Constructs a new threadable running exception.
Timeable<T> - Interface in com.zynaptic.reaction
Defines the interface to a timeable object.

U

unsubscribe(Signalable<T>) - Method in interface com.zynaptic.reaction.Signal
Unsubscribes a signalable object.

A C D E F G I J L M N O R S T U
Reaction Home