@Override public boolean connectionAllowed(String eventName){
  if (eventName.compareTo("dataSet") == 0 && (m_dataProvider != null)) {
    return false;
  }
  return true;
}

@ Override public boolean connectionAllowed ( String eventName ) { if ( eventName . compareTo ( "dataSet" ) == 0 && ( m_dataProvider != null ) ) { return false ; } return true ; }
returns true if , at this time , the object will accept a connection according to the supplied event name
