예제 #1
0
  /** {@inheritDoc} */
  @Override
  public boolean register(UUID nodeId, UUID routineId, final GridKernalContext ctx)
      throws GridException {
    ctx.io().addUserMessageListener(topic, pred);

    return true;
  }
예제 #2
0
 /** {@inheritDoc} */
 @Override
 public void unregister(UUID routineId, GridKernalContext ctx) {
   ctx.io().removeUserMessageListener(topic, pred);
 }