com.hubspot.chrome.devtools.client.core.network.WebSocketClosedEvent Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.network;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;
/**
* Fired when WebSocket is closed.
*/
public final class WebSocketClosedEvent extends Event {
private RequestId requestId;
private MonotonicTime timestamp;
@JsonCreator
public WebSocketClosedEvent(@JsonProperty("requestId") RequestId requestId,
@JsonProperty("timestamp") MonotonicTime timestamp) {
this.requestId = requestId;
this.timestamp = timestamp;
}
public RequestId getRequestId() {
return requestId;
}
public MonotonicTime getTimestamp() {
return timestamp;
}
}