Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Pop3Connector |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.transport.email; | |
8 | ||
9 | import org.mule.api.MuleContext; | |
10 | ||
11 | ||
12 | /** | |
13 | * <code>Pop3Connector</code> is used to connect and receive mail from a POP3 | |
14 | * mailbox. | |
15 | */ | |
16 | public class Pop3Connector extends AbstractRetrieveMailConnector | |
17 | { | |
18 | ||
19 | public static final String POP3 = "pop3"; | |
20 | public static final int DEFAULT_POP3_PORT = 110; | |
21 | ||
22 | public Pop3Connector(MuleContext context) | |
23 | { | |
24 | 0 | super(DEFAULT_POP3_PORT, context); |
25 | 0 | } |
26 | ||
27 | public String getProtocol() | |
28 | { | |
29 | 0 | return POP3; |
30 | } | |
31 | ||
32 | } |