All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xxdb.streaming.client.MessageDispatcher Maven / Gradle / Ivy

Go to download

The messaging and data conversion protocol between Java and DolphinDB server

There is a newer version: 1.0.27
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy