summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/filetransfer/IncomingEvent.java
blob: d72ecdd9fb18f5203d52acac5fffd82e8cfbf130 (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
{
	void incomingDownloadRequest( Uploader uploader ) throws IOException;

	void incomingUploadRequest( Downloader downloader ) throws IOException;
}