Removed the voterRegistryMessage and swaped the usage of it to BulletinBoardMessage
parent
87420a9d7d
commit
311d1e8e8e
|
@ -47,7 +47,7 @@ public class SimpleRegistry implements VoterRegistry{
|
||||||
* @param basicMessage BasicMessage
|
* @param basicMessage BasicMessage
|
||||||
* @return BulletinBoardMessage
|
* @return BulletinBoardMessage
|
||||||
*/
|
*/
|
||||||
private BulletinBoardMessage CreateBulletinBoardMessage(UnsignedBulletinBoardMessage basicMessage) {
|
protected BulletinBoardMessage CreateBulletinBoardMessage(UnsignedBulletinBoardMessage basicMessage) {
|
||||||
try {
|
try {
|
||||||
BulletinBoardMessage.Builder bulletinBoardMessage = BulletinBoardMessage.newBuilder();
|
BulletinBoardMessage.Builder bulletinBoardMessage = BulletinBoardMessage.newBuilder();
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ public class SimpleRegistry implements VoterRegistry{
|
||||||
}
|
}
|
||||||
|
|
||||||
public void GetGroups(GroupID groupID, RegistryCallBack callback) {
|
public void GetGroups(GroupID groupID, RegistryCallBack callback) {
|
||||||
List<String> GroupsActionsTags = new ArrayList<String>() {{
|
List<String> GroupsActionsTags = new ArrayList<String>(2) {{
|
||||||
add(RegistryTags.GROUP_ID_TAG + groupID.getId());
|
add(RegistryTags.GROUP_ID_TAG + groupID.getId());
|
||||||
}};
|
}};
|
||||||
bulletinBoardClient.readMessages(CollectionMessagesUtils.GenerateFiltersFromTags(GroupsActionsTags),
|
bulletinBoardClient.readMessages(CollectionMessagesUtils.GenerateFiltersFromTags(GroupsActionsTags),
|
||||||
|
|
Loading…
Reference in New Issue