io.infinicast.client.impl.messaging.receiver.IMessageReceiver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinicast-client-jdk8 Show documentation
Show all versions of infinicast-client-jdk8 Show documentation
Infinicast SDK to communicate with the cloud.
package io.infinicast.client.impl.messaging.receiver;
import io.infinicast.APlayStringMessage;
import io.infinicast.client.api.IPath;
import io.infinicast.client.impl.IConnector;
import io.infinicast.client.impl.messaging.handlers.DCloudMessageHandler;
import io.infinicast.client.protocol.Connector2EpsMessageType;
public interface IMessageReceiver {
void addHandler(String messageType, IPath path, DCloudMessageHandler handler);
void addResponseHandler(Connector2EpsMessageType messageType, String requestId, DCloudMessageHandler handler);
void receive(APlayStringMessage stringMessage);
void setConnector(IConnector connector);
boolean removeHandlers(String messageType, String path);
void destroy();
}