Package de.hybris.platform.cluster
Class LoopBackBroadcastMethod
java.lang.Object
de.hybris.platform.cluster.AbstractBroadcastMethod
de.hybris.platform.cluster.LoopBackBroadcastMethod
- All Implemented Interfaces:
BroadcastMethod
Broadcast method which directly sends all sent messages to its listeners. No actual network traffic is being initiated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(BroadcastService service) Called once when the messaging method has been registeredvoidsend(RawMessage message) Directly sends message back to listeners.Methods inherited from class de.hybris.platform.cluster.AbstractBroadcastMethod
getListeners, getSettings, notifyMessgageReceived, registerProcessor, shutdown, unregisterProcessor
-
Constructor Details
-
LoopBackBroadcastMethod
public LoopBackBroadcastMethod()
-
-
Method Details
-
init
Description copied from interface:BroadcastMethodCalled once when the messaging method has been registered- Specified by:
initin interfaceBroadcastMethod- Overrides:
initin classAbstractBroadcastMethod
-
send
Directly sends message back to listeners.
-