
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 dolphindb-javaapi Show documentation
Show all versions of dolphindb-javaapi Show documentation
The messaging and data conversion protocol between Java and DolphinDB server
package com.xxdb.streaming.client;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
interface MessageDispatcher {
boolean isRemoteLittleEndian(String host);
boolean isClosed(String topic);
boolean isClose();
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();
Site getSiteByName(String site);
Site getCurrentSiteByName(String site);
void activeCloseConnection(Site site);
List getAllTopicsBySite(String site);
Set getAllReconnectTopic();
Map getSubInfos();
ConcurrentHashMap getTopicToSites();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy