public class FastCast extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FastCast.ConfigurationAlreadyDefinedException |
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,TransportDriver> |
drivers |
protected HashMap<String,PhysicalTransport> |
transports |
| Constructor and Description |
|---|
FastCast() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransport(PhysicalTransportConf tconf) |
void |
addTransportsFrom(ClusterConf config) |
ClusterConf |
getConfig() |
static FastCast |
getFastCast() |
String |
getNodeId() |
PublisherConf |
getPublisherConf(String name)
only avaiable if initialized with setConfig or loadConfig
|
SubscriberConf |
getSubscriberConf(String name)
only avaiable if initialized with setConfig or loadConfig
|
PhysicalTransport |
getTransport(String name) |
TransportDriver |
getTransportDriver(String transName) |
FastCast |
loadConfig(String filePath) |
TransportDriver |
onTransport(String transName)
same as getTransportDriver
|
void |
setConfig(ClusterConf config) |
void |
setNodeId(String nodeName) |
protected HashMap<String,PhysicalTransport> transports
protected HashMap<String,TransportDriver> drivers
public static FastCast getFastCast()
public void setNodeId(String nodeName)
public String getNodeId()
public PhysicalTransport getTransport(String name)
public TransportDriver onTransport(String transName)
transName - public TransportDriver getTransportDriver(String transName)
public void setConfig(ClusterConf config)
public SubscriberConf getSubscriberConf(String name)
name - public PublisherConf getPublisherConf(String name)
name - public ClusterConf getConfig()
public void addTransportsFrom(ClusterConf config)
public void addTransport(PhysicalTransportConf tconf)
tconf - Copyright © 2014. All rights reserved.