01
02 /**
03 * Title: Advanced Network Client Sample<p>
04 * Description: <p>
05 * Copyright: Copyright (C) 2009 Alexey Veremenko<p>
06 * Company: <p>
07 * @author Alexey Veremenko
08 * @version 1.0
09 */
10 package networking.client;
11
12 import networking.protocol.*;
13
14 /**
15 * IFileClient represents an object for interaction with ClientFileThread
16 */
17 public interface IFileClient extends IConnectInfo
18 {
19 /**
20 * Reject handler
21 */
22 void onReject(Message msg);
23
24 /**
25 * Disconnect handler
26 */
27 void onDisconnect();
28
29 /**
30 * Success handler
31 */
32 void onSuccess();
33
34 /**
35 * Report error
36 * @param e exception
37 */
38 void error(Exception e);
39 }
|