1 |
/* |
/* |
2 |
* $Id$ |
* RequestListener.java |
3 |
* Copyright (C) 2004 The Free Software Foundation |
* Copyright (C) 2004 The Free Software Foundation |
4 |
* |
* |
5 |
* This file is part of GNU inetlib, a library. |
* This file is part of GNU inetlib, a library. |
46 |
* @author <a href='mailto:dog@gnu.org'>Chris Burdess</a> |
* @author <a href='mailto:dog@gnu.org'>Chris Burdess</a> |
47 |
*/ |
*/ |
48 |
public interface RequestListener |
public interface RequestListener |
49 |
extends EventListener |
extends EventListener |
50 |
{ |
{ |
51 |
|
|
52 |
/** |
/** |
53 |
* Callback invoked when a request is created from the associated |
* Callback invoked when a request is created from the associated |
54 |
* connection. |
* connection. |
55 |
*/ |
*/ |
56 |
void requestCreated (RequestEvent event); |
void requestCreated(RequestEvent event); |
57 |
|
|
58 |
/** |
/** |
59 |
* Callback invoked when the request has been initialised with all data |
* Callback invoked when the request has been initialised with all data |
60 |
* and before sending this data to the server. |
* and before sending this data to the server. |
61 |
*/ |
*/ |
62 |
void requestSending (RequestEvent event); |
void requestSending(RequestEvent event); |
63 |
|
|
64 |
/** |
/** |
65 |
* Callback invoked after all request data has been sent to the server. |
* Callback invoked after all request data has been sent to the server. |
66 |
*/ |
*/ |
67 |
void requestSent (RequestEvent event); |
void requestSent(RequestEvent event); |
68 |
|
|
69 |
} |
} |
70 |
|
|