public class SmtpResponse
extends java.lang.Object
| Constructor and Description |
|---|
SmtpResponse(int code,
java.lang.String message,
SmtpState next)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get the response code.
|
java.lang.String |
getMessage()
Get the response message.
|
SmtpState |
getNextState()
Get the next SMTP server state.
|
public SmtpResponse(int code,
java.lang.String message,
SmtpState next)
code - response codemessage - response messagenext - next state of the SMTP serverpublic int getCode()
public java.lang.String getMessage()
public SmtpState getNextState()