public class ServerIdentity extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ServerIdentity.SyncSendMessage |
| Constructor and Description |
|---|
ServerIdentity(ServerIdentityProto.ServerIdentity sid) |
ServerIdentity(com.moandjiezana.toml.Toml siToml) |
ServerIdentity(URI serverWsAddress,
String publicKey) |
| Modifier and Type | Method and Description |
|---|---|
URI |
getAddress() |
StatusProto.Response |
GetStatus() |
byte[] |
SendMessage(String path,
byte[] data) |
ServerIdentityProto.ServerIdentity |
toProto() |
public Point Public
public ServerIdentity(com.moandjiezana.toml.Toml siToml)
throws URISyntaxException
URISyntaxExceptionpublic ServerIdentity(ServerIdentityProto.ServerIdentity sid) throws URISyntaxException
URISyntaxExceptionpublic URI getAddress()
public StatusProto.Response GetStatus() throws CothorityCommunicationException
CothorityCommunicationExceptionpublic ServerIdentityProto.ServerIdentity toProto()
public byte[] SendMessage(String path, byte[] data) throws CothorityCommunicationException
CothorityCommunicationExceptionCopyright © 2018. All rights reserved.