package de.ivu.elect.business.security.control;

import java.io.Serializable;

import de.ivu.elect.business.benutzerverwaltung.entity.BenutzerPK;
import de.ivu.elect.jee.security.IpHostname;

public class NlAirGapClientStatus implements Serializable {

  private static final long serialVersionUID = 1L;

  private final IpHostname clientIp;

  private final BenutzerPK clientUser;

  private final String sessionId;

  public NlAirGapClientStatus(IpHostname clientIp, BenutzerPK clientUser, String sessionId) {
    this.clientIp = clientIp;
    this.clientUser = clientUser;
    this.sessionId = sessionId;
  }

  public IpHostname getClientIp() {
    return clientIp;
  }

  public BenutzerPK getClientUser() {
    return clientUser;
  }

  public String getSessionId() {
    return sessionId;
  }

  @Override
  public String toString() {
    return "NlAirGapClientStatus{" +
        "clientIp=" + clientIp +
        ", clientUser=" + clientUser +
        ", sessionId='" + sessionId + '\'' +
        '}';
  }
}
