| java.lang.Object | ||
| ↳ | sun.net.NetworkClient | |
| ↳ | sun.net.TransferProtocolClient | |
Known Direct Subclasses
|
This class implements that basic intefaces of transfer protocols. It is used by subclasses implementing specific protocols.
FtpClient| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| lastReplyCode | code for last reply | ||||||||||
| serverResponse | Array of strings (usually 1 entry) for the last reply from the server. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.net.NetworkClient
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
standard constructor to host host, port port.
| |||||||||||
creates an uninitialized instance of this class.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
converts the server response into a string.
| |||||||||||
Returns all server response strings.
| |||||||||||
Pulls the response from the server and returns the code as a
number.
| |||||||||||
Sends command cmd to the server.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.net.NetworkClient
| |||||||||||
From class
java.lang.Object
| |||||||||||
code for last reply
Array of strings (usually 1 entry) for the last reply from the server.
standard constructor to host host, port port.
| IOException |
|---|
creates an uninitialized instance of this class.
Pulls the response from the server and returns the code as a number. Returns -1 on failure.
| IOException |
|---|