public class ClientBarrierGroups extends AbstractBarrierGroups
BarrierGroups
implementation which delegates to a remote instance.AbstractBarrierGroups.BarrierGroupImplementation
Constructor and Description |
---|
ClientBarrierGroups(Sender sender,
MessageDispatchRegistry messageDispatch)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractBarrierGroups.BarrierGroupImplementation |
createBarrierGroup(String name)
Factory method through which subclasses provide an appropriate barrier
group implementation.
|
cancelAll, getExistingGroup, getGroup, toString
public ClientBarrierGroups(Sender sender, MessageDispatchRegistry messageDispatch)
sender
- Used to send messages to the remote instance (the console).messageDispatch
- Used to receive messages from the remote instance.protected AbstractBarrierGroups.BarrierGroupImplementation createBarrierGroup(String name)
createBarrierGroup
in class AbstractBarrierGroups
name
- Barrier name.Copyright © 2000-2014. All Rights Reserved.