Interface InboundInvocationHandler
-
- All Known Implementing Classes:
GlobalInboundInvocationHandler
public interface InboundInvocationHandler
Interface to invoke when theTransport
receives 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 void
handleFromCluster(Address origin, org.infinispan.commands.ReplicableCommand command, Reply reply, DeliverOrder order)
Handles theReplicableCommand
from other node belonging to local site.void
handleFromRemoteSite(java.lang.String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)
Handles theReplicableCommand
from remote site.
-
-
-
Method Detail
-
handleFromCluster
void handleFromCluster(Address origin, org.infinispan.commands.ReplicableCommand command, Reply reply, DeliverOrder order)
Handles theReplicableCommand
from other node belonging to local site.- Parameters:
origin
- the senderAddress
command
- theReplicableCommand
to handlerreply
- the return value is passed to this object in order to be sent back to the originorder
- theDeliverOrder
in which the command was sent
-
handleFromRemoteSite
void handleFromRemoteSite(java.lang.String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)
Handles theReplicableCommand
from remote site.- Parameters:
origin
- the sender sitecommand
- theReplicableCommand
to handlereply
- the return value is passed to this object in order to be sent back to the originorder
- theDeliverOrder
in which the command was sent
-
-