code: public synchronized EventAgent getEventAgent() {
      if (this.eventAgent == null) {
        if (isService) {
          this.eventAgent =
              new EventAgent(
                  this.serviceName,
                  this.projectId,
                  this.sslEnabled,
                  this.nfvoIp,
                  this.nfvoPort,
                  this.version,
                  this.serviceKey);
        } else {
          this.eventAgent =
              new EventAgent(
                  this.username,
                  this.password,
                  this.projectId,
                  this.sslEnabled,
                  this.nfvoIp,
                  this.nfvoPort,
                  this.version);
        }
      }
      return this.eventAgent;
    }
docs: Returns an EventAgent with which requests regarding Events can be sent to the NFVO.
  
  @return an EventAgent