mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-12 02:29:38 +02:00
Reuse S5B methods
This commit is contained in:
parent
6023350364
commit
4c1ee37ea7
8 changed files with 265 additions and 6 deletions
|
@ -92,12 +92,17 @@ public class OutgoingJingleFileOffer extends JingleFileTransferSession {
|
|||
// Legal
|
||||
else {
|
||||
state = State.active;
|
||||
transportManager.initiateOutgoingSession(transport, new JingleTransportInitiationCallback() {
|
||||
transportManager.initiateOutgoingSession(getResponder(), transport, new JingleTransportInitiationCallback() {
|
||||
@Override
|
||||
public void onSessionInitiated(final BytestreamSession session) {
|
||||
sendingThread = new SendingThread(session, source);
|
||||
sendingThread.run();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onException(Exception e) {
|
||||
LOGGER.log(Level.SEVERE, "Cannot create outgoing Bytestream session: ", e);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue