Package io.objectbox.sync
Class SyncClientImpl.ObjectsMessageBuilderImpl
- java.lang.Object
-
- io.objectbox.sync.SyncClientImpl.ObjectsMessageBuilderImpl
-
- All Implemented Interfaces:
ObjectsMessageBuilder
- Enclosing class:
- SyncClientImpl
public static class SyncClientImpl.ObjectsMessageBuilderImpl extends java.lang.Object implements ObjectsMessageBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncClientImpl.ObjectsMessageBuilderImpl
addBytes(long optionalId, byte[] value, boolean isFlatBuffers)
SyncClientImpl.ObjectsMessageBuilderImpl
addString(long optionalId, java.lang.String value)
boolean
send()
Sends the message, returns true if successful.
-
-
-
Method Detail
-
addString
public SyncClientImpl.ObjectsMessageBuilderImpl addString(long optionalId, java.lang.String value)
- Specified by:
addString
in interfaceObjectsMessageBuilder
-
addBytes
public SyncClientImpl.ObjectsMessageBuilderImpl addBytes(long optionalId, byte[] value, boolean isFlatBuffers)
- Specified by:
addBytes
in interfaceObjectsMessageBuilder
-
send
public boolean send()
Description copied from interface:ObjectsMessageBuilder
Sends the message, returns true if successful.- Specified by:
send
in interfaceObjectsMessageBuilder
-
-