Package jrpc.clightning.model.types
Class NetworkAddress
- java.lang.Object
-
- jrpc.clightning.model.types.NetworkAddress
-
public class NetworkAddress extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NetworkAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAddress()intgetPort()java.lang.StringgetType()booleanisValid()This method check if the object is fill from the json or the propriety inside the json was empty
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getAddress
public java.lang.String getAddress()
-
getPort
public int getPort()
-
isValid
public boolean isValid()
This method check if the object is fill from the json or the propriety inside the json was empty- Returns:
- return true if the the object is good formed
-
-