public class LinkFailEvent extends Message<RouterOuterClass.LinkFailEvent>
Message
,
RouterOuterClass.LinkFailEvent
builder, wrapperFactory
Constructor and Description |
---|
LinkFailEvent()
Empty Constructor
|
LinkFailEvent(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
LinkFailEvent(RouterOuterClass.LinkFailEvent apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
FailureDetail |
getFailureDetail()
Getter for failureDetail.
|
java.lang.String |
getFailureString()
Getter for failureString.
|
HtlcInfo |
getInfo()
Getter for a list of info.
|
Failure.FailureCode |
getWireFailure()
Getter for wireFailure.
|
void |
setFailureDetail(FailureDetail value)
Setter for failureDetail.
|
void |
setFailureString(java.lang.String value)
Setter for failureString.
|
void |
setInfo(HtlcInfo value)
Setter for list of info.
|
void |
setWireFailure(Failure.FailureCode value)
Setter for wireFailure.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public LinkFailEvent()
public LinkFailEvent(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public LinkFailEvent(RouterOuterClass.LinkFailEvent apiObject)
public HtlcInfo getInfo() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setInfo(HtlcInfo value)
public Failure.FailureCode getWireFailure()
public void setWireFailure(Failure.FailureCode value)
public FailureDetail getFailureDetail()
public void setFailureDetail(FailureDetail value)
public java.lang.String getFailureString()
public void setFailureString(java.lang.String value)