All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.chrome.devtools.client.core.tethering.AcceptedEvent Maven / Gradle / Ivy

There is a newer version: 94.0.4606.61
Show newest version
package com.hubspot.chrome.devtools.client.core.tethering;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;

/**
 * Informs that port was successfully bound and got a specified connection id.
 */
public final class AcceptedEvent extends Event {
  private Integer port;

  private String connectionId;

  @JsonCreator
  public AcceptedEvent(@JsonProperty("port") Integer port,
      @JsonProperty("connectionId") String connectionId) {
    this.port = port;
    this.connectionId = connectionId;
  }

  public Integer getPort() {
    return port;
  }

  public String getConnectionId() {
    return connectionId;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy