| Package | Description |
|---|---|
| org.wso2.carbon.databridge.agent.thrift | |
| org.wso2.carbon.databridge.agent.thrift.internal.publisher.client | |
| org.wso2.carbon.databridge.agent.thrift.lb |
| Modifier and Type | Method and Description |
|---|---|
Agent |
DataPublisher.getAgent()
to get the underlining agent
|
Agent |
AsyncDataPublisher.getAgent()
to get the underlining agent
|
static Agent |
AgentHolder.getAgent() |
static Agent |
AgentHolder.getOrCreateAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
DataPublisher.setAgent(Agent agent)
to set the underlining agent
which could be sheared by many data publishers
|
void |
AsyncDataPublisher.setAgent(Agent agent)
to set the underlining agent
which could be sheared by many data publishers
|
static void |
AgentHolder.setAgent(Agent agent) |
| Constructor and Description |
|---|
AsyncDataPublisher(String receiverURL,
String username,
String password,
Agent agent)
To create the Data Publisher and creates the connection asynchronously
|
AsyncDataPublisher(String authenticationUrl,
String receiverUrl,
String userName,
String password,
Agent agent)
To create the Data Publisher and creates the connection asynchronously
|
AsyncDataPublisher(String authenticationUrl,
String receiverUrl,
String userName,
String password,
Agent agent,
ConcurrentHashMap<String,String> streamDefnCache)
To create the Data Publisher and creates the connection asynchronously
|
DataPublisher(String receiverUrl,
String userName,
String password,
Agent agent)
To create the Data Publisher to publish events
For TCP protocol
For secure data transfer the Authenticator URL will be the same as the Receiver URL and
for normal data transfer the Authenticator ip will be the same as receiver ip but its port will be 100+
|
DataPublisher(String authenticationUrl,
String receiverUrl,
String userName,
String password,
Agent agent)
To create the Data Publisher and the respective agent to publish events
|
| Modifier and Type | Method and Description |
|---|---|
static EventPublisher |
EventPublisherFactory.getEventPublisher(DataPublisherConfiguration dataPublisherConfiguration,
EventQueue<org.wso2.carbon.databridge.commons.Event> eventQueue,
Agent agent,
org.apache.commons.pool.impl.GenericKeyedObjectPool transportPool) |
| Modifier and Type | Method and Description |
|---|---|
Agent |
DataPublisherHolder.getAgent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ReceiverGroup.createDataPublishers(Agent agent,
ConcurrentHashMap<String,String> streamDefnCache) |
protected void |
DataPublisherHolder.setAgent(Agent agent) |
| Constructor and Description |
|---|
LoadBalancingDataPublisher(ArrayList<ReceiverGroup> receiverGroups,
Agent agent) |
LoadBalancingDataPublisher(ArrayList<ReceiverGroup> receiverGroups,
Agent agent,
boolean shareStreamDefinitionCache) |
Copyright © 2015 WSO2. All rights reserved.