com.nepxion.discovery.plugin.framework.event.RegisterFailureEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discovery-plugin-framework-starter Show documentation
Show all versions of discovery-plugin-framework-starter Show documentation
Nepxion Discovery is a solution for Spring Cloud with blue green, gray, weight, limitation, circuit breaker, degrade, isolation, monitor, tracing, dye, failover, async agent
The newest version!
package com.nepxion.discovery.plugin.framework.event;
/**
* Title: Nepxion Discovery
* Description: Nepxion Discovery
* Copyright: Copyright (c) 2017-2050
* Company: Nepxion
* @author Haojun Ren
* @version 1.0
*/
import java.io.Serializable;
public class RegisterFailureEvent implements Serializable {
private static final long serialVersionUID = -1343084923958294246L;
private String eventType;
private String eventDescription;
private String serviceId;
private String host;
private int port;
public RegisterFailureEvent(String eventType, String eventDescription, String serviceId, String host, int port) {
this.eventType = eventType;
this.eventDescription = eventDescription;
this.serviceId = serviceId;
this.host = host;
this.port = port;
}
public String getEventType() {
return eventType;
}
public String getEventDescription() {
return eventDescription;
}
public String getServiceId() {
return serviceId;
}
public String getHost() {
return host;
}
public int getPort() {
return port;
}
}