public class SequentialMultiplexDistributor extends SimpleMultiplexDistributor
Constructor and Description |
---|
SequentialMultiplexDistributor() |
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.
|
boolean |
hasArguments()
Test if has arguments.
|
IIntermediateFuture<Object> |
init(Method method,
Object[] args,
IFilter<Tuple2<IService,Object[]>> filter,
IParameterConverter conv)
Start the distributor.
|
void |
serviceSearchFinished()
Notify that the search has finished.
|
performCall
public IIntermediateFuture<Object> init(Method method, Object[] args, IFilter<Tuple2<IService,Object[]>> filter, IParameterConverter conv)
init
in interface IMultiplexDistributor
init
in class SimpleMultiplexDistributor
public void addService(IService service)
addService
in interface IMultiplexDistributor
addService
in class SimpleMultiplexDistributor
service
- The service.public void serviceSearchFinished()
serviceSearchFinished
in interface IMultiplexDistributor
serviceSearchFinished
in class SimpleMultiplexDistributor
public Object[] getArguments()
getArguments
in class SimpleMultiplexDistributor
public boolean hasArguments()
public void checkPerformCall(IService service)
checkPerformCall
in class SimpleMultiplexDistributor
Copyright © 2012. All Rights Reserved.