public final class JGroupsBroadcastGroupConfiguration extends Object implements BroadcastEndpointFactoryConfiguration, DiscoveryGroupConfigurationCompatibilityHelper
Note only one JChannel is needed in a VM. To avoid the channel being prematurely disconnected by any party, a wrapper class is used.
JChannelWrapper, JChannelManager,
Serialized Form| Constructor and Description |
|---|
JGroupsBroadcastGroupConfiguration(org.jgroups.JChannel channel,
String channelName) |
JGroupsBroadcastGroupConfiguration(String jgroupsFile,
String channelName) |
| Modifier and Type | Method and Description |
|---|---|
BroadcastEndpointFactory |
createBroadcastEndpointFactory() |
String |
getGroupAddress() |
int |
getGroupPort() |
String |
getLocalBindAddress() |
int |
getLocalBindPort() |
public JGroupsBroadcastGroupConfiguration(String jgroupsFile, String channelName)
public JGroupsBroadcastGroupConfiguration(org.jgroups.JChannel channel,
String channelName)
public BroadcastEndpointFactory createBroadcastEndpointFactory()
createBroadcastEndpointFactory in interface BroadcastEndpointFactoryConfigurationpublic String getLocalBindAddress()
getLocalBindAddress in interface DiscoveryGroupConfigurationCompatibilityHelperpublic int getLocalBindPort()
getLocalBindPort in interface DiscoveryGroupConfigurationCompatibilityHelperpublic String getGroupAddress()
getGroupAddress in interface DiscoveryGroupConfigurationCompatibilityHelperpublic int getGroupPort()
getGroupPort in interface DiscoveryGroupConfigurationCompatibilityHelperCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.