org.apache.james.protocols.smtp.core
Class WelcomeMessageHandler

java.lang.Object
  extended by 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


Constructor Summary
WelcomeMessageHandler()
           
 
Method Summary
protected  String getProductName()
           
 Response onConnect(SMTPSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WelcomeMessageHandler

public WelcomeMessageHandler()
Method Detail

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.