1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
package org.mule.transport.email; |
8 | |
|
9 | |
import org.mule.api.MuleContext; |
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
public class ImapsConnector extends AbstractTlsRetrieveMailConnector |
15 | |
{ |
16 | |
|
17 | |
public static final String IMAPS = "imaps"; |
18 | |
public static final int DEFAULT_IMAPS_PORT = 993; |
19 | |
|
20 | |
public ImapsConnector(MuleContext context) |
21 | |
{ |
22 | 0 | super(DEFAULT_IMAPS_PORT, ImapsSocketFactory.MULE_IMAPS_NAMESPACE, ImapsSocketFactory.class, context); |
23 | 0 | } |
24 | |
|
25 | |
public String getProtocol() |
26 | |
{ |
27 | 0 | return IMAPS; |
28 | |
} |
29 | |
|
30 | |
public String getBaseProtocol() |
31 | |
{ |
32 | 0 | return ImapConnector.IMAP; |
33 | |
} |
34 | |
|
35 | |
} |