Package | Description |
---|---|
jadex.bdi.runtime | |
jadex.bridge |
This package contains the interfaces of the adapter layer,
which is used to establish a connection between the Jadex runtime
system and an underlying platform.
|
jadex.bridge.nonfunctional.search | |
jadex.bridge.service.component | |
jadex.bridge.service.component.interceptors | |
jadex.bridge.service.component.multiinvoke | |
jadex.bridge.service.types.cms | |
jadex.bridge.service.types.factory | |
jadex.commons.future | |
jadex.commons.gui.future | |
jadex.extension.envsupport.environment | |
jadex.micro |
Modifier and Type | Class and Description |
---|---|
class |
Plan.SyncResultListener
Listener that uses the suspend/resume capability of threaded plans.
|
Modifier and Type | Class and Description |
---|---|
class |
ComponentResultListener<E>
The result listener for executing listener invocations as a component step.
|
class |
IntermediateComponentResultListener<E>
Intermediate listener that invokes listeners on component thread.
|
class |
TimeoutIntermediateResultListener<E> |
class |
TimeoutResultListener<E>
Listener that allows to automatically trigger a timeout when
no result (or exception) was received after some timeout interval.
|
Modifier and Type | Method and Description |
---|---|
<T> IResultListener<T> |
IInternalAccess.createResultListener(IResultListener<T> listener)
Create a result listener that is executed on the
component thread.
|
Modifier and Type | Method and Description |
---|---|
<T> IResultListener<T> |
IInternalAccess.createResultListener(IResultListener<T> listener)
Create a result listener that is executed on the
component thread.
|
Constructor and Description |
---|
ComponentResultListener(IResultListener<E> listener,
IComponentAdapter adapter)
Create a new component result listener.
|
ComponentResultListener(IResultListener<E> listener,
IExternalAccess access)
Create a new component result listener.
|
TimeoutResultListener(long timeout,
IExternalAccess exta,
boolean realtime,
String message,
IResultListener<E> listener)
Create a new listener.
|
TimeoutResultListener(long timeout,
IExternalAccess exta,
IResultListener<E> listener)
Create a new listener.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceRankingDelegationResultListener<S>
Listener that ranks results.
|
class |
ServiceRankingDelegationResultListener2<S>
Listener that ranks results.
|
class |
ServiceRankingResultListener<S>
Listener that ranks results.
|
Constructor and Description |
---|
ServiceRankingResultListener(IResultListener<Collection<Tuple2<S,Double>>> scorelistener,
IServiceRanker<S> ranker,
IRankingSearchTerminationDecider<S> decider)
Create a new ranker.
|
ServiceRankingResultListener(IServiceRanker<S> ranker,
IRankingSearchTerminationDecider<S> decider,
IResultListener<Collection<S>> listener)
Create a new ranker.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultServiceFetcher.StoreDelegationResultListener<T>
Simple listener that can store the result in a member variable.
|
class |
DefaultServiceFetcher.StoreIntermediateDelegationResultListener<T>
Simple listener that can store the result in a member variable.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentFutureFunctionality.notifyListener(IResultListener<Void> notify)
Schedule listener notification on component thread.
|
void |
ComponentFutureFunctionality.sendBackwardCommand(Object info,
IResultListener<Void> com)
Send a backward command.
|
void |
ComponentFutureFunctionality.sendForwardCommand(Object info,
IResultListener<Void> com)
Send a foward command.
|
void |
ComponentFutureFunctionality.startScheduledNotifications(IResultListener<Void> notify)
Start the notifications.
|
void |
ComponentFutureFunctionality.terminate(Exception reason,
IResultListener<Void> terminate)
Schedule termination on component thread.
|
Modifier and Type | Method and Description |
---|---|
void |
FutureFunctionality.notifyListener(IResultListener<Void> notify)
Notify the listener.
|
void |
FutureFunctionality.pullIntermediateResult(IResultListener<Void> notify)
Pull an intermediate result.
|
void |
FutureFunctionality.sendBackwardCommand(Object info,
IResultListener<Void> com)
Send a backward command.
|
void |
FutureFunctionality.sendForwardCommand(Object info,
IResultListener<Void> com)
Send a foward command.
|
void |
FutureFunctionality.startScheduledNotifications(IResultListener<Void> notify)
Start the notifications.
|
void |
FutureFunctionality.terminate(Exception reason,
IResultListener<Void> terminate)
Terminate the future.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IMultiplexCollector |
Modifier and Type | Class and Description |
---|---|
class |
FlattenMultiplexCollector |
class |
MultiServiceInvocationHandler.IntermediateMethodResultListener<T>
Listener that invokes service methods and delegates the results.
|
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
IComponentManagementService.addComponentResultListener(IResultListener<Collection<Tuple2<String,Object>>> listener,
IComponentIdentifier cid)
Add a result listener.
|
IFuture<IComponentIdentifier> |
IComponentManagementService.createComponent(String name,
String model,
CreationInfo info,
IResultListener<Collection<Tuple2<String,Object>>> resultlistener)
Deprecated.
Use other createComponent methods.
|
IFuture<Void> |
IComponentManagementService.removeComponentResultListener(IResultListener<Collection<Tuple2<String,Object>>> listener,
IComponentIdentifier cid)
Add a previously added result listener.
|
Modifier and Type | Method and Description |
---|---|
static <T> IResultListener<T> |
SComponentFactory.createResultListener(IResultListener<T> listener,
IExternalAccess ea)
Create a result listener which is executed as an component step.
|
Modifier and Type | Method and Description |
---|---|
static <T> IResultListener<T> |
SComponentFactory.createResultListener(IResultListener<T> listener,
IExternalAccess ea)
Create a result listener which is executed as an component step.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IFutureCommandResultListener<E>
Interface that extends both, result listener and future command.
|
interface |
IIntermediateFutureCommandResultListener<E>
Interface that extends both, result listener and future command.
|
interface |
IIntermediateResultListener<E>
Result listener with additional notifications in case of intermediate results.
|
interface |
IRemoteResultListener<E>
Remoteable version of the result listener interface.
|
interface |
ITuple2ResultListener<E,F>
Listener for tuple2 futures.
|
Modifier and Type | Class and Description |
---|---|
class |
CollectingIntermediateResultListener<E>
A listener that collects intermediate results and calls resultAvailable() on setFinished().
|
class |
CollectionResultListener<E>
Collection result listener collects a number of results and return a collection.
|
class |
CounterResultListener<E>
Counter result listener for counting a specified number of resultAvailable calls.
|
class |
DefaultResultListener<E>
The default listener for just printing out result information.
|
class |
DefaultTuple2ResultListener<E,F>
Default tuple2 result listener that implements the
(obsolete) methods
- resultAvailable
- intermediateResultAvailable
- finished
|
class |
DelegationResultListener<E>
Result listener that delegates calls to a future.
|
class |
ExceptionDelegationResultListener<E,T>
Result listener that delegates calls to a future.
|
class |
ExceptionResultListener<E>
The exception listener is used for intercepting exceptions while ignoring results.
|
class |
IntermediateDefaultResultListener<E>
The default listener for just printing out result information.
|
class |
IntermediateDelegationResultListener<E>
Intermediate version of the delegation result listener.
|
class |
IntermediateExceptionDelegationResultListener<E,T> |
class |
RemoteDelegationResultListener<E>
Result listener that delegates calls to a future
and can be called from remote.
|
class |
TerminableDelegationResultListener<E>
Result listener for terminable futures.
|
class |
TerminableIntermediateDelegationResultListener<E>
Result listener for terminable intermediate futures.
|
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<List<Tuple2<Future<?>,IResultListener<?>>>> |
Future.STACK
Notification stack for unwinding call stack to topmost future.
|
Modifier and Type | Method and Description |
---|---|
static <E> IResultListener<E> |
SResultListener.createResultListener(IFunctionalResultListener<E> sucListener)
Creates an
IResultListener that delegates results to the given
SuccessListener and uses default exception handling. |
static <E> IResultListener<E> |
SResultListener.createResultListener(IFunctionalResultListener<E> sucListener,
boolean defaultExceptionHandling)
Creates an
IResultListener that delegates results to the given
SuccessListener. |
static <E> IResultListener<E> |
SResultListener.createResultListener(IFunctionalResultListener<E> sucListener,
IFunctionalExceptionListener exceptionListener)
Creates an
IResultListener that delegates results to the given
SuccessListener and Exceptions to the given ExceptionListener. |
static <E> IResultListener<E> |
SResultListener.delegate(Future<E> delegate)
Creates an
IResultListener that delegates all results to a given Future. |
static <E> IResultListener<E> |
SResultListener.delegate(Future<E> delegate,
boolean undone)
Creates an
IResultListener that delegates all results to a given Future. |
static <E> IResultListener<E> |
SResultListener.delegate(Future<E> delegate,
boolean undone,
IFunctionalResultListener<E> customResultListener)
Creates an
IResultListener that delegates all results to a given Future. |
static <E> IResultListener<E> |
SResultListener.delegate(Future<E> delegate,
IFunctionalResultListener<E> customResultListener)
Creates an
IResultListener that delegates all results to a given Future. |
static <E,T> IResultListener<E> |
SResultListener.delegateExceptions(Future<T> delegate,
boolean undone,
IFunctionalResultListener<E> customResultListener)
Creates an
IResultListener that delegates exceptions to a given Future
and results to a given SuccessListener. |
static <E,T> IResultListener<E> |
SResultListener.delegateExceptions(Future<T> delegate,
IFunctionalResultListener<E> customResultListener)
Creates an
IResultListener that delegates exceptions to a given Future
and results to a given SuccessListener. |
Modifier and Type | Method and Description |
---|---|
static List<Tuple2<Future<?>,IResultListener<?>>> |
FutureHelper.removeStackedListeners()
Remove all collected listener notifications for the current thread.
|
Modifier and Type | Method and Description |
---|---|
void |
SubscriptionIntermediateFuture.addQuietListener(IResultListener<Collection<E>> listener)
Add a listener which is only informed about new results,
i.e.
|
void |
SubscriptionIntermediateDelegationFuture.addQuietListener(IResultListener<Collection<E>> listener)
Add a listener which is only informed about new results,
i.e.
|
void |
ISubscriptionIntermediateFuture.addQuietListener(IResultListener<Collection<E>> listener)
Add a listener which does not consume the initial results.
|
void |
SubscriptionIntermediateFuture.addResultListener(IResultListener<Collection<E>> listener)
Add a result listener.
|
void |
SubscriptionIntermediateDelegationFuture.addResultListener(IResultListener<Collection<E>> listener)
Add a result listener.
|
void |
IntermediateFuture.addResultListener(IResultListener<Collection<E>> listener)
Add a result listener.
|
void |
IFuture.addResultListener(IResultListener<E> listener)
Add a result listener.
|
void |
Future.addResultListener(IResultListener<E> listener)
Add a result listener.
|
Modifier and Type | Method and Description |
---|---|
static void |
FutureHelper.addStackedListeners(List<Tuple2<Future<?>,IResultListener<?>>> notifications)
Add listener notifications to the current thread.
|
Constructor and Description |
---|
CollectionResultListener(int num,
boolean ignorefailures,
IResultListener<Collection<E>> delegate)
Create a new collection listener.
|
CollectionResultListener(int num,
IResultListener<Collection<E>> delegate)
Create a new collection listener that stops on failures.
|
CounterResultListener(int num,
boolean ignorefailures,
IResultListener<Void> delegate)
Create a new counter listener.
|
CounterResultListener(int num,
IResultListener<Void> delegate)
Create a new counter listener.
|
FutureFinishChecker(IResultListener delegate)
Create a new checker.
|
Modifier and Type | Class and Description |
---|---|
class |
SwingDefaultResultListener<E>
Result listener that redirects callbacks on the swing thread.
|
class |
SwingDelegationResultListener<E>
Delegation result listener that calls customResultAvailable and
customExceptionOccurred on swing thread.
|
class |
SwingExceptionDelegationResultListener<E,T>
Delegation result listener that calls customResultAvailable and
customExceptionOccurred on swing thread.
|
class |
SwingIntermediateDefaultResultListener<E>
Default implementation of intermediate result listener
with methods called on swing thread.
|
class |
SwingIntermediateDelegationResultListener<E>
Exception delegation listener for intermediate results called back on swing thread.
|
class |
SwingIntermediateExceptionDelegationResultListener<E,T>
Exception delegation listener for intermediate results called back on swing thread.
|
class |
SwingIntermediateResultListener<E> |
class |
SwingResultListener<E>
Listener that performs notifications on swing thread..
|
Constructor and Description |
---|
SwingResultListener(IResultListener<E> listener)
Create a new listener.
|
Modifier and Type | Field and Description |
---|---|
IResultListener |
ComponentActionList.ActionEntry.listener
The result listener.
|
Modifier and Type | Method and Description |
---|---|
void |
SpaceObject.addTaskListener(Object taskid,
IResultListener listener)
Add a result listener to a task.
|
void |
IEnvironmentSpace.addTaskListener(Object taskid,
Object objectid,
IResultListener listener)
Add a result listener to an object task.
|
void |
AbstractEnvironmentSpace.addTaskListener(Object taskid,
Object objectid,
IResultListener listener)
Add a result listener to an object task.
|
int |
IEnvironmentSpace.performSpaceAction(String name,
Map parameters,
IResultListener listener)
Perform an space action.
|
int |
AbstractEnvironmentSpace.performSpaceAction(String id,
Map parameters,
IResultListener listener)
Schedules an space action.
|
void |
SpaceObject.removeTaskListener(Object taskid,
IResultListener listener)
Remove a result listener from a task.
|
void |
IEnvironmentSpace.removeTaskListener(Object taskid,
Object objectid,
IResultListener listener)
Remove a result listener from an object task.
|
void |
AbstractEnvironmentSpace.removeTaskListener(Object taskid,
Object objectid,
IResultListener listener)
Remove a result listener from an object task.
|
int |
ComponentActionList.scheduleComponentAction(ISpaceAction action,
Map parameters,
IResultListener listener)
Schedules an component action.
|
Constructor and Description |
---|
ActionEntry(ISpaceAction action,
Map parameters,
IResultListener listener)
Convenience constructor for inline entry creation.
|
Modifier and Type | Class and Description |
---|---|
static class |
IntervalBehavior.StepResultListener<E,F> |
Modifier and Type | Method and Description |
---|---|
<T> IResultListener<T> |
MicroAgent.createResultListener(IResultListener<T> listener)
Create a result listener that is executed as an agent step.
|
Modifier and Type | Method and Description |
---|---|
<T> IResultListener<T> |
MicroAgent.createResultListener(IResultListener<T> listener)
Create a result listener that is executed as an agent step.
|
Copyright © 2015. All Rights Reserved.