public class Roster extends Object
| Constructor and Description |
|---|
Roster(List<ServerIdentity> servers) |
Roster(RosterProto.Roster roster) |
| Modifier and Type | Method and Description |
|---|---|
static Roster |
FromToml(String groupToml) |
List<ServerIdentity> |
getNodes() |
com.google.protobuf.ByteString |
sendMessage(String path,
com.google.protobuf.GeneratedMessageV3 proto) |
RosterProto.Roster |
toProto() |
public Roster(List<ServerIdentity> servers)
public Roster(RosterProto.Roster roster) throws URISyntaxException
URISyntaxExceptionpublic List<ServerIdentity> getNodes()
public RosterProto.Roster toProto()
public com.google.protobuf.ByteString sendMessage(String path, com.google.protobuf.GeneratedMessageV3 proto) throws CothorityCommunicationException
CothorityCommunicationExceptionCopyright © 2018. All rights reserved.