- abor() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP ABOR command to the server,
receive the reply, and return the reply code.
- ABOR - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- abort() - Method in class com.oroinc.net.ftp.FTPClient
-
Abort a transfer in progress.
- ABORT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- ABORT - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Abort code.
- ACCESS_VIOLATION - Static variable in class com.oroinc.net.tftp.TFTPErrorPacket
-
The access violation error code according to RFC 783, value 2.
- ACCOUNT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- acct(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP ACCT command to the server,
receive the reply, and return the reply code.
- ACCT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- ACKNOWLEDGEMENT - Static variable in class com.oroinc.net.tftp.TFTPPacket
-
Identifier returned by
getType()
indicating an acknowledgement packet.
- ACTION_ABORTED - Static variable in class com.oroinc.net.ftp.FTPReply
-
- ACTION_ABORTED - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- ACTION_NOT_TAKEN - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- ACTION_OK - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- ACTIVE_LOCAL_DATA_CONNECTION_MODE - Static variable in class com.oroinc.net.ftp.FTPClient
-
A constant indicating the FTP session is expecting all transfers
to occur between the client (local) and server and that the server
should connect to the client's data port to initiate a data transfer.
- ACTIVE_REMOTE_DATA_CONNECTION_MODE - Static variable in class com.oroinc.net.ftp.FTPClient
-
A constant indicating the FTP session is expecting all transfers
to occur between two remote servers and that the server
the client is connected to should connect to the other server's
data port to initiate a data transfer.
- addCC(String) - Method in class com.oroinc.net.smtp.SimpleSMTPHeader
-
Add an email address to the CC (carbon copy or courtesy copy) list.
- addCopyStreamListener(CopyStreamListener) - Method in class com.oroinc.io.CopyStreamAdapter
-
Registers a CopyStreamListener to receive CopyStreamEvents.
- addDistribution(String) - Method in class com.oroinc.net.nntp.NewGroupsOrNewsQuery
-
Add a distribution group to the query.
- addHeaderField(String, String) - Method in class com.oroinc.net.nntp.SimpleNNTPHeader
-
Adds an arbitrary header field with the given value to the article
header.
- addHeaderField(String, String) - Method in class com.oroinc.net.smtp.SimpleSMTPHeader
-
Adds an arbitrary header field with the given value to the article
header.
- addListener(EventListener) - Method in class com.oroinc.util.ListenerList
-
- addNewsgroup(String) - Method in class com.oroinc.net.nntp.NewGroupsOrNewsQuery
-
Add a newsgroup to the list of newsgroups being queried.
- addNewsgroup(String) - Method in class com.oroinc.net.nntp.SimpleNNTPHeader
-
Adds a newsgroup to the article Newsgroups:
field.
- addProtocolCommandListener(ProtocolCommandListener) - Method in class com.oroinc.net.ftp.FTP
-
Adds a ProtocolCommandListener.
- addProtocolCommandListener(ProtocolCommandListener) - Method in class com.oroinc.net.nntp.NNTP
-
Adds a ProtocolCommandListener.
- addProtocolCommandListener(ProtocolCommandListener) - Method in class com.oroinc.net.pop3.POP3
-
Adds a ProtocolCommandListener.
- addProtocolCommandListener(ProtocolCommandListener) - Method in class com.oroinc.net.ProtocolCommandSupport
-
Adds a ProtocolCommandListener.
- addProtocolCommandListener(ProtocolCommandListener) - Method in class com.oroinc.net.smtp.SMTP
-
Adds a ProtocolCommandListener.
- addRecipient(RelayPath) - Method in class com.oroinc.net.smtp.SMTPClient
-
Add a recipient for a message using the SMTP RCPT command, specifying
a forward relay path.
- addRecipient(String) - Method in class com.oroinc.net.smtp.SMTPClient
-
Add a recipient for a message using the SMTP RCPT command, the
recipient's email address.
- addRelay(String) - Method in class com.oroinc.net.smtp.RelayPath
-
Add a mail relay host to the relay path.
- allo(int) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP ALLO command to the server,
receive the reply, and return the reply code.
- allo(int, int) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP ALLO command to the server,
receive the reply, and return the reply code.
- ALLO - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- allocate(int) - Method in class com.oroinc.net.ftp.FTPClient
-
Reserve a number of bytes on the server for the next file transfer.
- allocate(int, int) - Method in class com.oroinc.net.ftp.FTPClient
-
Reserve space on the server for the next file transfer.
- ALLOCATE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- AO - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Abort Output code.
- APOP - Static variable in class com.oroinc.net.pop3.POP3Command
-
Authorization.
- appe(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP APPE command to the server,
receive the reply, and return the reply code.
- APPE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- APPEND - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- appendFile(String, InputStream) - Method in class com.oroinc.net.ftp.FTPClient
-
Appends to a file on the server with the given name, taking input
from the given InputStream.
- appendFileStream(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Returns an OutputStream through which data can be written to append
to a file on the server with the given name.
- APPROXIMATE_MESSAGE_SIZE - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- article() - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP ARTICLE command to the server,
receive the initial reply, and return the reply code.
- article(int) - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP ARTICLE command to the server,
receive the initial reply, and return the reply code.
- article(String) - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP ARTICLE command to the server,
receive the initial reply, and return the reply code.
- ARTICLE - Static variable in class com.oroinc.net.nntp.NNTPCommand
-
- ARTICLE_LIST_BY_MESSAGE_ID_FOLLOWS - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- ARTICLE_NOT_WANTED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- ARTICLE_POSTED_OK - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- ARTICLE_REJECTED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- ARTICLE_RETRIEVED_BODY_FOLLOWS - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- ARTICLE_RETRIEVED_HEAD_AND_BODY_FOLLOW - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- ARTICLE_RETRIEVED_HEAD_FOLLOWS - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- ARTICLE_RETRIEVED_REQUEST_TEXT_SEPARATELY - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- ARTICLE_TRANSFERRED_OK - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- articleId - Variable in class com.oroinc.net.nntp.ArticlePointer
-
The unique id of the referenced article, including the enclosing
< and > symbols which are technically not part of the
identifier, but are required by all NNTP commands taking an
article id as an argument.
- articleNumber - Variable in class com.oroinc.net.nntp.ArticlePointer
-
The number of the referenced article.
- ArticlePointer - Class in com.oroinc.net.nntp
-
This class is a structure used to return article number and unique
id information extracted from an NNTP server reply.
- ArticlePointer() - Constructor for class com.oroinc.net.nntp.ArticlePointer
-
- ASCII_FILE_TYPE - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate the file(s) being transfered should
be treated as ASCII.
- ASCII_MODE - Static variable in class com.oroinc.net.tftp.TFTP
-
The ascii transfer mode.
- AUTHENTICATION - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- AUTHORIZATION_STATE - Static variable in class com.oroinc.net.pop3.POP3
-
A constant representing the POP3 authorization state.
- available() - Method in class com.oroinc.io.FromNetASCIIInputStream
-
Returns the number of bytes that can be read without blocking EXCEPT
when newline conversions have to be made somewhere within the
available block of bytes.
- available() - Method in class com.oroinc.io.ToNetASCIIInputStream
-
- AYT - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Are You There code.
- CANNOT_OPEN_DATA_CONNECTION - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CARRIAGE_CONTROL_TEXT_FORMAT - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate a text file contains ASA vertical format
control characters.
- cdup() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP CDUP command to the server,
receive the reply, and return the reply code.
- CDUP - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- CHANGE_TO_PARENT_DIRECTORY - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- CHANGE_WORKING_DIRECTORY - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- changeToParentDirectory() - Method in class com.oroinc.net.ftp.FTPClient
-
Change to the parent directory of the current working directory.
- changeWorkingDirectory(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Change the current working directory of the FTP session.
- CHARGEN_PORT - Static variable in class com.oroinc.net.CharGenTCPClient
-
The character generator port value of 19 according to RFC 864.
- CHARGEN_PORT - Static variable in class com.oroinc.net.CharGenUDPClient
-
The character generator port value of 19 according to RFC 864.
- CharGenTCPClient - Class in com.oroinc.net
-
The CharGenTCPClient class is a TCP implementation of a client for the
character generator protocol described in RFC 864.
- CharGenTCPClient() - Constructor for class com.oroinc.net.CharGenTCPClient
-
The default constructor for CharGenTCPClient.
- CharGenUDPClient - Class in com.oroinc.net
-
The CharGenUDPClient class is a UDP implementation of a client for the
character generator protocol described in RFC 864.
- CharGenUDPClient() - Constructor for class com.oroinc.net.CharGenUDPClient
-
The default CharGenUDPClient constructor.
- close() - Method in class com.oroinc.io.DotTerminatedMessageReader
-
Closes the message for reading.
- close() - Method in class com.oroinc.io.DotTerminatedMessageWriter
-
Flushes the underlying output, writing all buffered output, but doesn't
actually close the underlying stream.
- close() - Method in class com.oroinc.io.FromNetASCIIOutputStream
-
Closes the stream, writing all pending data.
- close() - Method in class com.oroinc.io.SocketInputStream
-
Closes the stream and immediately afterward closes the referenced
socket.
- close() - Method in class com.oroinc.io.SocketOutputStream
-
Closes the stream and immediately afterward closes the referenced
socket.
- close() - Method in class com.oroinc.net.DatagramSocketClient
-
Closes the DatagramSocket used for the connection.
- CLOSING_CONNECTION - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CLOSING_DATA_CONNECTION - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_100 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_110 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_120 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_125 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_150 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_199 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_200 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_200 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_201 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_202 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_202 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_205 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_211 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_211 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_211 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_212 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_213 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_214 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_214 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_215 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_215 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_215 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_220 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_220 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_220 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_221 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_221 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_221 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_222 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_223 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_225 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_226 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_227 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_230 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_230 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_231 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_235 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_240 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_250 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_250 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_251 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_257 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_331 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_332 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_335 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_340 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_350 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_354 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_400 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_411 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_412 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_420 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_421 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_421 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_421 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_422 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_423 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_425 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_426 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_430 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_435 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_436 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_437 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_440 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_441 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_450 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_450 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_451 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_451 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_452 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_452 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_500 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_500 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_500 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_501 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_501 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_501 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_502 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_502 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_502 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_503 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_503 - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- CODE_503 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_504 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_504 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_530 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_532 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_550 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_550 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_551 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_551 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_552 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_552 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_553 - Static variable in class com.oroinc.net.ftp.FTPReply
-
- CODE_553 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- CODE_554 - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- com.oroinc.io - package com.oroinc.io
-
- com.oroinc.net - package com.oroinc.net
-
- com.oroinc.net.bsd - package com.oroinc.net.bsd
-
- com.oroinc.net.ftp - package com.oroinc.net.ftp
-
- com.oroinc.net.nntp - package com.oroinc.net.nntp
-
- com.oroinc.net.pop3 - package com.oroinc.net.pop3
-
- com.oroinc.net.smtp - package com.oroinc.net.smtp
-
- com.oroinc.net.telnet - package com.oroinc.net.telnet
-
- com.oroinc.net.tftp - package com.oroinc.net.tftp
-
- com.oroinc.util - package com.oroinc.util
-
- COMMAND_IS_SUPERFLUOUS - Static variable in class com.oroinc.net.ftp.FTPReply
-
- COMMAND_NOT_IMPLEMENTED - Static variable in class com.oroinc.net.ftp.FTPReply
-
- COMMAND_NOT_IMPLEMENTED - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER - Static variable in class com.oroinc.net.ftp.FTPReply
-
- COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- COMMAND_NOT_RECOGNIZED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- COMMAND_OK - Static variable in class com.oroinc.net.ftp.FTPReply
-
- COMMAND_SYNTAX_ERROR - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- completePendingCommand() - Method in class com.oroinc.net.ftp.FTPClient
-
There are a few FTPClient methods that do not complete the
entire sequence of FTP commands to complete a transaction.
- completePendingCommand() - Method in class com.oroinc.net.nntp.NNTPClient
-
There are a few NNTPClient methods that do not complete the
entire sequence of NNTP commands to complete a transaction.
- completePendingCommand() - Method in class com.oroinc.net.smtp.SMTPClient
-
At least one SMTPClient method (
sendMessage )
does not complete the entire sequence of SMTP commands to complete a
transaction.
- COMPRESSED_TRANSFER_MODE - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate a file is to be transfered as FTP
compressed data.
- connect(String) - Method in class com.oroinc.net.SocketClient
-
Opens a Socket connected to a remote host at the current default
port and originating from the current host at a system assigned port.
- connect(String, int) - Method in class com.oroinc.net.bsd.RCommandClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the current host at a port in a range acceptable
to the BSD rshell daemon.
- connect(String, int) - Method in class com.oroinc.net.SocketClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the current host at a system assigned port.
- connect(String, int, InetAddress) - Method in class com.oroinc.net.bsd.RCommandClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the specified local address using a port in a range
acceptable to the BSD rshell daemon.
- connect(String, int, InetAddress, int) - Method in class com.oroinc.net.bsd.RCommandClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the specified local address and port.
- connect(String, int, InetAddress, int) - Method in class com.oroinc.net.SocketClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the specified local address and port.
- connect(InetAddress) - Method in class com.oroinc.net.SocketClient
-
Opens a Socket connected to a remote host at the current default port
and originating from the current host at a system assigned port.
- connect(InetAddress, int) - Method in class com.oroinc.net.bsd.RCommandClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the current host at a port in a range acceptable
to the BSD rshell daemon.
- connect(InetAddress, int) - Method in class com.oroinc.net.SocketClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the current host at a system assigned port.
- connect(InetAddress, int, InetAddress) - Method in class com.oroinc.net.bsd.RCommandClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the specified local address using a port in a range
acceptable to the BSD rshell daemon.
- connect(InetAddress, int, InetAddress, int) - Method in class com.oroinc.net.bsd.RCommandClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the specified local address and port.
- connect(InetAddress, int, InetAddress, int) - Method in class com.oroinc.net.SocketClient
-
Opens a Socket connected to a remote host at the specified port and
originating from the specified local address and port.
- copyReader(Reader, Writer) - Static method in class com.oroinc.io.Util
-
Same as copyReader(source, dest, DEFAULT_COPY_BUFFER_SIZE);
- copyReader(Reader, Writer, int) - Static method in class com.oroinc.io.Util
-
Copies the contents of a Reader to a Writer using a
copy buffer of a given size.
- copyReader(Reader, Writer, int, long, CopyStreamListener) - Static method in class com.oroinc.io.Util
-
Copies the contents of a Reader to a Writer using a
copy buffer of a given size and notifies the provided
CopyStreamListener of the progress of the copy operation by calling
its bytesTransferred(long, int) method after each write to the
destination.
- copyStream(InputStream, OutputStream) - Static method in class com.oroinc.io.Util
-
Same as copyStream(source, dest, DEFAULT_COPY_BUFFER_SIZE);
- copyStream(InputStream, OutputStream, int) - Static method in class com.oroinc.io.Util
-
Copies the contents of an InputStream to an OutputStream using a
copy buffer of a given size.
- copyStream(InputStream, OutputStream, int, long, CopyStreamListener) - Static method in class com.oroinc.io.Util
-
Copies the contents of an InputStream to an OutputStream using a
copy buffer of a given size and notifies the provided
CopyStreamListener of the progress of the copy operation by calling
its bytesTransferred(long, int) method after each write to the
destination.
- CopyStreamAdapter - Class in com.oroinc.io
-
The CopyStreamAdapter will relay CopyStreamEvents to a list of listeners
when either of its bytesTransferred() methods are called.
- CopyStreamAdapter() - Constructor for class com.oroinc.io.CopyStreamAdapter
-
Creates a new copyStreamAdapter.
- CopyStreamEvent - Class in com.oroinc.io
-
A CopyStreamEvent is triggered after every write performed by a
stream copying operation.
- CopyStreamEvent(Object, long, int, long) - Constructor for class com.oroinc.io.CopyStreamEvent
-
Creates a new CopyStreamEvent instance.
- CopyStreamException - Exception in com.oroinc.io
-
The CopyStreamException class is thrown by the com.oroinc.io.Util
copyStream() methods.
- CopyStreamException(String, long, IOException) - Constructor for exception com.oroinc.io.CopyStreamException
-
Creates a new CopyStreamException instance.
- CopyStreamListener - Interface in com.oroinc.io
-
The CopyStreamListener class can accept CopyStreamEvents to keep track
of the progress of a stream copying operation.
- createDatagramSocket() - Method in interface com.oroinc.net.DatagramSocketFactory
-
Creates a DatagramSocket on the local host at the first available port.
- createDatagramSocket() - Method in class com.oroinc.net.DefaultDatagramSocketFactory
-
Creates a DatagramSocket on the local host at the first available port.
- createDatagramSocket(int) - Method in interface com.oroinc.net.DatagramSocketFactory
-
Creates a DatagramSocket on the local host at a specified port.
- createDatagramSocket(int) - Method in class com.oroinc.net.DefaultDatagramSocketFactory
-
Creates a DatagramSocket on the local host at a specified port.
- createDatagramSocket(int, InetAddress) - Method in interface com.oroinc.net.DatagramSocketFactory
-
Creates a DatagramSocket at the specified address on the local host
at a specified port.
- createDatagramSocket(int, InetAddress) - Method in class com.oroinc.net.DefaultDatagramSocketFactory
-
Creates a DatagramSocket at the specified address on the local host
at a specified port.
- createServerSocket(int) - Method in class com.oroinc.net.DefaultSocketFactory
-
Creates a ServerSocket bound to a specified port.
- createServerSocket(int) - Method in interface com.oroinc.net.SocketFactory
-
Creates a ServerSocket bound to a specified port.
- createServerSocket(int, int) - Method in class com.oroinc.net.DefaultSocketFactory
-
Creates a ServerSocket bound to a specified port with a given
maximum queue length for incoming connections.
- createServerSocket(int, int) - Method in interface com.oroinc.net.SocketFactory
-
Creates a ServerSocket bound to a specified port with a given
maximum queue length for incoming connections.
- createServerSocket(int, int, InetAddress) - Method in class com.oroinc.net.DefaultSocketFactory
-
Creates a ServerSocket bound to a specified port on a given local
address with a given maximum queue length for incoming connections.
- createServerSocket(int, int, InetAddress) - Method in interface com.oroinc.net.SocketFactory
-
Creates a ServerSocket bound to a specified port on a given local
address with a given maximum queue length for incoming connections.
- createSocket(String, int) - Method in class com.oroinc.net.DefaultSocketFactory
-
Creates a Socket connected to the given host and port.
- createSocket(String, int) - Method in interface com.oroinc.net.SocketFactory
-
Creates a Socket connected to the given host and port.
- createSocket(String, int, InetAddress, int) - Method in class com.oroinc.net.DefaultSocketFactory
-
Creates a Socket connected to the given host and port and
originating from the specified local address and port.
- createSocket(String, int, InetAddress, int) - Method in interface com.oroinc.net.SocketFactory
-
Creates a Socket connected to the given host and port and
originating from the specified local address and port.
- createSocket(InetAddress, int) - Method in class com.oroinc.net.DefaultSocketFactory
-
Creates a Socket connected to the given host and port.
- createSocket(InetAddress, int) - Method in interface com.oroinc.net.SocketFactory
-
Creates a Socket connected to the given host and port.
- createSocket(InetAddress, int, InetAddress, int) - Method in class com.oroinc.net.DefaultSocketFactory
-
Creates a Socket connected to the given host and port and
originating from the specified local address and port.
- createSocket(InetAddress, int, InetAddress, int) - Method in interface com.oroinc.net.SocketFactory
-
Creates a Socket connected to the given host and port and
originating from the specified local address and port.
- cwd(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP CWD command to the server,
receive the reply, and return the reply code.
- CWD - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- data() - Method in class com.oroinc.net.smtp.SMTP
-
A convenience method to send the SMTP DATA command to the server,
receive the reply, and return the reply code.
- DATA - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- DATA - Static variable in class com.oroinc.net.tftp.TFTPPacket
-
Identifier returned by
getType()
indicating a data packet.
- DATA_CONNECTION_ALREADY_OPEN - Static variable in class com.oroinc.net.ftp.FTPReply
-
- DATA_CONNECTION_OPEN - Static variable in class com.oroinc.net.ftp.FTPReply
-
- DATA_ENTRY_TERMINAL - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- DATA_PORT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- DatagramSocketClient - Class in com.oroinc.net
-
The DatagramSocketClient provides the basic operations that are required
of client objects accessing datagram sockets.
- DatagramSocketClient() - Constructor for class com.oroinc.net.DatagramSocketClient
-
Default constructor for DatagramSocketClient.
- DatagramSocketFactory - Interface in com.oroinc.net
-
The DatagramSocketFactory interface provides a means for the
programmer to control the creation of datagram sockets and
provide his own DatagramSocket implementations for use by all
classes derived from
DatagramSocketClient .
- DaytimeTCPClient - Class in com.oroinc.net
-
The DaytimeTCPClient class is a TCP implementation of a client for the
Daytime protocol described in RFC 867.
- DaytimeTCPClient() - Constructor for class com.oroinc.net.DaytimeTCPClient
-
The default DaytimeTCPClient constructor.
- DaytimeUDPClient - Class in com.oroinc.net
-
The DaytimeUDPClient class is a UDP implementation of a client for the
Daytime protocol described in RFC 867.
- DaytimeUDPClient() - Constructor for class com.oroinc.net.DaytimeUDPClient
-
- DEBUG_OUTPUT - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- DEFAULT_COPY_BUFFER_SIZE - Static variable in class com.oroinc.io.Util
-
- DEFAULT_DATA_PORT - Static variable in class com.oroinc.net.ftp.FTP
-
The default FTP data port (20).
- DEFAULT_HOST - Static variable in class com.oroinc.net.WhoisClient
-
The default whois host to query.
- DEFAULT_MAX_TIMEOUTS - Static variable in class com.oroinc.net.tftp.TFTPClient
-
The default number of times a receive attempt is allowed to timeout
before ending attempts to retry the receive and failing.
- DEFAULT_PORT - Static variable in class com.oroinc.net.bsd.RCommandClient
-
The default rshell port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.bsd.RExecClient
-
The default rexec port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.bsd.RLoginClient
-
The default rlogin port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.CharGenTCPClient
-
The default chargen port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.CharGenUDPClient
-
The default chargen port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.DaytimeTCPClient
-
The default daytime port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.DaytimeUDPClient
-
The default daytime port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.DiscardTCPClient
-
The default discard port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.DiscardUDPClient
-
The default discard port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.EchoTCPClient
-
The default echo port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.EchoUDPClient
-
The default echo port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.FingerClient
-
The default FINGER port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.ftp.FTP
-
The default FTP control port (21).
- DEFAULT_PORT - Static variable in class com.oroinc.net.nntp.NNTP
-
The default NNTP port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.pop3.POP3
-
The default POP3 port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.smtp.SMTP
-
The default SMTP port (25).
- DEFAULT_PORT - Static variable in class com.oroinc.net.tftp.TFTP
-
The default TFTP port according to RFC 783 is 69.
- DEFAULT_PORT - Static variable in class com.oroinc.net.TimeTCPClient
-
The default time port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.TimeUDPClient
-
The default time port.
- DEFAULT_PORT - Static variable in class com.oroinc.net.WhoisClient
-
The default whois port.
- DEFAULT_TIMEOUT - Static variable in class com.oroinc.net.tftp.TFTP
-
The default number of milliseconds to wait to receive a datagram
before timing out.
- DefaultDatagramSocketFactory - Class in com.oroinc.net
-
DefaultDatagramSocketFactory implements the DatagramSocketFactory
interface by simply wrapping the java.net.DatagramSocket
constructors.
- DefaultDatagramSocketFactory() - Constructor for class com.oroinc.net.DefaultDatagramSocketFactory
-
- DefaultFTPFileListParser - Class in com.oroinc.net.ftp
-
- DefaultFTPFileListParser() - Constructor for class com.oroinc.net.ftp.DefaultFTPFileListParser
-
- DefaultSocketFactory - Class in com.oroinc.net
-
DefaultSocketFactory implements the SocketFactory interface by
simply wrapping the java.net.Socket and java.net.ServerSocket
constructors.
- DefaultSocketFactory() - Constructor for class com.oroinc.net.DefaultSocketFactory
-
- dele(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP DELE command to the server,
receive the reply, and return the reply code.
- DELE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- DELE - Static variable in class com.oroinc.net.pop3.POP3Command
-
Delete message(s).
- DELETE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- deleteFile(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Deletes a file on the FTP server.
- deleteMessage(int) - Method in class com.oroinc.net.pop3.POP3Client
-
Delete a message from the POP3 server.
- DIRECTORY_STATUS - Static variable in class com.oroinc.net.ftp.FTPReply
-
- DIRECTORY_TYPE - Static variable in class com.oroinc.net.ftp.FTPFile
-
A constant indicating an FTPFile is a directory.
- discardPackets() - Method in class com.oroinc.net.tftp.TFTP
-
This method synchronizes a connection by discarding all packets that
may be in the local socket buffer.
- DiscardTCPClient - Class in com.oroinc.net
-
The DiscardTCPClient class is a TCP implementation of a client for the
Discard protocol described in RFC 863.
- DiscardTCPClient() - Constructor for class com.oroinc.net.DiscardTCPClient
-
The default DiscardTCPClient constructor.
- DiscardUDPClient - Class in com.oroinc.net
-
The DiscardUDPClient class is a UDP implementation of a client for the
Discard protocol described in RFC 863.
- DiscardUDPClient() - Constructor for class com.oroinc.net.DiscardUDPClient
-
- disconnect() - Method in class com.oroinc.net.bsd.RExecClient
-
Disconnects from the server, closing all associated open sockets and
streams.
- disconnect() - Method in class com.oroinc.net.ftp.FTP
-
Closes the control connection to the FTP server and sets to null
some internal data so that the memory may be reclaimed by the
garbage collector.
- disconnect() - Method in class com.oroinc.net.ftp.FTPClient
-
Closes the connection to the FTP server and restores
connection parameters to the default values.
- disconnect() - Method in class com.oroinc.net.nntp.NNTP
-
Closes the connection to the NNTP server and sets to null
some internal data so that the memory may be reclaimed by the
garbage collector.
- disconnect() - Method in class com.oroinc.net.pop3.POP3
-
Disconnects the client from the server, and sets the state to
DISCONNECTED_STATE
.
- disconnect() - Method in class com.oroinc.net.smtp.SMTP
-
Closes the connection to the SMTP server and sets to null
some internal data so that the memory may be reclaimed by the
garbage collector.
- disconnect() - Method in class com.oroinc.net.SocketClient
-
Disconnects the socket connection.
- disconnect() - Method in class com.oroinc.net.telnet.TelnetClient
-
Disconnects the telnet session, closing the input and output streams
as well as the socket.
- DISCONNECTED_STATE - Static variable in class com.oroinc.net.pop3.POP3
-
A constant representing the state where the client is not yet connected
to a POP3 server.
- DM - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Data mark code.
- DO - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Request to use option code.
- DONT - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Don't use option code.
- DotTerminatedMessageReader - Class in com.oroinc.io
-
DotTerminatedMessageReader is a class used to read messages from a
server that are terminated by a single dot followed by a
<CR><LF>
sequence and with double dots appearing at the begining of lines which
do not signal end of message yet start with a dot.
- DotTerminatedMessageReader(Reader) - Constructor for class com.oroinc.io.DotTerminatedMessageReader
-
Creates a DotTerminatedMessageReader that wraps an existing Reader
input source.
- DotTerminatedMessageWriter - Class in com.oroinc.io
-
DotTerminatedMessageWriter is a class used to write messages to a
server that are terminated by a single dot followed by a
<CR><LF>
sequence and with double dots appearing at the begining of lines which
do not signal end of message yet start with a dot.
- DotTerminatedMessageWriter(Writer) - Constructor for class com.oroinc.io.DotTerminatedMessageWriter
-
Creates a DotTerminatedMessageWriter that wraps an existing Writer
output destination.
- GA - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Go Ahead code.
- getAdditionalReply() - Method in class com.oroinc.net.pop3.POP3
-
Retrieves the additional lines of a multi-line server reply.
- getAddress() - Method in class com.oroinc.net.tftp.TFTPPacket
-
Returns the address of the host where the packet is going to be sent
or where it came from.
- getArticleCount() - Method in class com.oroinc.net.nntp.NewsgroupInfo
-
Get the estimated number of articles in the newsgroup.
- getBlockNumber() - Method in class com.oroinc.net.tftp.TFTPAckPacket
-
Returns the block number of the acknowledgement.
- getBlockNumber() - Method in class com.oroinc.net.tftp.TFTPDataPacket
-
Returns the block number of the data packet.
- getBytesTransferred() - Method in class com.oroinc.io.CopyStreamEvent
-
Returns the number of bytes transferred by the write that triggered
the event.
- getCommand() - Method in class com.oroinc.net.ProtocolCommandEvent
-
Returns the string representation of the command type sent (e.g., "STAT"
or "GET").
- getCommand(int) - Static method in class com.oroinc.net.ftp.FTPCommand
-
Retrieve the FTP protocol command string corresponding to a specified
command code.
- getCommand(int) - Static method in class com.oroinc.net.nntp.NNTPCommand
-
Retrieve the NNTP protocol command string corresponding to a specified
command code.
- getCommand(int) - Static method in class com.oroinc.net.pop3.POP3Command
-
Get the POP3 protocol string command corresponding to a command code.
- getCommand(int) - Static method in class com.oroinc.net.smtp.SMTPCommand
-
Retrieve the SMTP protocol command string corresponding to a specified
command code.
- getCommand(int) - Static method in class com.oroinc.net.telnet.TelnetCommand
-
Returns the string representation of the telnet protocol command
corresponding to the given command code.
- getData() - Method in class com.oroinc.net.tftp.TFTPDataPacket
-
Returns the byte array containing the packet data.
- getDataConnectionMode() - Method in class com.oroinc.net.ftp.FTPClient
-
Returns the current data connection mode (one of the
_DATA_CONNECTION_MODE
constants.
- getDataLength() - Method in class com.oroinc.net.tftp.TFTPDataPacket
-
Returns the length of the data part of the data packet.
- getDataOffset() - Method in class com.oroinc.net.tftp.TFTPDataPacket
-
Returns the offset into the byte array where the packet data actually
starts.
- getDate() - Method in class com.oroinc.net.nntp.NewGroupsOrNewsQuery
-
Return the NNTP query formatted date (year, month, day in the form
YYMMDD.
- getDate() - Method in class com.oroinc.net.TimeTCPClient
-
Retrieves the time from the server and returns a Java Date
containing the time converted to the local timezone.
- getDate(InetAddress) - Method in class com.oroinc.net.TimeUDPClient
-
Same as getTime(host, DEFAULT_PORT);
- getDate(InetAddress, int) - Method in class com.oroinc.net.TimeUDPClient
-
Retrieves the time from the server and returns a Java Date
containing the time converted to the local timezone.
- getDefaultPort() - Method in class com.oroinc.net.SocketClient
-
Returns the current value of the default port (stored in
_defaultPort_ ).
- getDefaultTimeout() - Method in class com.oroinc.net.DatagramSocketClient
-
Returns the default timeout in milliseconds that is used when
opening a socket.
- getDefaultTimeout() - Method in class com.oroinc.net.SocketClient
-
Returns the default timeout in milliseconds that is used when
opening a socket.
- getDistributions() - Method in class com.oroinc.net.nntp.NewGroupsOrNewsQuery
-
Return the comma separated list of distributions.
- getError() - Method in class com.oroinc.net.tftp.TFTPErrorPacket
-
Returns the error code of the packet.
- getErrorStream() - Method in class com.oroinc.net.bsd.RExecClient
-
Returns the InputStream from which the standard error of the remote
process can be read if a separate error stream is requested from
the server.
- getFilename() - Method in class com.oroinc.net.tftp.TFTPRequestPacket
-
Returns the requested filename.
- getFirstArticle() - Method in class com.oroinc.net.nntp.NewsgroupInfo
-
Get the number of the first article in the newsgroup.
- getFromAddress() - Method in class com.oroinc.net.nntp.SimpleNNTPHeader
-
Returns the address used in the From:
header field.
- getGroup() - Method in class com.oroinc.net.ftp.FTPFile
-
Returns the name of the group owning the file.
- getHardLinkCount() - Method in class com.oroinc.net.ftp.FTPFile
-
Return the number of hard links to this file.
- getInputStream() - Method in class com.oroinc.net.bsd.RExecClient
-
Returns the InputStream from which the standard outputof the remote
process can be read.
- getInputStream() - Method in class com.oroinc.net.CharGenTCPClient
-
Returns an InputStream from which the server generated data can be
read.
- getInputStream() - Method in class com.oroinc.net.EchoTCPClient
-
Returns an InputStream from which you may read echoed data from
the server.
- getInputStream() - Method in class com.oroinc.net.telnet.TelnetClient
-
Returns the telnet connection input stream.
- getInputStream(boolean) - Method in class com.oroinc.net.FingerClient
-
Fingers the connected host and returns the input stream from
the network connection of the finger query.
- getInputStream(boolean, String) - Method in class com.oroinc.net.FingerClient
-
Fingers a user and returns the input stream from the network connection
of the finger query.
- getInputStream(String) - Method in class com.oroinc.net.WhoisClient
-
Queries the connected whois server for information regarding
the given handle and returns the InputStream of the network connection.
- getIOException() - Method in exception com.oroinc.io.CopyStreamException
-
Returns the IOException responsible for the failure of a copy operation.
- getLastArticle() - Method in class com.oroinc.net.nntp.NewsgroupInfo
-
Get the number of the last article in the newsgroup.
- getLink() - Method in class com.oroinc.net.ftp.FTPFile
-
If the FTPFile is a symbolic link, this method returns the name of the
file being pointed to by the symbolic link.
- getListenerCount() - Method in class com.oroinc.net.ProtocolCommandSupport
-
Returns the number of ProtocolCommandListeners currently registered.
- getListenerCount() - Method in class com.oroinc.util.ListenerList
-
- getListeners() - Method in class com.oroinc.util.ListenerList
-
- getLocalAddress() - Method in class com.oroinc.net.DatagramSocketClient
-
Returns the local address to which the client's socket is bound.
- getLocalAddress() - Method in class com.oroinc.net.SocketClient
-
Returns the local address to which the client's socket is bound.
- getLocalPort() - Method in class com.oroinc.net.DatagramSocketClient
-
Returns the port number of the open socket on the local host used
for the connection.
- getLocalPort() - Method in class com.oroinc.net.SocketClient
-
Returns the port number of the open socket on the local host used
for the connection.
- getMaxTimeouts() - Method in class com.oroinc.net.tftp.TFTPClient
-
Returns the maximum number of times a receive attempt is allowed to
timeout before ending attempts to retry the receive and failing.
- getMessage() - Method in class com.oroinc.net.ProtocolCommandEvent
-
Returns the entire message sent to or received from the server.
- getMessage() - Method in class com.oroinc.net.tftp.TFTPErrorPacket
-
Returns the error message of the packet.
- getMode() - Method in class com.oroinc.net.tftp.TFTPRequestPacket
-
Returns the transfer mode of the request.
- getModeName(int) - Static method in class com.oroinc.net.tftp.TFTP
-
Returns the TFTP string representation of a TFTP transfer mode.
- getName() - Method in class com.oroinc.net.ftp.FTPFile
-
Return the name of the file.
- getNewsgroup() - Method in class com.oroinc.net.nntp.NewsgroupInfo
-
Get the newsgroup name.
- getNewsgroups() - Method in class com.oroinc.net.nntp.NewGroupsOrNewsQuery
-
Return the comma separated list of newsgroups.
- getNewsgroups() - Method in class com.oroinc.net.nntp.SimpleNNTPHeader
-
Returns the contents of the Newsgroups:
header field.
- getOption(int) - Static method in class com.oroinc.net.telnet.TelnetOption
-
Returns the string representation of the telnet protocol option
corresponding to the given option code.
- getOutputStream() - Method in class com.oroinc.net.bsd.RExecClient
-
Returns the OutputStream through which the standard input of the remote
process can be written.
- getOutputStream() - Method in class com.oroinc.net.DiscardTCPClient
-
Returns an OutputStream through which you may write data to the server.
- getOutputStream() - Method in class com.oroinc.net.telnet.TelnetClient
-
Returns the telnet connection output stream.
- getPassiveHost() - Method in class com.oroinc.net.ftp.FTPClient
-
Returns the hostname or IP address (in the form of a string) returned
by the server when entering passive mode.
- getPassivePort() - Method in class com.oroinc.net.ftp.FTPClient
-
If in passive mode, returns the data port of the passive host.
- getPort() - Method in class com.oroinc.net.tftp.TFTPPacket
-
Returns the port where the packet is going to be sent
or where it came from.
- getPostingPermission() - Method in class com.oroinc.net.nntp.NewsgroupInfo
-
Get the posting permission of the newsgroup.
- getRawListing() - Method in class com.oroinc.net.ftp.FTPFile
-
Get the original FTP server raw listing used to initialize the FTPFile.
- getRemoteAddress() - Method in class com.oroinc.net.SocketClient
-
- getRemotePort() - Method in class com.oroinc.net.SocketClient
-
Returns the port number of the remote host to which the client is
connected.
- getReply() - Method in class com.oroinc.net.ftp.FTP
-
Fetches a reply from the FTP server and returns the integer reply
code.
- getReply() - Method in class com.oroinc.net.nntp.NNTP
-
Fetches a reply from the NNTP server and returns the integer reply
code.
- getReply() - Method in class com.oroinc.net.smtp.SMTP
-
Fetches a reply from the SMTP server and returns the integer reply
code.
- getReplyCode() - Method in class com.oroinc.net.ftp.FTP
-
Returns the integer value of the reply code of the last FTP reply.
- getReplyCode() - Method in class com.oroinc.net.nntp.NNTP
-
Returns the integer value of the reply code of the last NNTP reply.
- getReplyCode() - Method in class com.oroinc.net.ProtocolCommandEvent
-
Returns the reply code of the received server reply.
- getReplyCode() - Method in class com.oroinc.net.smtp.SMTP
-
Returns the integer value of the reply code of the last SMTP reply.
- getReplyString() - Method in class com.oroinc.net.ftp.FTP
-
Returns the entire text of the last FTP server response exactly
as it was received, including all end of line markers in NETASCII
format.
- getReplyString() - Method in class com.oroinc.net.nntp.NNTP
-
Returns the entire text of the last NNTP server response exactly
as it was received, not including the end of line marker.
- getReplyString() - Method in class com.oroinc.net.pop3.POP3
-
Returns the reply to the last command sent to the server.
- getReplyString() - Method in class com.oroinc.net.smtp.SMTP
-
Returns the entire text of the last SMTP server response exactly
as it was received, including all end of line markers in NETASCII
format.
- getReplyStrings() - Method in class com.oroinc.net.ftp.FTP
-
Returns the lines of text from the last FTP server response as an array
of strings, one entry per line.
- getReplyStrings() - Method in class com.oroinc.net.pop3.POP3
-
Returns an array of lines received as a reply to the last command
sent to the server.
- getReplyStrings() - Method in class com.oroinc.net.smtp.SMTP
-
Returns the lines of text from the last SMTP server response as an array
of strings, one entry per line.
- getSize() - Method in class com.oroinc.net.ftp.FTPFile
-
Return the file size in bytes.
- getSoLinger() - Method in class com.oroinc.net.SocketClient
-
Returns the current SO_LINGER timeout of the currently opened socket.
- getSoTimeout() - Method in class com.oroinc.net.DatagramSocketClient
-
Returns the timeout in milliseconds of the currently opened socket.
- getSoTimeout() - Method in class com.oroinc.net.SocketClient
-
Returns the timeout in milliseconds of the currently opened socket.
- getState() - Method in class com.oroinc.net.pop3.POP3
-
Returns the current POP3 client state.
- getStatus() - Method in class com.oroinc.net.ftp.FTPClient
-
Issue the FTP STAT command to the server.
- getStatus(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Issue the FTP STAT command to the server for a given pathname.
- getStreamSize() - Method in class com.oroinc.io.CopyStreamEvent
-
Returns the size of the stream being copied.
- getSubject() - Method in class com.oroinc.net.nntp.SimpleNNTPHeader
-
Returns the subject used in the Subject:
header field.
- getSystemName() - Method in class com.oroinc.net.ftp.FTPClient
-
Fetches the system type name from the server and returns the string.
- getTcpNoDelay() - Method in class com.oroinc.net.SocketClient
-
Returns true if Nagle's algorithm is enabled on the currently opened
socket.
- getTime() - Method in class com.oroinc.net.DaytimeTCPClient
-
Retrieves the time string from the server and returns it.
- getTime() - Method in class com.oroinc.net.nntp.NewGroupsOrNewsQuery
-
Return the NNTP query formatted time (hour, minutes, seconds in the form
HHMMSS.
- getTime() - Method in class com.oroinc.net.TimeTCPClient
-
Retrieves the time from the server and returns it.
- getTime(InetAddress) - Method in class com.oroinc.net.DaytimeUDPClient
-
Same as getTime(host, DaytimeUDPClient.DEFAULT_PORT);
- getTime(InetAddress) - Method in class com.oroinc.net.TimeUDPClient
-
Same as getTime(host, DEFAULT_PORT);
- getTime(InetAddress, int) - Method in class com.oroinc.net.DaytimeUDPClient
-
Retrieves the time string from the specified server and port and
returns it.
- getTime(InetAddress, int) - Method in class com.oroinc.net.TimeUDPClient
-
Retrieves the time from the specified server and port and
returns it.
- getTimestamp() - Method in class com.oroinc.net.ftp.FTPFile
-
Returns the file timestamp.
- getTotalBytesTransferred() - Method in class com.oroinc.io.CopyStreamEvent
-
Returns the total number of bytes transferred so far by the copy
operation.
- getTotalBytesTransferred() - Method in exception com.oroinc.io.CopyStreamException
-
Returns the total number of bytes confirmed to have been transferred by a
failed copy operation.
- getType() - Method in class com.oroinc.net.ftp.FTPFile
-
Return the type of the file (one of the _TYPE
constants),
e.g., if it is a directory, a regular file, or a symbolic link.
- getType() - Method in class com.oroinc.net.tftp.TFTPPacket
-
Returns the type of the packet.
- getUser() - Method in class com.oroinc.net.ftp.FTPFile
-
Returns the name of the user owning the file.
- group(String) - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP GROUP command to the server,
receive the reply, and return the reply code.
- GROUP - Static variable in class com.oroinc.net.nntp.NNTPCommand
-
- GROUP_ACCESS - Static variable in class com.oroinc.net.ftp.FTPFile
-
A constant indicating group access permissions.
- GROUP_SELECTED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- IAC - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Interpret As Command code.
- identifier - Variable in class com.oroinc.net.pop3.POP3MessageInfo
-
- ihave(String) - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP IHAVE command to the server,
receive the reply, and return the reply code.
- IHAVE - Static variable in class com.oroinc.net.nntp.NNTPCommand
-
- ILLEGAL_OPERATION - Static variable in class com.oroinc.net.tftp.TFTPErrorPacket
-
The illegal TFTP operation error code according to RFC 783, value 4.
- IMAGE_FILE_TYPE - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate the file(s) being transfered should
be treated as a binary image, i.e., no translations should be
performed.
- IMAGE_MODE - Static variable in class com.oroinc.net.tftp.TFTP
-
The image transfer mode.
- INSUFFICIENT_STORAGE - Static variable in class com.oroinc.net.ftp.FTPReply
-
- INSUFFICIENT_STORAGE - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- IP - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Interrupt Process code.
- isAllowedToPost() - Method in class com.oroinc.net.nntp.NNTP
-
Indicates whether or not the client is allowed to post articles to
the server it is currently connected to.
- isCommand() - Method in class com.oroinc.net.ProtocolCommandEvent
-
Returns true if the ProtocolCommandEvent was generated as a result
of sending a command.
- isConnected() - Method in class com.oroinc.net.SocketClient
-
Returns true if the client is currently connected to a server.
- isConversionRequired() - Static method in class com.oroinc.io.FromNetASCIIInputStream
-
Returns true if the NetASCII line separator differs from the system
line separator, false if they are the same.
- isDirectory() - Method in class com.oroinc.net.ftp.FTPFile
-
Determine if the file is a directory.
- isFile() - Method in class com.oroinc.net.ftp.FTPFile
-
Determine if the file is a regular file.
- isGMT() - Method in class com.oroinc.net.nntp.NewGroupsOrNewsQuery
-
Return whether or not the query date should be treated as GMT.
- isInformational(int) - Static method in class com.oroinc.net.nntp.NNTPReply
-
Determine if a reply code is an informational response.
- isNegativePermanent(int) - Static method in class com.oroinc.net.ftp.FTPReply
-
Determine if a reply code is a negative permanent response.
- isNegativePermanent(int) - Static method in class com.oroinc.net.nntp.NNTPReply
-
Determine if a reply code is a negative permanent response.
- isNegativePermanent(int) - Static method in class com.oroinc.net.smtp.SMTPReply
-
Determine if a reply code is a negative permanent response.
- isNegativeTransient(int) - Static method in class com.oroinc.net.ftp.FTPReply
-
Determine if a reply code is a negative transient response.
- isNegativeTransient(int) - Static method in class com.oroinc.net.nntp.NNTPReply
-
Determine if a reply code is a negative transient response.
- isNegativeTransient(int) - Static method in class com.oroinc.net.smtp.SMTPReply
-
Determine if a reply code is a negative transient response.
- isOpen() - Method in class com.oroinc.net.DatagramSocketClient
-
Returns true if the client has a currently open socket.
- isPositiveCompletion(int) - Static method in class com.oroinc.net.ftp.FTPReply
-
Determine if a reply code is a positive completion response.
- isPositiveCompletion(int) - Static method in class com.oroinc.net.nntp.NNTPReply
-
Determine if a reply code is a positive completion response.
- isPositiveCompletion(int) - Static method in class com.oroinc.net.smtp.SMTPReply
-
Determine if a reply code is a positive completion response.
- isPositiveIntermediate(int) - Static method in class com.oroinc.net.ftp.FTPReply
-
Determine if a reply code is a positive intermediate response.
- isPositiveIntermediate(int) - Static method in class com.oroinc.net.nntp.NNTPReply
-
Determine if a reply code is a positive intermediate response.
- isPositiveIntermediate(int) - Static method in class com.oroinc.net.smtp.SMTPReply
-
Determine if a reply code is a positive intermediate response.
- isPositivePreliminary(int) - Static method in class com.oroinc.net.ftp.FTPReply
-
Determine if a reply code is a positive preliminary response.
- isPositivePreliminary(int) - Static method in class com.oroinc.net.smtp.SMTPReply
-
Determine if a reply code is a positive preliminary response.
- isRemoteVerificationEnabled() - Method in class com.oroinc.net.bsd.RExecClient
-
Return whether or not verification of the remote host providing a
separate error stream is enabled.
- isRemoteVerificationEnabled() - Method in class com.oroinc.net.ftp.FTPClient
-
Return whether or not verification of the remote host participating
in data connections is enabled.
- isReply() - Method in class com.oroinc.net.ProtocolCommandEvent
-
Returns true if the ProtocolCommandEvent was generated as a result
of receiving a reply.
- isSymbolicLink() - Method in class com.oroinc.net.ftp.FTPFile
-
Determine if the file is a symbolic link.
- isUnknown() - Method in class com.oroinc.net.ftp.FTPFile
-
Determine if the type of the file is unknown.
- isValidCommand(int) - Static method in class com.oroinc.net.telnet.TelnetCommand
-
Determines if a given command code is valid.
- isValidOption(int) - Static method in class com.oroinc.net.telnet.TelnetOption
-
Determines if a given option code is valid.
- last() - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP LAST command to the server,
receive the reply, and return the reply code.
- LAST - Static variable in class com.oroinc.net.nntp.NNTPCommand
-
- LINEMODE - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- list() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP LIST command to the server,
receive the reply, and return the reply code.
- list() - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP LIST command to the server,
receive the reply, and return the reply code.
- list(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP LIST command to the server,
receive the reply, and return the reply code.
- LIST - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- LIST - Static variable in class com.oroinc.net.nntp.NNTPCommand
-
- LIST - Static variable in class com.oroinc.net.pop3.POP3Command
-
List message(s).
- ListenerList - Class in com.oroinc.util
- ListenerList() - Constructor for class com.oroinc.util.ListenerList
-
- listFiles() - Method in class com.oroinc.net.ftp.FTPClient
-
Using the DefaultFTPFileListParser
, obtain a list of
file information for the current working directory.
- listFiles(FTPFileListParser) - Method in class com.oroinc.net.ftp.FTPClient
-
Using a programmer specified FTPFileListParser
,
obtain a list of file information for the current working directory.
- listFiles(FTPFileListParser, String) - Method in class com.oroinc.net.ftp.FTPClient
-
Using a programmer specified FTPFileListParser
, obtain a
list of file information for a directory or information for
just a single file.
- listFiles(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Using the DefaultFTPFileListParser
, obtain a list of
file information
for a directory or information for just a single file.
- listHelp() - Method in class com.oroinc.net.ftp.FTPClient
-
Fetches the system help information from the server and returns the
full string.
- listHelp() - Method in class com.oroinc.net.nntp.NNTPClient
-
List the command help from the server.
- listHelp() - Method in class com.oroinc.net.smtp.SMTPClient
-
Fetches the system help information from the server and returns the
full string.
- listHelp(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Fetches the help information for a given command from the server and
returns the full string.
- listHelp(String) - Method in class com.oroinc.net.smtp.SMTPClient
-
Fetches the help information for a given command from the server and
returns the full string.
- listMessage(int) - Method in class com.oroinc.net.pop3.POP3Client
-
List an individual message.
- listMessages() - Method in class com.oroinc.net.pop3.POP3Client
-
List all messages.
- listNames() - Method in class com.oroinc.net.ftp.FTPClient
-
Obtain a list of filenames in the current working directory
This information is obtained through the NLST command.
- listNames(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Obtain a list of filenames in a directory (or just the name of a given
file, which is not particularly useful).
- listNewNews(NewGroupsOrNewsQuery) - Method in class com.oroinc.net.nntp.NNTPClient
-
List all new articles added to the NNTP server since a particular
date subject to the conditions of the specified query.
- listNewNewsgroups(NewGroupsOrNewsQuery) - Method in class com.oroinc.net.nntp.NNTPClient
-
List all new newsgroups added to the NNTP server since a particular
date subject to the conditions of the specified query.
- listNewsgroups() - Method in class com.oroinc.net.nntp.NNTPClient
-
List all newsgroups served by the NNTP server.
- listUniqueIdentifier(int) - Method in class com.oroinc.net.pop3.POP3Client
-
List the unique identifier for a message.
- listUniqueIdentifiers() - Method in class com.oroinc.net.pop3.POP3Client
-
List the unique identifiers for all messages.
- LOCAL_FILE_TYPE - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate the file(s) being transfered should
be treated as a local type.
- login() - Method in class com.oroinc.net.smtp.SMTPClient
-
Login to the SMTP server by sending the HELO command with the
client hostname as an argument.
- login(String) - Method in class com.oroinc.net.smtp.SMTPClient
-
Login to the SMTP server by sending the HELO command with the
given hostname as an argument.
- login(String, String) - Method in class com.oroinc.net.ftp.FTPClient
-
Login to the FTP server using the provided username and password.
- login(String, String) - Method in class com.oroinc.net.pop3.POP3Client
-
Login to the POP3 server with the given username and password.
- login(String, String, String) - Method in class com.oroinc.net.ftp.FTPClient
-
Login to the FTP server using the provided username, password,
and account.
- login(String, String, String) - Method in class com.oroinc.net.pop3.POP3Client
-
Login to the POP3 server with the given username and authentication
information.
- LOGIN - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- logout() - Method in class com.oroinc.net.ftp.FTPClient
-
Logout of the FTP server by sending the QUIT command.
- logout() - Method in class com.oroinc.net.nntp.NNTPClient
-
Logs out of the news server gracefully by sending the QUIT command.
- logout() - Method in class com.oroinc.net.pop3.POP3Client
-
Logout of the POP3 server.
- logout() - Method in class com.oroinc.net.smtp.SMTPClient
-
Logout of the SMTP server by sending the QUIT command.
- LOGOUT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- LOGOUT - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- PAGE_STRUCTURE - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate a file is to be treated as a set of
independent indexed pages.
- PAGE_TYPE_UNKNOWN - Static variable in class com.oroinc.net.ftp.FTPReply
-
- parseFileList(InputStream) - Method in class com.oroinc.net.ftp.DefaultFTPFileListParser
-
Parses an FTP server file listing and converts it into a usable format
in the form of an array of FTPFile
instances.
- parseFileList(InputStream) - Method in interface com.oroinc.net.ftp.FTPFileListParser
-
Parses an FTP server file listing and converts it into a usable format
in the form of an array of FTPFile
instances.
- parseFTPEntry(String) - Method in class com.oroinc.net.ftp.DefaultFTPFileListParser
-
Parses an FTP server listing entry (a single line) and returns an
FTPFile instance with the resulting information.
- pass(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP PASS command to the server,
receive the reply, and return the reply code.
- PASS - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- PASS - Static variable in class com.oroinc.net.pop3.POP3Command
-
Send password.
- PASSIVE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- PASSIVE_LOCAL_DATA_CONNECTION_MODE - Static variable in class com.oroinc.net.ftp.FTPClient
-
A constant indicating the FTP session is expecting all transfers
to occur between the client (local) and server and that the server
is in passive mode, requiring the client to connect to the
server's data port to initiate a transfer.
- PASSIVE_REMOTE_DATA_CONNECTION_MODE - Static variable in class com.oroinc.net.ftp.FTPClient
-
A constant indicating the FTP session is expecting all transfers
to occur between two remote servers and that the server
the client is connected to is in passive mode, requiring the other
server to connect to the first server's data port to initiate a data
transfer.
- PASSWORD - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- pasv() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP PASV command to the server,
receive the reply, and return the reply code.
- PASV - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- PATHNAME_CREATED - Static variable in class com.oroinc.net.ftp.FTPReply
-
- PERMISSION_DENIED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- PERMITTED_POSTING_PERMISSION - Static variable in class com.oroinc.net.nntp.NewsgroupInfo
-
A constant indicating that a newsgroup is public and unmoderated.
- POP3 - Class in com.oroinc.net.pop3
-
The POP3 class is not meant to be used by itself and is provided
only so that you may easily implement your own POP3 client if
you so desire.
- POP3() - Constructor for class com.oroinc.net.pop3.POP3
-
The default POP3Client constructor.
- POP3Client - Class in com.oroinc.net.pop3
-
The POP3Client class implements the client side of the Internet POP3
Protocol defined in RFC 1939.
- POP3Client() - Constructor for class com.oroinc.net.pop3.POP3Client
-
- POP3Command - Class in com.oroinc.net.pop3
-
POP3Command stores POP3 command code constants.
- POP3MessageInfo - Class in com.oroinc.net.pop3
-
POP3MessageInfo is used to return information about messages stored on
a POP3 server.
- POP3MessageInfo() - Constructor for class com.oroinc.net.pop3.POP3MessageInfo
-
Creates a POP3MessageInfo instance with number
and
size
set to 0, and identifier
set to
null.
- POP3MessageInfo(int, int) - Constructor for class com.oroinc.net.pop3.POP3MessageInfo
-
Creates a POP3MessageInfo instance with number
set
to num
, size
set to octets
,
and identifier
set to null.
- POP3MessageInfo(int, String) - Constructor for class com.oroinc.net.pop3.POP3MessageInfo
-
Creates a POP3MessageInfo instance with number
set
to num
, size
undefined,
and identifier
set to uid
.
- POP3Reply - Class in com.oroinc.net.pop3
-
POP3Reply stores POP3 reply code constants.
- port(InetAddress, int) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP PORT command to the server,
receive the reply, and return the reply code.
- PORT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- post() - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP POST command to the server,
receive the reply, and return the reply code.
- POST - Static variable in class com.oroinc.net.nntp.NNTPCommand
-
- postArticle() - Method in class com.oroinc.net.nntp.NNTPClient
-
Post an article to the NNTP server.
- POSTING_FAILED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- POSTING_NOT_ALLOWED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- PREPARE_TO_RECONNECT - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- PRINT_WORKING_DIRECTORY - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- printWorkingDirectory() - Method in class com.oroinc.net.ftp.FTPClient
-
Returns the pathname of the current working directory.
- PROGRAM_FAULT - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- PROHIBITED_POSTING_PERMISSION - Static variable in class com.oroinc.net.nntp.NewsgroupInfo
-
A constant indicating that a newsgroup is closed for general posting.
- ProtocolCommandEvent - Class in com.oroinc.net
-
There exists a large class of IETF protocols that work by sending an
ASCII text command and arguments to a server, and then receiving an
ASCII text reply.
- ProtocolCommandEvent(Object, int, String) - Constructor for class com.oroinc.net.ProtocolCommandEvent
-
Creates a ProtocolCommandEvent signalling a reply to a command was
received.
- ProtocolCommandEvent(Object, String, String) - Constructor for class com.oroinc.net.ProtocolCommandEvent
-
Creates a ProtocolCommandEvent signalling a command was sent to
the server.
- ProtocolCommandListener - Interface in com.oroinc.net
-
There exists a large class of IETF protocols that work by sending an
ASCII text command and arguments to a server, and then receiving an
ASCII text reply.
- protocolCommandSent(ProtocolCommandEvent) - Method in interface com.oroinc.net.ProtocolCommandListener
-
This method is invoked by a ProtocolCommandEvent source after
sending a protocol command to a server.
- ProtocolCommandSupport - Class in com.oroinc.net
-
ProtocolCommandSupport is a convenience class for managing a list of
ProtocolCommandListeners and firing ProtocolCommandEvents.
- ProtocolCommandSupport(Object) - Constructor for class com.oroinc.net.ProtocolCommandSupport
-
Creates a ProtocolCommandSupport instant using the indicated source
as the source of fired ProtocolCommandEvents.
- protocolReplyReceived(ProtocolCommandEvent) - Method in interface com.oroinc.net.ProtocolCommandListener
-
This method is invoked by a ProtocolCommandEvent source after
receiving a reply from a server.
- pwd() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP PWD command to the server,
receive the reply, and return the reply code.
- PWD - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- rcommand(String, String, String) - Method in class com.oroinc.net.bsd.RCommandClient
-
Same as
rcommand(localUsername, remoteUsername, command, false);
- rcommand(String, String, String, boolean) - Method in class com.oroinc.net.bsd.RCommandClient
-
Remotely executes a command through the rshd daemon on the server
to which the RCommandClient is connected.
- RCommandClient - Class in com.oroinc.net.bsd
-
RCommandClient is very similar to
RExecClient ,
from which it is derived, and implements the rcmd() facility that
first appeared in 4.2BSD Unix.
- RCommandClient() - Constructor for class com.oroinc.net.bsd.RCommandClient
-
The default RCommandClient constructor.
- rcpt(String) - Method in class com.oroinc.net.smtp.SMTP
-
A convenience method to send the SMTP RCPT command to the server,
receive the reply, and return the reply code.
- RCPT - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- read() - Method in class com.oroinc.io.DotTerminatedMessageReader
-
Reads and returns the next character in the message.
- read() - Method in class com.oroinc.io.FromNetASCIIInputStream
-
Reads and returns the next byte in the stream.
- read() - Method in class com.oroinc.io.ToNetASCIIInputStream
-
Reads and returns the next byte in the stream.
- read(byte[]) - Method in class com.oroinc.io.FromNetASCIIInputStream
-
Reads the next number of bytes from the stream into an array and
returns the number of bytes read.
- read(byte[]) - Method in class com.oroinc.io.ToNetASCIIInputStream
-
Reads the next number of bytes from the stream into an array and
returns the number of bytes read.
- read(byte[], int, int) - Method in class com.oroinc.io.FromNetASCIIInputStream
-
Reads the next number of bytes from the stream into an array and returns
the number of bytes read.
- read(byte[], int, int) - Method in class com.oroinc.io.ToNetASCIIInputStream
-
Reads the next number of bytes from the stream into an array and returns
the number of bytes read.
- read(char[]) - Method in class com.oroinc.io.DotTerminatedMessageReader
-
Reads the next characters from the message into an array and
returns the number of characters read.
- read(char[], int, int) - Method in class com.oroinc.io.DotTerminatedMessageReader
-
Reads the next characters from the message into an array and
returns the number of characters read.
- READ_PERMISSION - Static variable in class com.oroinc.net.ftp.FTPFile
-
A constant indicating file/directory read permission.
- READ_REQUEST - Static variable in class com.oroinc.net.tftp.TFTPPacket
-
Identifier returned by
getType()
indicating a read request packet.
- ready() - Method in class com.oroinc.io.DotTerminatedMessageReader
-
Determines if the message is ready to be read.
- receive() - Method in class com.oroinc.net.CharGenUDPClient
-
Receive the reply data from the server.
- receive() - Method in class com.oroinc.net.tftp.TFTP
-
Receives a TFTPPacket.
- receive(byte[]) - Method in class com.oroinc.net.EchoUDPClient
-
Same as receive(data, data.length)
- receive(byte[], int) - Method in class com.oroinc.net.EchoUDPClient
-
Receives echoed data and returns its length.
- receiveFile(String, int, OutputStream, String) - Method in class com.oroinc.net.tftp.TFTPClient
-
Same as calling
receiveFile(filename, mode, output, hostname, TFTP.DEFAULT_PORT)
- receiveFile(String, int, OutputStream, String, int) - Method in class com.oroinc.net.tftp.TFTPClient
-
Requests a named file from a remote host, writes the
file to an OutputStream, closes the connection, and returns the number
of bytes read.
- receiveFile(String, int, OutputStream, InetAddress) - Method in class com.oroinc.net.tftp.TFTPClient
-
Same as calling
receiveFile(filename, mode, output, host, TFTP.DEFAULT_PORT)
- receiveFile(String, int, OutputStream, InetAddress, int) - Method in class com.oroinc.net.tftp.TFTPClient
-
Requests a named file from a remote host, writes the
file to an OutputStream, closes the connection, and returns the number
of bytes read.
- RECIPIENT - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- RECORD_STRUCTURE - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate a file is to be treated as a sequence
of records.
- REGIME_3270 - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- rein() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP REIN command to the server,
receive the reply, and return the reply code.
- REIN - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- REINITIALIZE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- RelayPath - Class in com.oroinc.net.smtp
-
A class used to represent forward and reverse relay paths.
- RelayPath(String) - Constructor for class com.oroinc.net.smtp.RelayPath
-
Create a relay path with the specified email address as the ultimate
destination.
- REMOTE_CONTROLLED_TRANSMISSION - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- REMOTE_FLOW_CONTROL - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- remoteAppend(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Initiate a server to server file transfer.
- remoteRetrieve(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Initiate a server to server file transfer.
- remoteStore(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Initiate a server to server file transfer.
- remoteStoreUnique() - Method in class com.oroinc.net.ftp.FTPClient
-
Initiate a server to server file transfer.
- remoteStoreUnique(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Initiate a server to server file transfer.
- REMOVE_DIRECTORY - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- removeCopyStreamListener(CopyStreamListener) - Method in class com.oroinc.io.CopyStreamAdapter
-
Unregisters a CopyStreamListener.
- removeDirectory(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Removes a directory on the FTP server (if empty).
- removeListener(EventListener) - Method in class com.oroinc.util.ListenerList
-
- removeProtocolCommandistener(ProtocolCommandListener) - Method in class com.oroinc.net.ftp.FTP
-
Removes a ProtocolCommandListener.
- removeProtocolCommandistener(ProtocolCommandListener) - Method in class com.oroinc.net.nntp.NNTP
-
Removes a ProtocolCommandListener.
- removeProtocolCommandistener(ProtocolCommandListener) - Method in class com.oroinc.net.pop3.POP3
-
Removes a ProtocolCommandListener.
- removeProtocolCommandistener(ProtocolCommandListener) - Method in class com.oroinc.net.smtp.SMTP
-
Removes a ProtocolCommandListener.
- removeProtocolCommandListener(ProtocolCommandListener) - Method in class com.oroinc.net.ProtocolCommandSupport
-
Removes a ProtocolCommandListener.
- rename(String, String) - Method in class com.oroinc.net.ftp.FTPClient
-
Renames a remote file.
- RENAME_FROM - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- RENAME_TO - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- REPRESENTATION_TYPE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- reset() - Method in class com.oroinc.net.pop3.POP3Client
-
Reset the POP3 session.
- reset() - Method in class com.oroinc.net.smtp.SMTPClient
-
Aborts the current mail transaction, resetting all server stored
sender, recipient, and mail data, cleaing all buffers and tables.
- RESET - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- rest(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP REST command to the server,
receive the reply, and return the reply code.
- REST - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- restart(long) - Method in class com.oroinc.net.ftp.FTPClient
-
Restart a STREAM_TRANSFER_MODE
file transfer starting
from the given offset.
- RESTART - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- RESTART_MARKER - Static variable in class com.oroinc.net.ftp.FTPReply
-
- retr(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP RETR command to the server,
receive the reply, and return the reply code.
- RETR - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- RETR - Static variable in class com.oroinc.net.pop3.POP3Command
-
Retrieve message(s).
- RETRIEVE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- retrieveArticle() - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticle(null)
- retrieveArticle(int) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticle(articleNumber, null)
- retrieveArticle(int, ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Retrieves an article from the currently selected newsgroup.
- retrieveArticle(String) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticle(articleId, null)
- retrieveArticle(String, ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Retrieves an article from the NNTP server.
- retrieveArticleBody() - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticleBody(null)
- retrieveArticleBody(int) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticleBody(articleNumber, null)
- retrieveArticleBody(int, ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Retrieves an article body from the currently selected newsgroup.
- retrieveArticleBody(String) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticleBody(articleId, null)
- retrieveArticleBody(String, ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Retrieves an article body from the NNTP server.
- retrieveArticleHeader() - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticleHeader(null)
- retrieveArticleHeader(int) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticleHeader(articleNumber, null)
- retrieveArticleHeader(int, ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Retrieves an article header from the currently selected newsgroup.
- retrieveArticleHeader(String) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as retrieveArticleHeader(articleId, null)
- retrieveArticleHeader(String, ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Retrieves an article header from the NNTP server.
- retrieveFile(String, OutputStream) - Method in class com.oroinc.net.ftp.FTPClient
-
Retrieves a named file from the server and writes it to the given
OutputStream.
- retrieveFileStream(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Returns an InputStream from which a named file from the server
can be read.
- retrieveMessage(int) - Method in class com.oroinc.net.pop3.POP3Client
-
Retrieve a message from the POP3 server.
- retrieveMessageTop(int, int) - Method in class com.oroinc.net.pop3.POP3Client
-
Retrieve only the specified top number of lines of a message from the
POP3 server.
- rexec(String, String, String) - Method in class com.oroinc.net.bsd.RExecClient
-
Same as rexec(username, password, command, false);
- rexec(String, String, String, boolean) - Method in class com.oroinc.net.bsd.RExecClient
-
Remotely executes a command through the rexecd daemon on the server
to which the RExecClient is connected.
- RExecClient - Class in com.oroinc.net.bsd
-
RExecClient implements the rexec() facility that first appeared in
4.2BSD Unix.
- RExecClient() - Constructor for class com.oroinc.net.bsd.RExecClient
-
The default RExecClient constructor.
- rlogin(String, String, String) - Method in class com.oroinc.net.bsd.RLoginClient
-
Same as the other rlogin method, but no terminal speed is defined.
- rlogin(String, String, String, int) - Method in class com.oroinc.net.bsd.RLoginClient
-
Logins into a remote machine through the rlogind daemon on the server
to which the RLoginClient is connected.
- RLoginClient - Class in com.oroinc.net.bsd
-
RLoginClient is very similar to
RCommandClient ,
from which it is derived, and uses the rcmd() facility implemented
in RCommandClient to implement the functionality of the rlogin command that
first appeared in 4.2BSD Unix.
- RLoginClient() - Constructor for class com.oroinc.net.bsd.RLoginClient
-
The default RLoginClient constructor.
- rmd(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP RMD command to the server,
receive the reply, and return the reply code.
- RMD - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- rnfr(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP RNFR command to the server,
receive the reply, and return the reply code.
- RNFR - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- rnto(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP RNTO command to the server,
receive the reply, and return the reply code.
- RNTO - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- rset() - Method in class com.oroinc.net.smtp.SMTP
-
A convenience method to send the SMTP RSET command to the server,
receive the reply, and return the reply code.
- RSET - Static variable in class com.oroinc.net.pop3.POP3Command
-
Reset session.
- RSET - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- saml(String) - Method in class com.oroinc.net.smtp.SMTP
-
A convenience method to send the SMTP SAML command to the server,
receive the reply, and return the reply code.
- SAML - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- SB - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Start subnegotiation code.
- SE - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
End subnegotiation code.
- SECONDS_1900_TO_1970 - Static variable in class com.oroinc.net.TimeTCPClient
-
The number of seconds between 00:00 1 January 1900 and
00:00 1 January 1970.
- SECONDS_1900_TO_1970 - Static variable in class com.oroinc.net.TimeUDPClient
-
The number of seconds between 00:00 1 January 1900 and
00:00 1 January 1970.
- SEGMENT_SIZE - Static variable in class com.oroinc.net.tftp.TFTPPacket
-
The TFTP data packet maximum segment size in bytes.
- selectArticle(int) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as selectArticle(articleNumber, null)
- selectArticle(int, ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Select an article in the currently selected newsgroup by its number.
- selectArticle(ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as selectArticle(null, articleId)
.
- selectArticle(String) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as selectArticle(articleId, null)
- selectArticle(String, ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Select an article by its unique identifier (including enclosing
< and >) and return its article number and id through the
pointer parameter.
- selectNewsgroup(String) - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as selectNewsgroup(newsgroup, null)
- selectNewsgroup(String, NewsgroupInfo) - Method in class com.oroinc.net.nntp.NNTPClient
-
Select the specified newsgroup to be the target of for future article
retrieval and posting operations.
- selectNextArticle() - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as selectNextArticle(null)
- selectNextArticle(ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Select the article following the currently selected article in the
currently selected newsgroup and return its number and unique id
through the pointer parameter.
- selectPreviousArticle() - Method in class com.oroinc.net.nntp.NNTPClient
-
Same as selectPreviousArticle(null)
- selectPreviousArticle(ArticlePointer) - Method in class com.oroinc.net.nntp.NNTPClient
-
Select the article preceeding the currently selected article in the
currently selected newsgroup and return its number and unique id
through the pointer parameter.
- send(byte[], int, InetAddress) - Method in class com.oroinc.net.DiscardUDPClient
-
Same as
send(data, length, host.
- send(byte[], int, InetAddress) - Method in class com.oroinc.net.EchoUDPClient
-
Sends the specified data to the specified server at the default echo
port.
- send(byte[], int, InetAddress, int) - Method in class com.oroinc.net.DiscardUDPClient
-
Sends the specified data to the specified server at the specified port.
- send(byte[], InetAddress) - Method in class com.oroinc.net.DiscardUDPClient
-
Same as
send(data, data.length, host.
- send(byte[], InetAddress) - Method in class com.oroinc.net.EchoUDPClient
-
Same as send(data, data.length, host)
- send(TFTPPacket) - Method in class com.oroinc.net.tftp.TFTP
-
Sends a TFTP packet to its destination.
- send(String) - Method in class com.oroinc.net.smtp.SMTP
-
A convenience method to send the SMTP SEND command to the server,
receive the reply, and return the reply code.
- send(InetAddress) - Method in class com.oroinc.net.CharGenUDPClient
-
Same as send(host, CharGenUDPClient.DEFAULT_PORT);
- send(InetAddress, int) - Method in class com.oroinc.net.CharGenUDPClient
-
Sends the data initiation datagram.
- SEND - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- SEND_AND_MAIL_FROM - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- SEND_ARTICLE_TO_POST - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- SEND_ARTICLE_TO_TRANSFER - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- SEND_FROM - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- SEND_LOCATION - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- SEND_MESSAGE_DATA - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- SEND_OR_MAIL_FROM - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- sendCommand(int) - Method in class com.oroinc.net.ftp.FTP
-
Sends an FTP command with no arguments to the server, waits for a
reply and returns the numerical response code.
- sendCommand(int) - Method in class com.oroinc.net.nntp.NNTP
-
Sends an NNTP command with no arguments to the server, waits for a
reply and returns the numerical response code.
- sendCommand(int) - Method in class com.oroinc.net.pop3.POP3
-
Sends a command with no arguments to the server and returns the
reply code.
- sendCommand(int) - Method in class com.oroinc.net.smtp.SMTP
-
Sends an SMTP command with no arguments to the server, waits for a
reply and returns the numerical response code.
- sendCommand(int, String) - Method in class com.oroinc.net.ftp.FTP
-
Sends an FTP command to the server, waits for a reply and returns the
numerical response code.
- sendCommand(int, String) - Method in class com.oroinc.net.nntp.NNTP
-
Sends an NNTP command to the server, waits for a reply and returns the
numerical response code.
- sendCommand(int, String) - Method in class com.oroinc.net.pop3.POP3
-
Sends a command an arguments to the server and returns the reply code.
- sendCommand(int, String) - Method in class com.oroinc.net.smtp.SMTP
-
Sends an SMTP command to the server, waits for a reply and returns the
numerical response code.
- sendCommand(String) - Method in class com.oroinc.net.ftp.FTP
-
Sends an FTP command with no arguments to the server, waits for a
reply and returns the numerical response code.
- sendCommand(String) - Method in class com.oroinc.net.nntp.NNTP
-
Sends an NNTP command with no arguments to the server, waits for a
reply and returns the numerical response code.
- sendCommand(String) - Method in class com.oroinc.net.pop3.POP3
-
Sends a command with no arguments to the server and returns the
reply code.
- sendCommand(String) - Method in class com.oroinc.net.smtp.SMTP
-
Sends an SMTP command with no arguments to the server, waits for a
reply and returns the numerical response code.
- sendCommand(String, String) - Method in class com.oroinc.net.ftp.FTP
-
Sends an FTP command to the server, waits for a reply and returns the
numerical response code.
- sendCommand(String, String) - Method in class com.oroinc.net.nntp.NNTP
-
Sends an NNTP command to the server, waits for a reply and returns the
numerical response code.
- sendCommand(String, String) - Method in class com.oroinc.net.pop3.POP3
-
Sends a command an arguments to the server and returns the reply code.
- sendCommand(String, String) - Method in class com.oroinc.net.smtp.SMTP
-
Sends an SMTP command to the server, waits for a reply and returns the
numerical response code.
- sendFile(String, int, InputStream, String) - Method in class com.oroinc.net.tftp.TFTPClient
-
Same as calling
sendFile(filename, mode, input, hostname, TFTP.DEFAULT_PORT);
- sendFile(String, int, InputStream, String, int) - Method in class com.oroinc.net.tftp.TFTPClient
-
Requests to send a file to a remote host, reads the file from an
InputStream, sends the file to the remote host, and closes the
connection.
- sendFile(String, int, InputStream, InetAddress) - Method in class com.oroinc.net.tftp.TFTPClient
-
Same as calling
sendFile(filename, mode, input, host, TFTP.DEFAULT_PORT);
- sendFile(String, int, InputStream, InetAddress, int) - Method in class com.oroinc.net.tftp.TFTPClient
-
Requests to send a file to a remote host, reads the file from an
InputStream, sends the file to the remote host, and closes the
connection.
- sendMessageData() - Method in class com.oroinc.net.smtp.SMTPClient
-
Send the SMTP DATA command in preparation to send an email message.
- sendNoOp() - Method in class com.oroinc.net.ftp.FTPClient
-
Sends a NOOP command to the FTP server.
- sendNoOp() - Method in class com.oroinc.net.smtp.SMTPClient
-
Sends a NOOP command to the SMTP server.
- sendShortMessageData(String) - Method in class com.oroinc.net.smtp.SMTPClient
-
A convenience method for sending short messages.
- sendSimpleMessage(String, String[], String) - Method in class com.oroinc.net.smtp.SMTPClient
-
A convenience method for a sending short email without having to
explicitly set the sender and recipient(s).
- sendSimpleMessage(String, String, String) - Method in class com.oroinc.net.smtp.SMTPClient
-
A convenience method for a sending short email without having to
explicitly set the sender and recipient(s).
- sendSiteCommand(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Send a site specific command.
- SERVER_READY_POSTING_ALLOWED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- SERVER_READY_POSTING_NOT_ALLOWED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- SERVICE_CLOSING_CONTROL_CONNECTION - Static variable in class com.oroinc.net.ftp.FTPReply
-
- SERVICE_CLOSING_TRANSMISSION_CHANNEL - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- SERVICE_DISCONTINUED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- SERVICE_NOT_AVAILABLE - Static variable in class com.oroinc.net.ftp.FTPReply
-
- SERVICE_NOT_AVAILABLE - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- SERVICE_NOT_READY - Static variable in class com.oroinc.net.ftp.FTPReply
-
- SERVICE_READY - Static variable in class com.oroinc.net.ftp.FTPReply
-
- SERVICE_READY - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- setAddress(InetAddress) - Method in class com.oroinc.net.tftp.TFTPPacket
-
Sets the host address where the packet is going to be sent.
- setBlockNumber(int) - Method in class com.oroinc.net.tftp.TFTPAckPacket
-
Sets the block number of the acknowledgement.
- setBlockNumber(int) - Method in class com.oroinc.net.tftp.TFTPDataPacket
-
Sets the block number of the data packet.
- setData(byte[], int, int) - Method in class com.oroinc.net.tftp.TFTPDataPacket
-
Sets the data for the data packet.
- setDatagramSocketFactory(DatagramSocketFactory) - Method in class com.oroinc.net.DatagramSocketClient
-
Sets the DatagramSocketFactory used by the DatagramSocketClient
to open DatagramSockets.
- setDataTimeout(int) - Method in class com.oroinc.net.ftp.FTPClient
-
Sets the timeout in milliseconds to use when reading from the
data connection.
- setDefaultPort(int) - Method in class com.oroinc.net.SocketClient
-
Sets the default port the SocketClient should connect to when a port
is not specified.
- setDefaultTimeout(int) - Method in class com.oroinc.net.DatagramSocketClient
-
Set the default timeout in milliseconds to use when opening a socket.
- setDefaultTimeout(int) - Method in class com.oroinc.net.SocketClient
-
Set the default timeout in milliseconds to use when opening a socket.
- setFileStructure(int) - Method in class com.oroinc.net.ftp.FTPClient
-
Sets the file structure.
- setFileTransferMode(int) - Method in class com.oroinc.net.ftp.FTPClient
-
Sets the transfer mode.
- setFileType(int) - Method in class com.oroinc.net.ftp.FTPClient
-
Sets the file type to be transferred.
- setFileType(int, int) - Method in class com.oroinc.net.ftp.FTPClient
-
Sets the file type to be transferred and the format.
- setGroup(String) - Method in class com.oroinc.net.ftp.FTPFile
-
Set the name of the group owning the file.
- setHardLinkCount(int) - Method in class com.oroinc.net.ftp.FTPFile
-
Set the number of hard links to this file.
- setLink(String) - Method in class com.oroinc.net.ftp.FTPFile
-
If the FTPFile is a symbolic link, use this method to set the name of the
file being pointed to by the symbolic link.
- setMaxTimeouts(int) - Method in class com.oroinc.net.tftp.TFTPClient
-
Sets the maximum number of times a receive attempt is allowed to
timeout during a receiveFile() or sendFile() operation before ending
attempts to retry the receive and failing.
- setName(String) - Method in class com.oroinc.net.ftp.FTPFile
-
Set the name of the file.
- setPermission(int, int, boolean) - Method in class com.oroinc.net.ftp.FTPFile
-
Set if the given access group (one of the _ACCESS
constants) has the given access permission (one of the
_PERMISSION
constants) to the file.
- setPort(int) - Method in class com.oroinc.net.tftp.TFTPPacket
-
Sets the port where the packet is going to be sent.
- setRawListing(String) - Method in class com.oroinc.net.ftp.FTPFile
-
Set the original FTP server raw listing from which the FTPFile was
created.
- setRemoteVerificationEnabled(boolean) - Method in class com.oroinc.net.bsd.RExecClient
-
Enable or disable verification that the remote host connecting to
create a separate error stream is the same as the host to which
the standard out stream is connected.
- setRemoteVerificationEnabled(boolean) - Method in class com.oroinc.net.ftp.FTPClient
-
Enable or disable verification that the remote host taking part
of a data connection is the same as the host to which the control
connection is attached.
- setSender(RelayPath) - Method in class com.oroinc.net.smtp.SMTPClient
-
Set the sender of a message using the SMTP MAIL command, specifying
a reverse relay path.
- setSender(String) - Method in class com.oroinc.net.smtp.SMTPClient
-
Set the sender of a message using the SMTP MAIL command, specifying
the sender's email address.
- setSize(long) - Method in class com.oroinc.net.ftp.FTPFile
-
Set the file size in bytes.
- setSocketFactory(SocketFactory) - Method in class com.oroinc.net.SocketClient
-
Sets the SocketFactory used by the SocketClient to open socket
connections.
- setSoLinger(boolean, int) - Method in class com.oroinc.net.SocketClient
-
Sets the SO_LINGER timeout on the currently opened socket.
- setSoTimeout(int) - Method in class com.oroinc.net.DatagramSocketClient
-
Set the timeout in milliseconds of a currently open connection.
- setSoTimeout(int) - Method in class com.oroinc.net.SocketClient
-
Set the timeout in milliseconds of a currently open connection.
- setState(int) - Method in class com.oroinc.net.pop3.POP3
-
Sets POP3 client state.
- setTcpNoDelay(boolean) - Method in class com.oroinc.net.SocketClient
-
Enables or disables the Nagle's algorithm (TCP_NODELAY) on the
currently opened socket.
- setTimestamp(Calendar) - Method in class com.oroinc.net.ftp.FTPFile
-
Set the file timestamp.
- setType(int) - Method in class com.oroinc.net.ftp.FTPFile
-
Set the type of the file (DIRECTORY_TYPE
,
FILE_TYPE
, etc.).
- setUser(String) - Method in class com.oroinc.net.ftp.FTPFile
-
Set the name of the user owning the file.
- SimpleNNTPHeader - Class in com.oroinc.net.nntp
-
This class is used to construct the bare minimum
acceptable header for most news readers.
- SimpleNNTPHeader(String, String) - Constructor for class com.oroinc.net.nntp.SimpleNNTPHeader
-
Creates a new SimpleNNTPHeader instance initialized with the given
from and subject header field values.
- SimpleSMTPHeader - Class in com.oroinc.net.smtp
-
This class is used to construct a bare minimum
acceptable header for an email message.
- SimpleSMTPHeader(String, String, String) - Constructor for class com.oroinc.net.smtp.SimpleSMTPHeader
-
Creates a new SimpleSMTPHeader instance initialized with the given
from, to, and subject header field values.
- site(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP SITE command to the server,
receive the reply, and return the reply code.
- SITE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- SITE_PARAMETERS - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- size - Variable in class com.oroinc.net.pop3.POP3MessageInfo
-
- SLAVE - Static variable in class com.oroinc.net.nntp.NNTPCommand
-
- SLAVE_STATUS_NOTED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- smnt(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP SMNT command to the server,
receive the reply, and return the reply code.
- SMNT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- SMTP - Class in com.oroinc.net.smtp
-
SMTP provides the basic the functionality necessary to implement your
own SMTP client.
- SMTP() - Constructor for class com.oroinc.net.smtp.SMTP
-
The default SMTP constructor.
- SMTPClient - Class in com.oroinc.net.smtp
-
SMTPClient encapsulates all the functionality necessary to send files
through an SMTP server.
- SMTPClient() - Constructor for class com.oroinc.net.smtp.SMTPClient
-
- SMTPCommand - Class in com.oroinc.net.smtp
-
SMTPCommand stores a set of constants for SMTP command codes.
- SMTPConnectionClosedException - Exception in com.oroinc.net.smtp
-
SMTPConnectionClosedException is used to indicate the premature or
unexpected closing of an SMTP connection resulting from a
SMTPReply.SERVICE_NOT_AVAILABLE response (SMTP reply code 421) to a
failed SMTP command.
- SMTPConnectionClosedException() - Constructor for exception com.oroinc.net.smtp.SMTPConnectionClosedException
-
Constructs a SMTPConnectionClosedException with no message
- SMTPConnectionClosedException(String) - Constructor for exception com.oroinc.net.smtp.SMTPConnectionClosedException
-
Constructs a SMTPConnectionClosedException with a specified message.
- SMTPReply - Class in com.oroinc.net.smtp
-
SMTPReply stores a set of constants for SMTP reply codes.
- SocketClient - Class in com.oroinc.net
-
The SocketClient provides the basic operations that are required
of client objects accessing sockets.
- SocketClient() - Constructor for class com.oroinc.net.SocketClient
-
Default constructor for SocketClient.
- SocketFactory - Interface in com.oroinc.net
-
The SocketFactory interface provides a means for the programmer to
control the creation of sockets and provide his own Socket
implementations for use by all classes derived from
SocketClient .
- SocketInputStream - Class in com.oroinc.io
-
This class wraps an input stream, storing a reference to its originating
socket.
- SocketInputStream(Socket, InputStream) - Constructor for class com.oroinc.io.SocketInputStream
-
Creates a SocketInputStream instance wrapping an input stream and
storing a reference to a socket that should be closed on closing
the stream.
- SocketOutputStream - Class in com.oroinc.io
-
This class wraps an output stream, storing a reference to its originating
socket.
- SocketOutputStream(Socket, OutputStream) - Constructor for class com.oroinc.io.SocketOutputStream
-
Creates a SocketOutputStream instance wrapping an output stream and
storing a reference to a socket that should be closed on closing
the stream.
- soml(String) - Method in class com.oroinc.net.smtp.SMTP
-
A convenience method to send the SMTP SOML command to the server,
receive the reply, and return the reply code.
- SOML - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- START_MAIL_INPUT - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- stat() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP STAT command to the server,
receive the reply, and return the reply code.
- stat() - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP STAT command to the server,
receive the initial reply, and return the reply code.
- stat(int) - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP STAT command to the server,
receive the initial reply, and return the reply code.
- stat(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP STAT command to the server,
receive the reply, and return the reply code.
- stat(String) - Method in class com.oroinc.net.nntp.NNTP
-
A convenience method to send the NNTP STAT command to the server,
receive the initial reply, and return the reply code.
- STAT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- STAT - Static variable in class com.oroinc.net.nntp.NNTPCommand
-
- STAT - Static variable in class com.oroinc.net.pop3.POP3Command
-
Get status.
- status() - Method in class com.oroinc.net.pop3.POP3Client
-
Get the mailbox status.
- STATUS - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- STATUS - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- stor(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP STOR command to the server,
receive the reply, and return the reply code.
- STOR - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- STORAGE_ALLOCATION_EXCEEDED - Static variable in class com.oroinc.net.ftp.FTPReply
-
- STORAGE_ALLOCATION_EXCEEDED - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- STORE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- STORE_UNIQUE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- storeFile(String, InputStream) - Method in class com.oroinc.net.ftp.FTPClient
-
Stores a file on the server using the given name and taking input
from the given InputStream.
- storeFileStream(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Returns an OutputStream through which data can be written to store
a file on the server using the given name.
- storeUniqueFile(InputStream) - Method in class com.oroinc.net.ftp.FTPClient
-
Stores a file on the server using a unique name assigned by the
server and taking input from the given InputStream.
- storeUniqueFile(String, InputStream) - Method in class com.oroinc.net.ftp.FTPClient
-
Stores a file on the server using a unique name derived from the
given name and taking input
from the given InputStream.
- storeUniqueFileStream() - Method in class com.oroinc.net.ftp.FTPClient
-
Returns an OutputStream through which data can be written to store
a file on the server using a unique name assigned by the server.
- storeUniqueFileStream(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Returns an OutputStream through which data can be written to store
a file on the server using a unique name derived from the given name.
- stou() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP STOU command to the server,
receive the reply, and return the reply code.
- stou(String) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP STOU command to the server,
receive the reply, and return the reply code.
- STOU - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- STREAM_TRANSFER_MODE - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate a file is to be transfered as a stream
of bytes.
- stru(int) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP STRU command to the server,
receive the reply, and return the reply code.
- STRU - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- STRUCTURE_MOUNT - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- structureMount(String) - Method in class com.oroinc.net.ftp.FTPClient
-
Issue the FTP SMNT command.
- SUPDUP - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- SUPDUP_OUTPUT - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- SUPPRESS_GO_AHEAD - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- SUSP - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Suspend process code.
- SYMBOLIC_LINK_TYPE - Static variable in class com.oroinc.net.ftp.FTPFile
-
A constant indicating an FTPFile is a symbolic link.
- SYNCH - Static variable in class com.oroinc.net.telnet.TelnetCommand
-
Synchronize code.
- SYNTAX_ERROR_IN_ARGUMENTS - Static variable in class com.oroinc.net.ftp.FTPReply
-
- SYNTAX_ERROR_IN_ARGUMENTS - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- syst() - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP SYST command to the server,
receive the reply, and return the reply code.
- SYST - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- SYSTAT_PORT - Static variable in class com.oroinc.net.CharGenTCPClient
-
The systat port value of 11 according to RFC 866.
- SYSTAT_PORT - Static variable in class com.oroinc.net.CharGenUDPClient
-
The systat port value of 11 according to RFC 866.
- SYSTEM - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- SYSTEM_STATUS - Static variable in class com.oroinc.net.ftp.FTPReply
-
- SYSTEM_STATUS - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- TACACS_USER_IDENTIFICATION - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- TELNET_TEXT_FORMAT - Static variable in class com.oroinc.net.ftp.FTP
-
A constant used to indicate a text file contains format vertical format
control characters.
- TelnetClient - Class in com.oroinc.net.telnet
-
The TelnetClient class implements the simple network virtual
terminal (NVT) for the Telnet protocol according to RFC 854.
- TelnetClient() - Constructor for class com.oroinc.net.telnet.TelnetClient
-
Default TelnetClient constructor.
- TelnetCommand - Class in com.oroinc.net.telnet
-
The TelnetCommand class cannot be instantiated and only serves as a
storehouse for telnet command constants.
- TelnetOption - Class in com.oroinc.net.telnet
-
The TelnetOption class cannot be instantiated and only serves as a
storehouse for telnet option constants.
- TERMINAL_LOCATION_NUMBER - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- TERMINAL_SPEED - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- TERMINAL_TYPE - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- TFTP - Class in com.oroinc.net.tftp
-
The TFTP class exposes a set of methods to allow you to deal with the TFTP
protocol directly, in case you want to write your own TFTP client or
server.
- TFTP() - Constructor for class com.oroinc.net.tftp.TFTP
-
Creates a TFTP instance with a default timeout of DEFAULT_TIMEOUT,
a null socket, and buffered operations disabled.
- TFTPAckPacket - Class in com.oroinc.net.tftp
-
A final class derived from TFTPPacket definiing the TFTP Acknowledgement
packet type.
- TFTPAckPacket(InetAddress, int, int) - Constructor for class com.oroinc.net.tftp.TFTPAckPacket
-
Creates an acknowledgment packet to be sent to a host at a given port
acknowledging receipt of a block.
- TFTPClient - Class in com.oroinc.net.tftp
-
The TFTPClient class encapsulates all the aspects of the TFTP protocol
necessary to receive and send files through TFTP.
- TFTPClient() - Constructor for class com.oroinc.net.tftp.TFTPClient
-
Creates a TFTPClient instance with a default timeout of DEFAULT_TIMEOUT,
maximum timeouts value of DEFAULT_MAX_TIMEOUTS, a null socket,
and buffered operations disabled.
- TFTPDataPacket - Class in com.oroinc.net.tftp
-
A final class derived from TFTPPacket definiing the TFTP Data
packet type.
- TFTPDataPacket(InetAddress, int, int, byte[]) - Constructor for class com.oroinc.net.tftp.TFTPDataPacket
-
- TFTPDataPacket(InetAddress, int, int, byte[], int, int) - Constructor for class com.oroinc.net.tftp.TFTPDataPacket
-
Creates a data packet to be sent to a host at a given port
with a given block number.
- TFTPErrorPacket - Class in com.oroinc.net.tftp
-
A final class derived from TFTPPacket definiing the TFTP Error
packet type.
- TFTPErrorPacket(InetAddress, int, int, String) - Constructor for class com.oroinc.net.tftp.TFTPErrorPacket
-
Creates an error packet to be sent to a host at a given port
with an error code and error message.
- TFTPPacket - Class in com.oroinc.net.tftp
-
TFTPPacket is an abstract class encapsulating the functionality common
to the 5 types of TFTP packets.
- TFTPPacketException - Exception in com.oroinc.net.tftp
-
A class used to signify the occurrence of an error in the creation of
a TFTP packet.
- TFTPPacketException() - Constructor for exception com.oroinc.net.tftp.TFTPPacketException
-
Simply calls the corresponding constructor of its superclass.
- TFTPPacketException(String) - Constructor for exception com.oroinc.net.tftp.TFTPPacketException
-
Simply calls the corresponding constructor of its superclass.
- TFTPReadRequestPacket - Class in com.oroinc.net.tftp
-
A class derived from TFTPRequestPacket definiing a TFTP read request
packet type.
- TFTPReadRequestPacket(InetAddress, int, String, int) - Constructor for class com.oroinc.net.tftp.TFTPReadRequestPacket
-
Creates a read request packet to be sent to a host at a
given port with a filename and transfer mode request.
- TFTPRequestPacket - Class in com.oroinc.net.tftp
-
An abstract class derived from TFTPPacket definiing a TFTP Request
packet type.
- TFTPWriteRequestPacket - Class in com.oroinc.net.tftp
-
A class derived from TFTPRequestPacket definiing a TFTP write request
packet type.
- TFTPWriteRequestPacket(InetAddress, int, String, int) - Constructor for class com.oroinc.net.tftp.TFTPWriteRequestPacket
-
Creates a write request packet to be sent to a host at a
given port with a filename and transfer mode request.
- TimeTCPClient - Class in com.oroinc.net
-
The TimeTCPClient class is a TCP implementation of a client for the
Time protocol described in RFC 868.
- TimeTCPClient() - Constructor for class com.oroinc.net.TimeTCPClient
-
The default TimeTCPClient constructor.
- TimeUDPClient - Class in com.oroinc.net
-
The TimeUDPClient class is a UDP implementation of a client for the
Time protocol described in RFC 868.
- TimeUDPClient() - Constructor for class com.oroinc.net.TimeUDPClient
-
- TIMING_MARK - Static variable in class com.oroinc.net.telnet.TelnetOption
-
- ToNetASCIIInputStream - Class in com.oroinc.io
-
This class wraps an input stream, replacing all singly occurring
<LF> (linefeed) characters with <CR><LF> (carriage return
followed by linefeed), which is the NETASCII standard for representing
a newline.
- ToNetASCIIInputStream(InputStream) - Constructor for class com.oroinc.io.ToNetASCIIInputStream
-
Creates a ToNetASCIIInputStream instance that wraps an existing
InputStream.
- ToNetASCIIOutputStream - Class in com.oroinc.io
-
This class wraps an output stream, replacing all singly occurring
<LF> (linefeed) characters with <CR><LF> (carriage return
followed by linefeed), which is the NETASCII standard for representing
a newline.
- ToNetASCIIOutputStream(OutputStream) - Constructor for class com.oroinc.io.ToNetASCIIOutputStream
-
Creates a ToNetASCIIOutputStream instance that wraps an existing
OutputStream.
- TOP - Static variable in class com.oroinc.net.pop3.POP3Command
-
Retrieve top number lines from message.
- toString() - Method in class com.oroinc.net.ftp.FTPFile
-
Returns a string representation of the FTPFile information.
- toString() - Method in class com.oroinc.net.nntp.SimpleNNTPHeader
-
Converts the SimpleNNTPHeader to a properly formatted header in
the form of a String, including the blank line used to separate
the header from the article body.
- toString() - Method in class com.oroinc.net.smtp.RelayPath
-
Return the properly formatted string representation of the relay path.
- toString() - Method in class com.oroinc.net.smtp.SimpleSMTPHeader
-
Converts the SimpleSMTPHeader to a properly formatted header in
the form of a String, including the blank line used to separate
the header from the article body.
- TRANSACTION_FAILED - Static variable in class com.oroinc.net.smtp.SMTPReply
-
- TRANSACTION_STATE - Static variable in class com.oroinc.net.pop3.POP3
-
A constant representing the POP3 transaction state.
- TRANSFER_ABORTED - Static variable in class com.oroinc.net.ftp.FTPReply
-
- TRANSFER_FAILED - Static variable in class com.oroinc.net.nntp.NNTPReply
-
- TRANSFER_MODE - Static variable in class com.oroinc.net.ftp.FTPCommand
-
- turn() - Method in class com.oroinc.net.smtp.SMTP
-
A convenience method to send the SMTP TURN command to the server,
receive the reply, and return the reply code.
- TURN - Static variable in class com.oroinc.net.smtp.SMTPCommand
-
- type(int) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP TYPE command to the server,
receive the reply, and return the reply code.
- type(int, int) - Method in class com.oroinc.net.ftp.FTP
-
A convenience method to send the FTP TYPE command for text files
to the server, receive the reply, and return the reply code.
- TYPE - Static variable in class com.oroinc.net.ftp.FTPCommand
-