public class Invoke extends Object
| Constructor and Description |
|---|
Invoke(ByzCoinProto.Invoke proto)
Constructor from protobuf.
|
Invoke(String cID,
String command,
List<Argument> arguments)
Constructor for the invoke action.
|
Invoke(String cID,
String command,
String argName,
byte[] value)
Constructor from one argName/value.
|
| Modifier and Type | Method and Description |
|---|---|
List<Argument> |
getArguments()
Getter for the arguments
|
String |
getCommand()
Getter for the command.
|
String |
getContractID()
Getter for the contract ID.
|
ByzCoinProto.Invoke |
toProto()
Converts this object to the protobuf representation.
|
String |
toString() |
public Invoke(String cID, String command, List<Argument> arguments)
cID - is the contract IDcommand - is the command to invoke in the contract.arguments - is the arguments for the contract.public Invoke(String cID, String command, String argName, byte[] value)
cID - is the contract IDcommand - is the commandargName - is the argument namevalue - is the valuepublic Invoke(ByzCoinProto.Invoke proto)
proto - the input protopublic String getContractID()
public String getCommand()
public ByzCoinProto.Invoke toProto()
Copyright © 2019. All rights reserved.