public class SimpleMultiplexDistributor extends Object implements IMultiplexDistributor
Constructor and Description |
---|
SimpleMultiplexDistributor() |
Modifier and Type | Method and Description |
---|---|
void |
addService(IService service)
Add a new service.
|
void |
checkPerformCall(IService service)
Check perform call.
|
Object[] |
getArguments()
Get the arguments for a call.
|
IIntermediateFuture<Object> |
init(Method method,
Object[] args,
IFilter<Tuple2<IService,Object[]>> filter,
IParameterConverter conv)
Start the distributor.
|
Object |
performCall(IService service,
Object[] args)
Perform a call on given service with given arguments.
|
void |
serviceSearchFinished()
Notify that the search has finished.
|
public IIntermediateFuture<Object> init(Method method, Object[] args, IFilter<Tuple2<IService,Object[]>> filter, IParameterConverter conv)
init
in interface IMultiplexDistributor
public void addService(IService service)
addService
in interface IMultiplexDistributor
service
- The service.public void serviceSearchFinished()
serviceSearchFinished
in interface IMultiplexDistributor
public Object[] getArguments()
public void checkPerformCall(IService service)
Copyright © 2012. All Rights Reserved.