public class MessageProcessor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.sql.Connection |
con |
protected static java.util.regex.Pattern |
macroPattern |
| Constructor and Description |
|---|
MessageProcessor(java.sql.Connection con) |
| Modifier and Type | Method and Description |
|---|---|
protected ru.bitel.bgbilling.plugins.dispatch.server.bean.MessageProcessor.ProcessResult |
processMacro(java.lang.String messageBody,
Subscription sub) |
void |
send(Dispatch dispatch,
java.util.List<Subscription> subs,
DispatchMessage message,
DispatchService ws)
Отправляем сообщение (приходят сюда по очереди, если несколько) рассылки для всех подписчиков.
|
protected java.sql.Connection con
protected static final java.util.regex.Pattern macroPattern
protected final ru.bitel.bgbilling.plugins.dispatch.server.bean.MessageProcessor.ProcessResult processMacro(java.lang.String messageBody,
Subscription sub)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic final void send(Dispatch dispatch, java.util.List<Subscription> subs, DispatchMessage message, DispatchService ws) throws ru.bitel.bgbilling.common.BGException
dispatch - рассылкаsubs - список подписокmessage - сообщениеws - ru.bitel.bgbilling.common.BGException