public abstract class AbstractBroadcastMethod extends java.lang.Object implements BroadcastMethod
BroadcastMethods. Takes care of listeners.| Constructor and Description |
|---|
AbstractBroadcastMethod() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<BroadcastMessageListener> |
getListeners() |
java.util.Map<java.lang.String,java.lang.String> |
getSettings()
Provides generic access to method specific settings
|
void |
init(BroadcastService service)
Called once when the messaging method has been registered
|
protected void |
notifyMessgageReceived(RawMessage message) |
void |
registerProcessor(BroadcastMessageListener listener)
Registers a message processor to be notified upon message received.
|
void |
shutdown()
Called before system shutdown
|
void |
unregisterProcessor(BroadcastMessageListener listener)
Removes a registered message processor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendprotected java.util.List<BroadcastMessageListener> getListeners()
protected void notifyMessgageReceived(RawMessage message)
public void registerProcessor(BroadcastMessageListener listener)
BroadcastMethodregisterProcessor in interface BroadcastMethodpublic void unregisterProcessor(BroadcastMessageListener listener)
BroadcastMethodunregisterProcessor in interface BroadcastMethodpublic void init(BroadcastService service)
BroadcastMethodinit in interface BroadcastMethodpublic void shutdown()
BroadcastMethodshutdown in interface BroadcastMethodpublic java.util.Map<java.lang.String,java.lang.String> getSettings()
BroadcastMethodgetSettings in interface BroadcastMethodCopyright © 2018 SAP SE. All Rights Reserved.