Serialized Form


Package com.lamatek.protobeans

Class com.lamatek.protobeans.FTPBean extends java.lang.Object implements Serializable

Serialized Fields

ftpSocket

java.net.Socket ftpSocket
The socket used for client/server communication.


dataSocket

java.net.Socket dataSocket
The socket used for file transfer. This socket is located using the getDataSocket() method during FTPBean initialization.


output

java.io.PrintStream output
The OutputStream used to send commands to the FTP Server.


input

java.io.BufferedReader input
The InputStream used to read FTP Server responses.


dataStream

java.io.OutputStream dataStream
The OutputStream used to write files to the FTP Server.


lastreply

java.lang.String lastreply
The last reponse received from the FTP Server.


login_status

boolean login_status
boolean that holds login status.


verbose

boolean verbose
boolean that holds verbose status. Setting this to true will send all FTP commands and responses to System.out

Class com.lamatek.protobeans.FTPException extends java.lang.Exception implements Serializable

Serialized Fields

message

java.lang.String message
Contains the error message associated with this Exception.

Class com.lamatek.protobeans.SMTPBean extends java.lang.Object implements Serializable

Serialized Fields

smtp

java.net.Socket smtp
The socket used to send email transmissions.


input

java.io.BufferedReader input
The input stream used to read server repsonses.


output

java.io.PrintStream output
The output stream used to send commands and data.


host

java.lang.String host
The host from which the mail is sent.


lastreply

java.lang.String lastreply
The last reply received from the server after command submission. Useful when receiving an SMTPException, to see the actual error error response from the server.

See Also:
getLastResponse

Class com.lamatek.protobeans.SMTPException extends java.lang.Exception implements Serializable

Serialized Fields

message

java.lang.String message
Contains the message associated with this error