Interface InboundInvocationHandler
-
- All Known Implementing Classes:
GlobalInboundInvocationHandler
public interface InboundInvocationHandlerInterface to invoke when theTransportreceives a command from other node or site.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleFromCluster(Address origin, org.infinispan.commands.ReplicableCommand command, Reply reply, DeliverOrder order)Handles theReplicableCommandfrom other node belonging to local site.voidhandleFromRemoteSite(String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)Handles theReplicableCommandfrom remote site.
-
-
-
Method Detail
-
handleFromCluster
void handleFromCluster(Address origin, org.infinispan.commands.ReplicableCommand command, Reply reply, DeliverOrder order)
Handles theReplicableCommandfrom other node belonging to local site.- Parameters:
origin- the senderAddresscommand- theReplicableCommandto handlerreply- the return value is passed to this object in order to be sent back to the originorder- theDeliverOrderin which the command was sent
-
handleFromRemoteSite
void handleFromRemoteSite(String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)
Handles theReplicableCommandfrom remote site.- Parameters:
origin- the sender sitecommand- theReplicableCommandto handlereply- the return value is passed to this object in order to be sent back to the originorder- theDeliverOrderin which the command was sent
-
-