|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Client<Request,Response>
Client interface.
| Method Summary | |
|---|---|
void |
close()
close |
void |
connect(InetAddress address,
int port,
int timeout)
connect |
Response |
receiveBanner()
receiveBanner |
Response |
sendRequest(Request request)
sendRequest |
| Method Detail |
|---|
void connect(InetAddress address,
int port,
int timeout)
throws IOException,
Exception
connect
Request - a Request object.Response - a Response object.address - a InetAddress object.port - a int.timeout - a int.
IOException - if any.
Exception - if any.
Response receiveBanner()
throws IOException,
Exception
receiveBanner
IOException - if any.
Exception - if any.
Response sendRequest(Request request)
throws IOException,
Exception
sendRequest
request - a Request object.
IOException - if any.
Exception - if any.void close()
close
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||