Package com.couchbase.lite
Class Message
- java.lang.Object
-
- com.couchbase.lite.Message
-
public class Message extends java.lang.Object
ENTERPRISE EDITION API
A message sent between message endpoint connections.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Message
fromData(byte[] data)
Creates a message object from data.byte[]
toData()
Gets the message as data.
-
-
-
Method Detail
-
fromData
@NonNull public static Message fromData(@NonNull byte[] data)
Creates a message object from data.- Parameters:
data
- the data- Returns:
- the Message object
-
toData
@NonNull public byte[] toData()
Gets the message as data.- Returns:
- the data
-
-