org.opennms.sms.reflector.smsservice.internal
Class InboundMessageNotification

java.lang.Object
  extended by org.opennms.sms.reflector.smsservice.internal.InboundMessageNotification
All Implemented Interfaces:
OnmsInboundMessageNotification

public class InboundMessageNotification
extends Object
implements OnmsInboundMessageNotification

InboundMessageNotification class.

Version:
$Id: $
Author:
ranger

Constructor Summary
InboundMessageNotification()
          Constructor for InboundMessageNotification.
InboundMessageNotification(List<OnmsInboundMessageNotification> listeners)
          Constructor for InboundMessageNotification.
 
Method Summary
 Collection<OnmsInboundMessageNotification> getListeners()
          getListeners
 void process(org.smslib.AGateway gateway, org.smslib.Message.MessageTypes msgType, org.smslib.InboundMessage msg)
          process
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
          setApplicationContext
 void setListenerList(List<OnmsInboundMessageNotification> listeners)
          setListenerList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InboundMessageNotification

public InboundMessageNotification()

Constructor for InboundMessageNotification.


InboundMessageNotification

public InboundMessageNotification(List<OnmsInboundMessageNotification> listeners)

Constructor for InboundMessageNotification.

Parameters:
listeners - a List object.
Method Detail

getListeners

public Collection<OnmsInboundMessageNotification> getListeners()

getListeners

Returns:
a Collection object.

process

public void process(org.smslib.AGateway gateway,
                    org.smslib.Message.MessageTypes msgType,
                    org.smslib.InboundMessage msg)

process

Specified by:
process in interface OnmsInboundMessageNotification
Parameters:
gateway - a AGateway object.
msgType - a Message.MessageTypes object.
msg - a InboundMessage object.

setListenerList

public void setListenerList(List<OnmsInboundMessageNotification> listeners)

setListenerList

Parameters:
listeners - a List object.

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException

setApplicationContext

Parameters:
applicationContext - a ApplicationContext object.
Throws:
org.springframework.beans.BeansException - if any.


Copyright © 2011. All Rights Reserved.