Interface InboundInvocationHandler
- All Known Implementing Classes:
GlobalInboundInvocationHandler
public interface InboundInvocationHandler
Interface to invoke when the
Transport receives a command from other node
or site.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleFromCluster(Address origin, 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 Details
-
handleFromCluster
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
-