public class RmiClientDecorator extends Object implements RmiClient
Constructor and Description |
---|
RmiClientDecorator(RmiClient delegate) |
Modifier and Type | Method and Description |
---|---|
protected RmiClient |
getDelegate() |
Set<String> |
getServiceNames() |
Map<String,Remote> |
getServices() |
void |
removeService(String serviceName) |
<T,R> R |
service(String serviceName,
UnaryConsumer<T,R> consumer) |
public <T,R> R service(@Nonnull String serviceName, @Nonnull UnaryConsumer<T,R> consumer)
public void removeService(@Nonnull String serviceName)
removeService
in interface RmiClient
@Nonnull public Set<String> getServiceNames()
getServiceNames
in interface RmiClient