Package | Description |
---|---|
agi.foundation.compatibility | |
agi.foundation.infrastructure.threading |
Contains types used to perform and manage calculations among multiple threads of execution.
|
Modifier and Type | Method and Description |
---|---|
static SendOrPostCallback |
SendOrPostCallback.of(SendOrPostCallback.Function f)
Create a delegate for the given interface.
|
static SendOrPostCallback |
SendOrPostCallback.of(SendOrPostCallback.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static SendOrPostCallback |
SendOrPostCallback.of(SendOrPostCallback.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageQueue.post(SendOrPostCallback callbackMethod,
Object state)
Adds a delegate to the message queue and immediately returns.
|
void |
MessageQueue.send(SendOrPostCallback callbackMethod,
Object state)
Adds a delegate to the message queue and waits until all currently
queued messages and the given delegate are executed before returning.
|