public final class ReceiveName extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ReceiveName |
from(com.concordium.grpc.v2.ReceiveName receiveName) |
static ReceiveName |
from(InitName initName,
String endpoint)
Create a
ReceiveName from a InitName |
static ReceiveName |
from(String contractName,
String method)
This function takes a contract name and a method name and returns a ReceiveName object.
|
byte[] |
getBytes() |
String |
getContractName()
The name of the contract.
|
String |
getMethod()
The entrypoint name of the contract.
|
int |
hashCode() |
static ReceiveName |
parse(String value) |
String |
toString() |
public static ReceiveName from(String contractName, String method)
contractName
- The name of the contract.method
- The name of the method to be called.public static ReceiveName from(InitName initName, String endpoint)
ReceiveName
from a InitName
initName
- the InitName
endpoint
- name of the receive endpointReceiveName
public static ReceiveName parse(String value)
public static ReceiveName from(com.concordium.grpc.v2.ReceiveName receiveName)
public byte[] getBytes()
public String getContractName()
public String getMethod()
Copyright © 2025. All rights reserved.