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

com.savl.ripple.client.transport.WebSocketTransport Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package com.savl.ripple.client.transport;

import org.json.JSONObject;

import java.net.URI;

public interface WebSocketTransport {
    public abstract void setHandler(TransportEventHandler events);
    public abstract void sendMessage(JSONObject msg);
    public abstract void connect(URI url);
    /**
     * It's the responsibility of implementations to trigger
     * {@link com.ripple.client.transport.TransportEventHandler#onDisconnected}
     */
    public abstract void disconnect();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy