ServerMember update(Status status,Instant time){
  if (this.status != status) {
    this.status=Assert.notNull(status,"status");
    if (time.isAfter(updated)) {
      this.updated=Assert.notNull(time,"time");
    }
    if (statusChangeListeners != null) {
      statusChangeListeners.accept(status);
    }
  }
  return this;
}

ServerMember update ( Status status , Instant time ) { if ( this . status != status ) { this . status = Assert . notNull ( status , "status" ) ; if ( time . isAfter ( updated ) ) { this . updated = Assert . notNull ( time , "time" ) ; } if ( statusChangeListeners != null ) { statusChangeListeners . accept ( status ) ; } } return this ; }
updates the member status .
