private void serverClientMessage() throws Exception {
  Ignite ignite=grid(SERVER_NODE_IDX);
  ClusterGroup grp=ignite.cluster().forClients();
  assert grp.nodes().size() > 0;
  registerListenerAndSendMessages(ignite,grp);
}

private void serverClientMessage ( ) throws Exception { Ignite ignite = grid ( SERVER_NODE_IDX ) ; ClusterGroup grp = ignite . cluster ( ) . forClients ( ) ; assert grp . nodes ( ) . size ( ) > 0 ; registerListenerAndSendMessages ( ignite , grp ) ; }
server sends a message and client receives it .
