diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-06-29 13:44:59 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-06-29 13:44:59 +0200 |
commit | d58d428874d26636b8813a080051690672b638b3 (patch) | |
tree | 71958785d77a5443dd41dadd96b37ad20d448076 /src/eu/siacs/conversations/xmpp/jingle/JingleTransport.java | |
parent | 8eedc1a57fbf79212028fed7e87fb36d6143e0d5 (diff) |
more error handling for jingle connections
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/jingle/JingleTransport.java')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/jingle/JingleTransport.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/xmpp/jingle/JingleTransport.java b/src/eu/siacs/conversations/xmpp/jingle/JingleTransport.java index 5db4b715..1acdfc39 100644 --- a/src/eu/siacs/conversations/xmpp/jingle/JingleTransport.java +++ b/src/eu/siacs/conversations/xmpp/jingle/JingleTransport.java @@ -19,8 +19,8 @@ import android.util.Log; public abstract class JingleTransport { public abstract void connect(final OnTransportConnected callback); - public abstract void receive(final JingleFile file, final OnFileTransmitted callback); - public abstract void send(final JingleFile file, final OnFileTransmitted callback); + public abstract void receive(final JingleFile file, final OnFileTransmissionStatusChanged callback); + public abstract void send(final JingleFile file, final OnFileTransmissionStatusChanged callback); private byte[] iv = {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0xf}; protected InputStream getInputStream(JingleFile file) throws FileNotFoundException { |