Package foundation.icon.btp.xcall
Class CSMessageResponse
- java.lang.Object
-
- foundation.icon.btp.xcall.CSMessageResponse
-
public class CSMessageResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CSMessageResponse(java.math.BigInteger sn, int code, java.lang.String msg)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CSMessageResponse
fromBytes(byte[] bytes)
int
getCode()
java.lang.String
getMsg()
java.math.BigInteger
getSn()
static CSMessageResponse
readObject(score.ObjectReader r)
byte[]
toBytes()
static void
writeObject(score.ObjectWriter w, CSMessageResponse m)
-
-
-
Field Detail
-
SUCCESS
public static final int SUCCESS
- See Also:
- Constant Field Values
-
FAILURE
public static final int FAILURE
- See Also:
- Constant Field Values
-
BTP_ERROR
public static final int BTP_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSn
public java.math.BigInteger getSn()
-
getCode
public int getCode()
-
getMsg
public java.lang.String getMsg()
-
writeObject
public static void writeObject(score.ObjectWriter w, CSMessageResponse m)
-
readObject
public static CSMessageResponse readObject(score.ObjectReader r)
-
toBytes
public byte[] toBytes()
-
fromBytes
public static CSMessageResponse fromBytes(byte[] bytes)
-
-