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

import de.thedevstack.conversationsplus.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();
}