public class ConnectorSimulator extends ConnectorBase implements java.lang.Runnable
server| Constructor and Description |
|---|
ConnectorSimulator(Server server,
org.conceptoriented.bistro.core.Table table,
java.time.Duration delay,
java.util.List<java.lang.Object[]> data) |
ConnectorSimulator(Server server,
org.conceptoriented.bistro.core.Table table,
java.util.List<java.time.Duration> delays,
java.util.List<java.lang.Object[]> data) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
start() |
void |
stop() |
addAction, addActions, getActions, getServer, setServerpublic ConnectorSimulator(Server server, org.conceptoriented.bistro.core.Table table, java.time.Duration delay, java.util.List<java.lang.Object[]> data)
public ConnectorSimulator(Server server, org.conceptoriented.bistro.core.Table table, java.util.List<java.time.Duration> delays, java.util.List<java.lang.Object[]> data)
public void run()
run in interface java.lang.Runnablepublic void start()
throws org.conceptoriented.bistro.core.BistroError
start in interface Connectorstart in class ConnectorBaseorg.conceptoriented.bistro.core.BistroErrorpublic void stop()
throws org.conceptoriented.bistro.core.BistroError
stop in interface Connectorstop in class ConnectorBaseorg.conceptoriented.bistro.core.BistroError