blob: 890bd07a0fe862bb831897bacd1960b27db4723b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package org.openslx.filetransfer;
import java.io.IOException;
/**
* IncomingEvent interface for handling what should happen with incoming
* uploader or downloader in Listener. Must be implemented outside.
*
* @author bjoern
*/
public interface IncomingEvent
{
/** Must not block */
void incomingDownloadRequest( Uploader uploader ) throws IOException;
/** Must not block */
void incomingUploadRequest( Downloader downloader ) throws IOException;
}
|