public class ReadData extends Object
| Constructor and Description |
|---|
ReadData(Instance inst)
Creates a new ReadData from an existing instance.
|
ReadData(InstanceId writeId,
Point readerPk)
Construct a read request given the ID of the corresponding write request and the reader's public key.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceId |
getWriteId() |
Point |
getXc() |
Calypso.Read |
toProto()
Return the protobuf representation of the ReadData.
|
public ReadData(InstanceId writeId, Point readerPk)
public ReadData(Instance inst) throws CothorityNotFoundException
inst - com.google.protobuf.InvalidProtocolBufferExceptionCothorityNotFoundExceptionpublic Point getXc()
public InstanceId getWriteId()
public Calypso.Read toProto()
Copyright © 2018. All rights reserved.