aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/xmpp/jingle/JingleTransport.java
blob: 1ee97b4157bfb89163ff112b5afd36633a4465e3 (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();
}