use of org.apache.ignite.raft.jraft.core.NodeImpl in project ignite-3 by apache.
the class TestUtils method sender.
/**
* Returns a message sender for this node.
*
* @param node The node.
* @return The message sender.
*/
public static RpcClientEx sender(Node node) {
NodeImpl node0 = (NodeImpl) node;
DefaultRaftClientService rpcService = (DefaultRaftClientService) node0.getRpcClientService();
return (RpcClientEx) rpcService.getRpcClient();
}
Aggregations