public abstract class AbstractFederationStream extends Object implements FederationStream
Modifier and Type | Field and Description |
---|---|
protected FederationConnection |
connection |
protected Map<String,FederatedAddress> |
federatedAddressMap |
protected Map<String,FederatedQueue> |
federatedQueueMap |
protected Federation |
federation |
protected SimpleString |
name |
protected ActiveMQServer |
server |
Constructor and Description |
---|
AbstractFederationStream(ActiveMQServer server,
Federation federation,
String name,
FederationStreamConfiguration config) |
AbstractFederationStream(ActiveMQServer server,
Federation federation,
String name,
FederationStreamConfiguration config,
FederationConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
callFederationStreamStartedPlugins() |
protected void |
callFederationStreamStoppedPlugins() |
FederationStreamConfiguration |
getConfig() |
FederationConnection |
getConnection() |
Federation |
getFederation() |
SimpleString |
getName() |
String |
getPassword() |
int |
getPriorityAdjustment() |
String |
getUser() |
void |
start() |
void |
stop() |
protected final ActiveMQServer server
protected final Federation federation
protected final SimpleString name
protected final FederationConnection connection
protected Map<String,FederatedQueue> federatedQueueMap
protected Map<String,FederatedAddress> federatedAddressMap
public AbstractFederationStream(ActiveMQServer server, Federation federation, String name, FederationStreamConfiguration config)
public AbstractFederationStream(ActiveMQServer server, Federation federation, String name, FederationStreamConfiguration config, FederationConnection connection)
public void start()
start
in interface FederationStream
public void stop()
stop
in interface FederationStream
public Federation getFederation()
getFederation
in interface FederationStream
public FederationStreamConfiguration getConfig()
getConfig
in interface FederationStream
public SimpleString getName()
getName
in interface FederationStream
public FederationConnection getConnection()
getConnection
in interface FederationStream
public String getUser()
getUser
in interface FederationStream
public String getPassword()
getPassword
in interface FederationStream
public int getPriorityAdjustment()
getPriorityAdjustment
in interface FederationStream
protected void callFederationStreamStartedPlugins()
protected void callFederationStreamStoppedPlugins()
Copyright © 2021 JBoss by Red Hat. All rights reserved.