public void connected(){
  final String methodName="connected";
  log.fine(CLASS_NAME,methodName,"631");
  this.connected=true;
  pingSender.start();
}

public void connected ( ) { final String methodName = "connected" ; log . fine ( CLASS_NAME , methodName , "631" ) ; this . connected = true ; pingSender . start ( ) ; }
called when the client has successfully connected to the broker
