public class GroupCommClientImpl extends Object implements GroupCommClient
Constructor and Description |
---|
GroupCommClientImpl(Set<String> groupConfigs,
String taskId,
GroupCommNetworkHandler groupCommNetworkHandler,
NetworkService<ReefNetworkGroupCommProtos.GroupCommMessage> netService,
ConfigurationSerializer configSerializer)
Deprecated.
in 0.14.
Use the other constructor that receives an
injector as a parameter instead.
The parameters taskId and netService can be removed from the other constructor when
this constructor gets deleted. |
@Deprecated @Inject public GroupCommClientImpl(Set<String> groupConfigs, String taskId, GroupCommNetworkHandler groupCommNetworkHandler, NetworkService<ReefNetworkGroupCommProtos.GroupCommMessage> netService, ConfigurationSerializer configSerializer)
injector
as a parameter instead.
The parameters taskId
and netService
can be removed from the other constructor when
this constructor gets deleted.public CommunicationGroupClient getCommunicationGroup(Class<? extends Name<String>> groupName)
getCommunicationGroup
in interface GroupCommClient
groupName
- a group nameCopyright © 2016 The Apache Software Foundation. All rights reserved.