|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.mail.notifications.MdnGateway
public class MdnGateway
Represents an MDN Gateway as specified by RFC 3798
From RFC 3798, 3.2.2, The MDN-Gateway field
mdn-gateway-field = "MDN-Gateway" ":" mta-name-type ";" mta-name
...
For gateways into Internet Mail, the MTA-name-type will normally be
"smtp", and the mta-name will be the Internet domain name of the
gateway.
| Field Summary | |
|---|---|
static String |
DefaultGatewayType
The gateway type for gateways to Internet Mail. |
| Constructor Summary | |
|---|---|
MdnGateway(String domain)
Initializes an instance with the specified |
|
MdnGateway(String domain,
String type)
Initializes an instance with the specified domain and type. |
|
| Method Summary | |
|---|---|
String |
getDomain()
Gets the gateway domain. |
String |
getType()
Gets the gateway type. |
void |
setDomain(String domain)
Sets the gateway domain. |
void |
setType(String type)
Sets the gateway type. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DefaultGatewayType
| Constructor Detail |
|---|
public MdnGateway(String domain)
domain - The domain name of this MDN Gateway
public MdnGateway(String domain,
String type)
domain - The domain name of this MDN Gatewaytype - The gateway type| Method Detail |
|---|
public String getDomain()
public void setDomain(String domain)
domain - The gateway domain.public String getType()
public void setType(String type)
type - The gateway type.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||