public class MdnGateway extends Object
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
DefaultGatewayType
The gateway type for gateways to Internet Mail.
|
| Constructor and Description |
|---|
MdnGateway(String domain)
Initializes an instance with the specified
|
MdnGateway(String domain,
String type)
Initializes an instance with the specified domain and type.
|
public static final String DefaultGatewayType
public MdnGateway(String domain)
domain - The domain name of this MDN Gatewaypublic String getDomain()
public void setDomain(String domain)
domain - The gateway domain.public String getType()
public void setType(String type)
type - The gateway type.Copyright © 2010-2016 NHIN Direct. All Rights Reserved.