Interface ISyncClient
-
- All Known Implementing Classes:
IoTDBSyncClient
public interface ISyncClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()booleanhandshake()Create connection and handshake before sending messagesbooleansend(PipeData pipeData)SendPipeDatato receiver and load.
-
-
-
Method Detail
-
handshake
boolean handshake() throws SyncConnectionExceptionCreate connection and handshake before sending messages- Returns:
- true if success; false if failed to check IoTDB version.
- Throws:
SyncConnectionException- cannot create connection to receiver
-
send
boolean send(PipeData pipeData) throws SyncConnectionException
SendPipeDatato receiver and load.- Returns:
- true if success; false if failed to send or load.
- Throws:
SyncConnectionException- cannot create connection to receiver
-
close
void close()
-
-