Smack/smack-experimental/src/main/java/org/jivesoftware/smackx/jft/controller/IncomingFileOfferController...

32 lines
1.1 KiB
Java
Raw Normal View History

2017-07-27 17:35:16 +02:00
/**
*
* Copyright 2017 Paul Schaub
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
2017-07-27 15:18:18 +02:00
package org.jivesoftware.smackx.jft.controller;
2017-07-28 14:02:32 +02:00
import java.io.File;
import java.util.concurrent.Future;
2017-07-29 19:31:16 +02:00
import org.jivesoftware.smack.SmackException;
import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.smack.XMPPException;
2017-07-27 15:18:18 +02:00
/**
* Created by vanitas on 27.07.17.
*/
2017-07-27 16:43:09 +02:00
public interface IncomingFileOfferController extends JingleFileTransferController {
2017-07-29 19:31:16 +02:00
Future<Void> accept(XMPPConnection connection, File target) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException;
2017-07-27 15:18:18 +02:00
}