public class BroadcastGroupImpl extends Object implements BroadcastGroup, Runnable
Constructor and Description |
---|
BroadcastGroupImpl(String nodeID,
String name,
InetAddress localAddress,
int localPort,
InetAddress groupAddress,
int groupPort,
boolean active)
Broadcast group is bound locally to the wildcard address
|
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
addConnector(TransportConfiguration tcConfig) |
void |
broadcastConnectors() |
String |
getName() |
boolean |
isStarted() |
void |
removeConnector(TransportConfiguration tcConfig) |
void |
run() |
void |
setNotificationService(NotificationService notificationService) |
void |
setScheduledFuture(ScheduledFuture<?> future) |
int |
size() |
void |
start() |
void |
stop() |
public BroadcastGroupImpl(String nodeID, String name, InetAddress localAddress, int localPort, InetAddress groupAddress, int groupPort, boolean active) throws Exception
Exception
public void setNotificationService(NotificationService notificationService)
setNotificationService
in interface BroadcastGroup
public void start() throws Exception
start
in interface HornetQComponent
Exception
public void stop()
stop
in interface HornetQComponent
public boolean isStarted()
isStarted
in interface HornetQComponent
public String getName()
getName
in interface BroadcastGroup
public void addConnector(TransportConfiguration tcConfig)
addConnector
in interface BroadcastGroup
public void removeConnector(TransportConfiguration tcConfig)
removeConnector
in interface BroadcastGroup
public int size()
size
in interface BroadcastGroup
public void activate()
activate
in interface BroadcastGroup
public void broadcastConnectors() throws Exception
broadcastConnectors
in interface BroadcastGroup
Exception
public void setScheduledFuture(ScheduledFuture<?> future)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.