public class DefaultActiveNetwork extends Object implements ActiveNetwork, Observer<NetworkContext>
| Constructor and Description |
|---|
DefaultActiveNetwork(NetworkConfig network,
ClusterManager cluster) |
| Modifier and Type | Method and Description |
|---|---|
<T extends ComponentConfig<T>> |
addComponent(String name,
String moduleOrMain)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(String name,
String moduleOrMain,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(String name,
String moduleOrMain,
int instances)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(String name,
String moduleOrMain,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(String name,
String moduleOrMain,
org.vertx.java.core.json.JsonObject config)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(String name,
String moduleOrMain,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(String name,
String moduleOrMain,
org.vertx.java.core.json.JsonObject config,
int instances)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(String name,
String moduleOrMain,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(T component)
Adds a component to the network.
|
<T extends ComponentConfig<T>> |
addComponent(T component,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a component to the network.
|
ModuleConfig |
addModule(ModuleConfig module)
Adds a module component to the network.
|
ModuleConfig |
addModule(ModuleConfig module,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a module component to the network.
|
ModuleConfig |
addModule(String name,
String moduleName)
Adds a module component to the network.
|
ModuleConfig |
addModule(String name,
String moduleName,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a module component to the network.
|
ModuleConfig |
addModule(String name,
String moduleName,
int instances)
Adds a module component to the network.
|
ModuleConfig |
addModule(String name,
String moduleName,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a module component to the network.
|
ModuleConfig |
addModule(String name,
String moduleName,
org.vertx.java.core.json.JsonObject config)
Adds a module component to the network.
|
ModuleConfig |
addModule(String name,
String moduleName,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a module component to the network.
|
ModuleConfig |
addModule(String name,
String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances)
Adds a module component to the network.
|
ModuleConfig |
addModule(String name,
String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a module component to the network.
|
VerticleConfig |
addVerticle(String name,
String main)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(String name,
String main,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(String name,
String main,
int instances)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(String name,
String main,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(String name,
String main,
org.vertx.java.core.json.JsonObject config)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(String name,
String main,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(String name,
String main,
org.vertx.java.core.json.JsonObject config,
int instances)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(String name,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(VerticleConfig verticle)
Adds a verticle component to the network.
|
VerticleConfig |
addVerticle(VerticleConfig verticle,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Adds a verticle component to the network.
|
ConnectionConfig |
createConnection(ConnectionConfig connection)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(ConnectionConfig connection,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(String source,
String target)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(String source,
String target,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(String source,
String target,
Selector selector)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(String source,
String target,
Selector selector,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(String source,
String out,
String target,
String in)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(String source,
String out,
String target,
String in,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(String source,
String out,
String target,
String in,
Selector selector)
Creates a connection between two components in the network.
|
ConnectionConfig |
createConnection(String source,
String out,
String target,
String in,
Selector selector,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Creates a connection between two components in the network.
|
ActiveNetwork |
destroyConnection(ConnectionConfig connection)
Destroys a connection between two components in the network.
|
ActiveNetwork |
destroyConnection(ConnectionConfig connection,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Destroys a connection between two components in the network.
|
ActiveNetwork |
destroyConnection(String source,
String target)
Destroys a connection between two components in the network.
|
ActiveNetwork |
destroyConnection(String source,
String target,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Destroys a connection between two components in the network.
|
ActiveNetwork |
destroyConnection(String source,
String out,
String target,
String in)
Destroys a connection between two components in the network.
|
ActiveNetwork |
destroyConnection(String source,
String out,
String target,
String in,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Destroys a connection between two components in the network.
|
NetworkConfig |
getConfig()
Returns the underlying configuration.
|
<T extends ComponentConfig<T>> |
removeComponent(String name)
Removes a component from the network.
|
<T extends ComponentConfig<T>> |
removeComponent(String name,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Removes a component from the network.
|
<T extends ComponentConfig<T>> |
removeComponent(T component)
Removes a component from the network.
|
<T extends ComponentConfig<T>> |
removeComponent(T component,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Removes a component from the network.
|
ModuleConfig |
removeModule(ModuleConfig module)
Removes a module component from the network.
|
ModuleConfig |
removeModule(ModuleConfig module,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Removes a module component from the network.
|
ModuleConfig |
removeModule(String name)
Removes a module component from the network.
|
ModuleConfig |
removeModule(String name,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Removes a module component from the network.
|
VerticleConfig |
removeVerticle(String name)
Removes a verticle component from the network.
|
VerticleConfig |
removeVerticle(String name,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Removes a verticle component from the network.
|
VerticleConfig |
removeVerticle(VerticleConfig verticle)
Removes a verticle component from the network.
|
VerticleConfig |
removeVerticle(VerticleConfig verticle,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Removes a verticle component from the network.
|
void |
update(NetworkContext context) |
public DefaultActiveNetwork(NetworkConfig network, ClusterManager cluster)
public void update(NetworkContext context)
update in interface Observer<NetworkContext>public NetworkConfig getConfig()
ActiveConfiggetConfig in interface ActiveConfig<NetworkConfig>public <T extends ComponentConfig<T>> T addComponent(T component)
ActiveNetworkaddComponent in interface ActiveNetworkcomponent - The component to add.public <T extends ComponentConfig<T>> T addComponent(T component, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddComponent in interface ActiveNetworkcomponent - The component to add.doneHandler - An asynchronous handler to be called once complete.public <T extends ComponentConfig<T>> T addComponent(String name, String moduleOrMain)
ActiveNetworkaddComponent in interface ActiveNetworkname - The name of the component to add.moduleOrMain - The component module name or verticle main.public <T extends ComponentConfig<T>> T addComponent(String name, String moduleOrMain, org.vertx.java.core.json.JsonObject config)
ActiveNetworkaddComponent in interface ActiveNetworkname - The name of the component to add.moduleOrMain - The component module name or verticle main.config - The component configuration.public <T extends ComponentConfig<T>> T addComponent(String name, String moduleOrMain, int instances)
ActiveNetworkaddComponent in interface ActiveNetworkname - The name of the component to add.moduleOrMain - The component module name or verticle main.instances - The number of instances of the component.public <T extends ComponentConfig<T>> T addComponent(String name, String moduleOrMain, org.vertx.java.core.json.JsonObject config, int instances)
ActiveNetworkaddComponent in interface ActiveNetworkname - The name of the component to add.moduleOrMain - The component module name or verticle main.config - The component configuration.instances - The number of instances of the component.public <T extends ComponentConfig<T>> T addComponent(String name, String moduleOrMain, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddComponent in interface ActiveNetworkname - The name of the component to add.moduleOrMain - The component module name or verticle main.doneHandler - An asynchronous handler to be called once complete.public <T extends ComponentConfig<T>> T addComponent(String name, String moduleOrMain, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddComponent in interface ActiveNetworkname - The name of the component to add.moduleOrMain - The component module name or verticle main.config - The component configuration.doneHandler - An asynchronous handler to be called once complete.public <T extends ComponentConfig<T>> T addComponent(String name, String moduleOrMain, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddComponent in interface ActiveNetworkname - The name of the component to add.moduleOrMain - The component module name or verticle main.instances - The number of instances of the component.doneHandler - An asynchronous handler to be called once complete.public <T extends ComponentConfig<T>> T addComponent(String name, String moduleOrMain, org.vertx.java.core.json.JsonObject config, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddComponent in interface ActiveNetworkname - The name of the component to add.moduleOrMain - The component module name or verticle main.config - The component configuration.instances - The number of instances of the component.doneHandler - An asynchronous handler to be called once complete.public <T extends ComponentConfig<T>> T removeComponent(T component)
ActiveNetworkremoveComponent in interface ActiveNetworkcomponent - The component to remove.public <T extends ComponentConfig<T>> T removeComponent(T component, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkremoveComponent in interface ActiveNetworkcomponent - The component to remove.doneHandler - An asynchronous handler to be called once complete.public <T extends ComponentConfig<T>> T removeComponent(String name)
ActiveNetworkremoveComponent in interface ActiveNetworkname - The name of the component to remove.public <T extends ComponentConfig<T>> T removeComponent(String name, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkremoveComponent in interface ActiveNetworkname - The name of the component to remove.doneHandler - An asynchronous handler to be called once complete.public ModuleConfig addModule(ModuleConfig module)
ActiveNetworkaddModule in interface ActiveNetworkmodule - The module component configuration.public ModuleConfig addModule(ModuleConfig module, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddModule in interface ActiveNetworkmodule - The module component configuration.doneHandler - An asynchronous handler to be called once complete.public ModuleConfig addModule(String name, String moduleName)
ActiveNetworkaddModule in interface ActiveNetworkname - The name of the component to add.moduleName - The component module name.public ModuleConfig addModule(String name, String moduleName, org.vertx.java.core.json.JsonObject config)
ActiveNetworkaddModule in interface ActiveNetworkname - The name of the component to add.moduleName - The component module name.config - The module component configuration.public ModuleConfig addModule(String name, String moduleName, int instances)
ActiveNetworkaddModule in interface ActiveNetworkname - The name of the component to add.moduleName - The component module name.instances - The number of instances to be deployed.public ModuleConfig addModule(String name, String moduleName, org.vertx.java.core.json.JsonObject config, int instances)
ActiveNetworkaddModule in interface ActiveNetworkname - The name of the component to add.moduleName - The component module name.config - The module component configuration.instances - The number of instances to be deployed.public ModuleConfig addModule(String name, String moduleName, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddModule in interface ActiveNetworkname - The name of the component to add.moduleName - The component module name.doneHandler - An asynchronous handler to be called once complete.public ModuleConfig addModule(String name, String moduleName, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddModule in interface ActiveNetworkname - The name of the component to add.moduleName - The component module name.config - The module component configuration.doneHandler - An asynchronous handler to be called once complete.public ModuleConfig addModule(String name, String moduleName, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddModule in interface ActiveNetworkname - The name of the component to add.moduleName - The component module name.instances - The number of instances to be deployed.doneHandler - An asynchronous handler to be called once complete.public ModuleConfig addModule(String name, String moduleName, org.vertx.java.core.json.JsonObject config, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddModule in interface ActiveNetworkname - The name of the component to add.moduleName - The component module name.config - The module component configuration.instances - The number of instances to be deployed.doneHandler - An asynchronous handler to be called once complete.public ModuleConfig removeModule(ModuleConfig module)
ActiveNetworkremoveModule in interface ActiveNetworkmodule - The module configuration to remove.public ModuleConfig removeModule(ModuleConfig module, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkremoveModule in interface ActiveNetworkmodule - The module configuration to remove.doneHandler - An asynchronous handler to be called once complete.public ModuleConfig removeModule(String name)
ActiveNetworkremoveModule in interface ActiveNetworkname - The name of the module component to remove.public ModuleConfig removeModule(String name, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkremoveModule in interface ActiveNetworkname - The name of the module component to remove.doneHandler - An asynchronous handler to be called once complete.public VerticleConfig addVerticle(VerticleConfig verticle)
ActiveNetworkaddVerticle in interface ActiveNetworkverticle - The verticle component configuration.public VerticleConfig addVerticle(VerticleConfig verticle, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddVerticle in interface ActiveNetworkverticle - The verticle component configuration.doneHandler - An asynchronous handler to be called once complete.public VerticleConfig addVerticle(String name, String main)
ActiveNetworkaddVerticle in interface ActiveNetworkname - The name of the component to add.main - The component verticle main.public VerticleConfig addVerticle(String name, String main, org.vertx.java.core.json.JsonObject config)
ActiveNetworkaddVerticle in interface ActiveNetworkname - The name of the component to add.main - The component verticle main.config - The verticle component configuration.public VerticleConfig addVerticle(String name, String main, int instances)
ActiveNetworkaddVerticle in interface ActiveNetworkname - The name of the component to add.main - The component verticle main.instances - The number of instances to be deployed.public VerticleConfig addVerticle(String name, String main, org.vertx.java.core.json.JsonObject config, int instances)
ActiveNetworkaddVerticle in interface ActiveNetworkname - The name of the component to add.main - The component verticle main.config - The verticle component configuration.instances - The number of instances to be deployed.public VerticleConfig addVerticle(String name, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddVerticle in interface ActiveNetworkname - The name of the component to add.main - The component verticle main.doneHandler - An asynchronous handler to be called once complete.public VerticleConfig addVerticle(String name, String main, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddVerticle in interface ActiveNetworkname - The name of the component to add.main - The component verticle main.config - The verticle component configuration.doneHandler - An asynchronous handler to be called once complete.public VerticleConfig addVerticle(String name, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddVerticle in interface ActiveNetworkname - The name of the component to add.main - The component verticle main.instances - The number of instances to be deployed.doneHandler - An asynchronous handler to be called once complete.public VerticleConfig addVerticle(String name, String main, org.vertx.java.core.json.JsonObject config, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkaddVerticle in interface ActiveNetworkname - The name of the component to add.main - The component verticle main.config - The verticle component configuration.instances - The number of instances to be deployed.doneHandler - An asynchronous handler to be called once complete.public VerticleConfig removeVerticle(VerticleConfig verticle)
ActiveNetworkremoveVerticle in interface ActiveNetworkverticle - The verticle configuration to remove.public VerticleConfig removeVerticle(VerticleConfig verticle, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkremoveVerticle in interface ActiveNetworkverticle - The verticle configuration to remove.doneHandler - An asynchronous handler to be called once complete.public VerticleConfig removeVerticle(String name)
ActiveNetworkremoveVerticle in interface ActiveNetworkname - The name of the verticle component to remove.public VerticleConfig removeVerticle(String name, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkremoveVerticle in interface ActiveNetworkname - The name of the verticle component to remove.doneHandler - An asynchronous handler to be called once complete.public ConnectionConfig createConnection(ConnectionConfig connection)
ActiveNetworkcreateConnection in interface ActiveNetworkconnection - The connection configuration.public ConnectionConfig createConnection(String source, String target)
ActiveNetworkcreateConnection in interface ActiveNetworksource - The connection source and port.target - The connection target and port.public ConnectionConfig createConnection(String source, String target, Selector selector)
ActiveNetworkcreateConnection in interface ActiveNetworksource - The connection source and port.target - The connection target and port.selector - The connection selector.public ConnectionConfig createConnection(String source, String out, String target, String in)
ActiveNetworkcreateConnection in interface ActiveNetworksource - The connection source.out - The connection source out port.target - The connection target.in - The connection target in port.public ConnectionConfig createConnection(String source, String out, String target, String in, Selector selector)
ActiveNetworkcreateConnection in interface ActiveNetworksource - The connection source.out - The connection source out port.target - The connection target.in - The connection target in port.selector - The connection selector.public ConnectionConfig createConnection(ConnectionConfig connection, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkcreateConnection in interface ActiveNetworkconnection - The connection configuration.doneHandler - An asynchronous handler to be called once complete.public ConnectionConfig createConnection(String source, String target, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkcreateConnection in interface ActiveNetworksource - The connection source and port.target - The connection target and port.doneHandler - An asynchronous handler to be called once complete.public ConnectionConfig createConnection(String source, String target, Selector selector, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkcreateConnection in interface ActiveNetworksource - The connection source and port.target - The connection target and port.selector - The connection selector.doneHandler - An asynchronous handler to be called once complete.public ConnectionConfig createConnection(String source, String out, String target, String in, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkcreateConnection in interface ActiveNetworksource - The connection source.out - The connection source out port.target - The connection target.in - The connection target in port.doneHandler - An asynchronous handler to be called once complete.public ConnectionConfig createConnection(String source, String out, String target, String in, Selector selector, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkcreateConnection in interface ActiveNetworksource - The connection source.out - The connection source out port.target - The connection target.in - The connection target in port.selector - The connection selector.doneHandler - An asynchronous handler to be called once complete.public ActiveNetwork destroyConnection(ConnectionConfig connection)
ActiveNetworkdestroyConnection in interface ActiveNetworkconnection - The connection configuration to destroy.public ActiveNetwork destroyConnection(ConnectionConfig connection, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkdestroyConnection in interface ActiveNetworkconnection - The connection configuration to destroy.doneHandler - An asynchronous handler to be called once complete.public ActiveNetwork destroyConnection(String source, String target)
ActiveNetworkdestroyConnection in interface ActiveNetworksource - The connection source and port.target - The connection target and port.public ActiveNetwork destroyConnection(String source, String out, String target, String in)
ActiveNetworkdestroyConnection in interface ActiveNetworksource - The connection source.out - The connection source out port.target - The connection target.in - The connection target in port.public ActiveNetwork destroyConnection(String source, String target, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkdestroyConnection in interface ActiveNetworksource - The connection source and port.target - The connection target and port.doneHandler - An asynchronous handler to be called once complete.public ActiveNetwork destroyConnection(String source, String out, String target, String in, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
ActiveNetworkdestroyConnection in interface ActiveNetworksource - The connection source.out - The connection source out port.target - The connection target.in - The connection target in port.doneHandler - An asynchronous handler to be called once complete.Copyright © 2013-2014. All Rights Reserved.