|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.malowa.greylister.SMTPInformation
public class SMTPInformation
Provides information from the SMTP dialog of a client.
Constructor Summary | |
---|---|
SMTPInformation(java.lang.String sender,
java.lang.String recipient,
java.lang.String ip,
java.lang.String hostname,
java.lang.String helo)
Constructs a SMTPInformation consisting of following
information: |
Method Summary | |
---|---|
java.lang.String |
getClientHost()
Gets the name of the client. |
java.lang.String |
getClientIP()
Gets the IPv4 address of the requesting client |
java.lang.String |
getClientIP3Byte()
Return the first 3 byte from the IP of the requesting client including the dots. |
java.lang.String |
getHelo()
Returns the string a sender provided for EHLO or HELO during SMTP dialog. |
java.lang.String |
getRecipient()
Gets the mail address of the origination recipient. |
java.lang.String |
getRecipientDomain()
Gets the domain part of the recipient's mail address. |
java.lang.String |
getSender()
Gets the mail address of the sender |
java.lang.String |
getSenderDomain()
Gets the domain part of the sender's mail address. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SMTPInformation(java.lang.String sender, java.lang.String recipient, java.lang.String ip, java.lang.String hostname, java.lang.String helo)
SMTPInformation
consisting of following
information:
sender
- sender's mail address (MAIL FROM)recipient
- recipient's mail address (RCPT TO)ip
- client's IPhostname
- client's host namehelo
- provided EHLO/HELOMethod Detail |
---|
public java.lang.String getClientIP()
public java.lang.String getSender()
public java.lang.String getRecipient()
public java.lang.String getHelo()
public java.lang.String getSenderDomain()
public java.lang.String getRecipientDomain()
public java.lang.String getClientHost()
unknown
if the real host name could not be retrieved.
public java.lang.String getClientIP3Byte()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |