org.avineas.comli.impl
public class SlaveManager extends java.lang.Object
| Constructor and Description |
|---|
SlaveManager(Channel channel,
long timeout)
Construct a slave manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the manager.
|
void |
setSlaves(SlaveProvider slaves)
Set the provider that looks up a slave based on the identification
of the slave.
|
public SlaveManager(Channel channel, long timeout)
channel - The channel to interact overtimeout - The timeout, in ms. used for packets on the linepublic void destroy()
public void setSlaves(SlaveProvider slaves)
slaves - The slave provider