public interface InboundInvocationHandler
Transport
receives a command from other node
or site.Modifier and Type | Method and Description |
---|---|
void |
handleFromCluster(Address origin,
ReplicableCommand command,
Reply reply,
DeliverOrder order)
Handles the
ReplicableCommand from other node belonging to local site. |
void |
handleFromRemoteSite(String origin,
XSiteReplicateCommand command,
Reply reply,
DeliverOrder order)
Handles the
ReplicableCommand from remote site. |
void handleFromCluster(Address origin, ReplicableCommand command, Reply reply, DeliverOrder order)
ReplicableCommand
from other node belonging to local site.origin
- the sender Address
command
- the ReplicableCommand
to handlerreply
- the return value is passed to this object in order to be sent back to the originorder
- the DeliverOrder
in which the command was sentvoid handleFromRemoteSite(String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)
ReplicableCommand
from remote site.origin
- the sender sitecommand
- the ReplicableCommand
to handlereply
- the return value is passed to this object in order to be sent back to the originorder
- the DeliverOrder
in which the command was sentCopyright © 2021 JBoss by Red Hat. All rights reserved.