| Modifier and Type | Method and Description |
|---|---|
NetworkConfig |
Vertigo.createNetwork(org.vertx.java.core.json.JsonObject json)
Creates a network configuration from json.
|
NetworkConfig |
Vertigo.createNetwork(String name)
Creates a new network.
|
| Modifier and Type | Method and Description |
|---|---|
Vertigo |
Vertigo.deployNetwork(String cluster,
NetworkConfig network)
Deploys a network to a specific cluster.
|
Vertigo |
Vertigo.deployNetwork(String cluster,
NetworkConfig network,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Deploys a network to a specific cluster.
|
Vertigo |
Vertigo.undeployNetwork(String cluster,
NetworkConfig network)
Undeploys a network from the given cluster.
|
Vertigo |
Vertigo.undeployNetwork(String cluster,
NetworkConfig network,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler)
Undeploys a network from the given cluster.
|
| Modifier and Type | Method and Description |
|---|---|
Cluster |
Cluster.deployNetwork(NetworkConfig network)
Deploys a network to the cluster.
|
Cluster |
Cluster.deployNetwork(NetworkConfig network,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler)
Deploys a network to the cluster.
|
Cluster |
Cluster.undeployNetwork(NetworkConfig network)
Undeploys a network from the cluster.
|
Cluster |
Cluster.undeployNetwork(NetworkConfig network,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler)
Undeploys a network from the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
Cluster |
DefaultCluster.deployNetwork(NetworkConfig network) |
Cluster |
DefaultCluster.deployNetwork(NetworkConfig network,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<ActiveNetwork>> doneHandler) |
Cluster |
DefaultCluster.undeployNetwork(NetworkConfig network) |
Cluster |
DefaultCluster.undeployNetwork(NetworkConfig network,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler) |
| Constructor and Description |
|---|
DefaultModuleConfig(String name,
String moduleName,
NetworkConfig network) |
DefaultVerticleConfig(String name,
String main,
NetworkConfig network) |
| Modifier and Type | Method and Description |
|---|---|
static NetworkContext |
ContextBuilder.buildContext(NetworkConfig network,
String cluster)
Builds a network context from a network definition.
|
| Constructor and Description |
|---|
DefaultConnectionConfig(String source,
String target,
NetworkConfig network) |
DefaultConnectionConfig(String source,
String target,
Selector selector,
NetworkConfig network) |
DefaultConnectionConfig(String source,
String out,
String target,
String in,
NetworkConfig network) |
DefaultConnectionConfig(String source,
String out,
String target,
String in,
Selector selector,
NetworkConfig network) |
| Modifier and Type | Method and Description |
|---|---|
NetworkConfig |
NetworkContext.config()
Returns the network configuration from which the context was built.
|
NetworkConfig |
NetworkConfig.destroyConnection(ConnectionConfig connection)
Destroys a connection between two components.
|
NetworkConfig |
NetworkConfig.destroyConnection(String source,
String target)
Destroys a connection between two components.
|
NetworkConfig |
NetworkConfig.destroyConnection(String source,
String out,
String target,
String in)
Destroys a connection between two components.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultNetworkConfig
Default network configuration implementation.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkConfig |
DefaultNetworkContext.config() |
NetworkConfig |
DefaultNetworkConfig.destroyConnection(ConnectionConfig connection) |
NetworkConfig |
DefaultNetworkConfig.destroyConnection(String source,
String target) |
NetworkConfig |
DefaultNetworkConfig.destroyConnection(String source,
String out,
String target,
String in) |
NetworkConfig |
DefaultActiveNetwork.getConfig() |
| Modifier and Type | Method and Description |
|---|---|
DefaultNetworkContext.Builder |
DefaultNetworkContext.Builder.setConfig(NetworkConfig config)
Sets the network configuration.
|
| Constructor and Description |
|---|
DefaultActiveNetwork(NetworkConfig network,
Cluster cluster) |
| Modifier and Type | Method and Description |
|---|---|
static NetworkConfig |
Configs.createNetwork(org.vertx.java.core.json.JsonObject config)
Creates a network configuration from json.
|
static NetworkConfig |
Configs.mergeNetworks(NetworkConfig base,
NetworkConfig merge)
Merges two network configurations into a single configuraiton.
|
static NetworkConfig |
Configs.unmergeNetworks(NetworkConfig base,
NetworkConfig unmerge)
Unmerges one network configuration from another.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkConfig |
Configs.mergeNetworks(NetworkConfig base,
NetworkConfig merge)
Merges two network configurations into a single configuraiton.
|
static NetworkConfig |
Configs.unmergeNetworks(NetworkConfig base,
NetworkConfig unmerge)
Unmerges one network configuration from another.
|
Copyright © 2013-2014. All Rights Reserved.