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>

public class WelcomeMessageHandler
extends java.lang.Object
implements ConnectHandler<SMTPSession>

This ConnectHandler print the greeting on connecting


Constructor Summary
WelcomeMessageHandler()
           
 
Method Summary
protected  java.lang.String getProductName()
           
 void 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 void onConnect(SMTPSession session)
Specified by:
onConnect in interface ConnectHandler<SMTPSession>
See Also:
org.apache.james.smtpserver.protocol.ConnectHandler#onConnect(SMTPSession)

getProductName

protected java.lang.String getProductName()


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.