Package de.hybris.platform.cluster
Class LoopBackBroadcastMethod
- java.lang.Object
-
- de.hybris.platform.cluster.AbstractBroadcastMethod
-
- de.hybris.platform.cluster.LoopBackBroadcastMethod
-
- All Implemented Interfaces:
BroadcastMethod
public class LoopBackBroadcastMethod extends AbstractBroadcastMethod
Broadcast method which directly sends all sent messages to its listeners. No actual network traffic is being initiated.
-
-
Constructor Summary
Constructors Constructor Description LoopBackBroadcastMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(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
-
-
-
-
Method Detail
-
init
public void init(BroadcastService service)
Description copied from interface:BroadcastMethodCalled once when the messaging method has been registered- Specified by:
initin interfaceBroadcastMethod- Overrides:
initin classAbstractBroadcastMethod
-
send
public void send(RawMessage message)
Directly sends message back to listeners.
-
-