public class InboundMessageNotification extends Object implements OnmsInboundMessageNotification
InboundMessageNotification class.
Constructor and Description |
---|
InboundMessageNotification()
Constructor for InboundMessageNotification.
|
InboundMessageNotification(List<OnmsInboundMessageNotification> listeners)
Constructor for InboundMessageNotification.
|
Modifier and Type | Method and Description |
---|---|
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
|
public InboundMessageNotification()
Constructor for InboundMessageNotification.
public InboundMessageNotification(List<OnmsInboundMessageNotification> listeners)
Constructor for InboundMessageNotification.
listeners
- a List
object.public Collection<OnmsInboundMessageNotification> getListeners()
getListeners
Collection
object.public void process(org.smslib.AGateway gateway, org.smslib.Message.MessageTypes msgType, org.smslib.InboundMessage msg)
process
process
in interface OnmsInboundMessageNotification
gateway
- a AGateway
object.msgType
- a Message.MessageTypes
object.msg
- a InboundMessage
object.public void setListenerList(List<OnmsInboundMessageNotification> listeners)
setListenerList
listeners
- a List
object.public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
applicationContext
- a ApplicationContext
object.org.springframework.beans.BeansException
- if any.Copyright © 2015. All Rights Reserved.