| java.lang.Object sun.net.NetworkClient sun.net.TransferProtocolClient
All known Subclasses: sun.net.ftp.FtpClient,
TransferProtocolClient | public class TransferProtocolClient extends NetworkClient (Code) | | This class implements that basic intefaces of transfer protocols.
It is used by subclasses implementing specific protocols.
version: 1.33, 08/19/02 author: Jonathan Payne See Also: sun.net.ftp.FtpClient See Also: sun.net.nntp.NntpClient |
debug | final static boolean debug(Code) | | |
lastReplyCode | protected int lastReplyCode(Code) | | code for last reply
|
serverResponse | protected Vector serverResponse(Code) | | Array of strings (usually 1 entry) for the last reply
from the server.
|
TransferProtocolClient | public TransferProtocolClient(String host, int port) throws IOException(Code) | | standard constructor to host host, port port.
|
TransferProtocolClient | public TransferProtocolClient()(Code) | | creates an uninitialized instance of this class.
|
getResponseString | public String getResponseString()(Code) | | converts the server response into a string.
|
getResponseStrings | public Vector getResponseStrings()(Code) | | Returns all server response strings.
|
readServerResponse | public int readServerResponse() throws IOException(Code) | | Pulls the response from the server and returns the code as a
number. Returns -1 on failure.
|
sendServer | public void sendServer(String cmd)(Code) | | Sends command cmd to the server.
|
|
|