code: private void deliverSyncCommand(byte command) {
          for (final SyncListener listener : getSyncListeners()) {
              try {
                  switch (command) {
  
                      case 0x01:
                          listener.becomeMaster();
  
                      case 0x10:
                         listener.setSyncMode(true);
                         break;
  
                      case 0x20:
                          listener.setSyncMode(false);
                          break;
  
                  }
              } catch (Throwable t) {
                  logger.warn("Problem delivering sync command to listener", t);
              }
          }
      }
docs: Send a sync command to all registered listeners.
  
  @param command the byte which identifies the type of sync command we received