org.apache.james.protocols.smtp.core
Class WelcomeMessageHandler
java.lang.Object
org.apache.james.protocols.smtp.core.WelcomeMessageHandler
- All Implemented Interfaces:
- ConnectHandler<SMTPSession>, ProtocolHandler
public class WelcomeMessageHandler
- extends Object
- implements ConnectHandler<SMTPSession>
This ConnectHandler print the greeting on connecting
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WelcomeMessageHandler
public WelcomeMessageHandler()
onConnect
public Response onConnect(SMTPSession session)
- Specified by:
onConnect in interface ConnectHandler<SMTPSession>
- See Also:
ConnectHandler.onConnect(org.apache.james.protocols.api.ProtocolSession)
getProductName
protected String getProductName()
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.