Class SMTPListener
- java.lang.Object
-
- org.silverpeas.core.notification.user.server.channel.AbstractListener
-
- org.silverpeas.core.notification.user.server.channel.smtp.SMTPListener
-
- All Implemented Interfaces:
javax.jms.MessageListener
,INotificationServerChannel
public class SMTPListener extends AbstractListener implements javax.jms.MessageListener
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.notification.user.server.channel.AbstractListener
channel, payLoad
-
-
Constructor Summary
Constructors Constructor Description SMTPListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onMessage(javax.jms.Message msg)
listener of NotificationServer JMS messagevoid
send(NotificationData notification)
Method declaration-
Methods inherited from class org.silverpeas.core.notification.user.server.channel.AbstractListener
processMessage
-
-
-
-
Method Detail
-
onMessage
public void onMessage(javax.jms.Message msg)
listener of NotificationServer JMS message- Specified by:
onMessage
in interfacejavax.jms.MessageListener
- Parameters:
msg
- the message received
-
send
public void send(NotificationData notification) throws NotificationServerException
Description copied from interface:INotificationServerChannel
Method declaration- Specified by:
send
in interfaceINotificationServerChannel
- Throws:
NotificationServerException
-
-