aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/xmpp/jingle/JingleTransport.java
blob: b9adb46322d8b3cac3dc3d43a5ea77bbb87205b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package de.pixart.messenger.xmpp.jingle;

import de.pixart.messenger.entities.DownloadableFile;

public abstract class JingleTransport {
    public abstract void connect(final OnTransportConnected callback);

    public abstract void receive(final DownloadableFile file,
                                 final OnFileTransmissionStatusChanged callback);

    public abstract void send(final DownloadableFile file,
                              final OnFileTransmissionStatusChanged callback);

    public abstract void disconnect();
}