com.xxdb.streaming.client.MessageDispatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-java Show documentation
Show all versions of api-java Show documentation
The messaging and data conversion protocol between Java and DolphinDB server
package com.xxdb.streaming.client;
import com.xxdb.streaming.client.IMessage;
import java.util.List;
import java.util.Set;
interface MessageDispatcher {
boolean isRemoteLittleEndian(String host);
boolean isClosed(String topic);
void dispatch(IMessage message);
void batchDispatch(List message);
boolean tryReconnect(String topic);
void setMsgId(String topic, long msgId);
void setNeedReconnect(String topic, int v);
int getNeedReconnect(String site);
long getReconnectTimestamp(String site);
void setReconnectTimestamp(String site, long v);
List getAllReconnectSites();
AbstractClient.Site getSiteByName(String site);
void activeCloseConnection(AbstractClient.Site site);
List getAllTopicsBySite(String site);
Set getAllReconnectTopic();
}