public interface IServicePoolHandler
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture |
createService()
Create a service.
|
jadex.commons.future.IFuture |
invokeService(jadex.bridge.service.IService service,
java.lang.Object task,
java.lang.Object user)
Invoke a service.
|
boolean |
selectService(jadex.bridge.service.IService service)
Select a service.
|
boolean selectService(jadex.bridge.service.IService service)
service
- The service.jadex.commons.future.IFuture createService()
jadex.commons.future.IFuture invokeService(jadex.bridge.service.IService service, java.lang.Object task, java.lang.Object user)
service
- The service.task
- The task to execute.user
- User data that was provided to the ServicePoolManager.performTasks() method (if any).