Package foundation.icon.xcall
Class CSMessage
- java.lang.Object
-
- foundation.icon.xcall.CSMessage
-
public class CSMessage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CSMessage(int type, byte[] data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CSMessagefromBytes(byte[] bytes)byte[]getData()intgetType()static CSMessagereadObject(score.ObjectReader r)byte[]toBytes()static voidwriteObject(score.ObjectWriter w, CSMessage m)
-
-
-
Field Detail
-
REQUEST
public static final int REQUEST
- See Also:
- Constant Field Values
-
RESPONSE
public static final int RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public int getType()
-
getData
public byte[] getData()
-
writeObject
public static void writeObject(score.ObjectWriter w, CSMessage m)
-
readObject
public static CSMessage readObject(score.ObjectReader r)
-
toBytes
public byte[] toBytes()
-
fromBytes
public static CSMessage fromBytes(byte[] bytes)
-
-