com.global.api.gateways.events.TimeoutEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk Show documentation
Show all versions of globalpayments-sdk Show documentation
API for processing payments through Global Payments
package com.global.api.gateways.events;
public class TimeoutEvent extends GatewayEvent {
public TimeoutEvent(String connectorName, GatewayEventType eventType) {
super(connectorName, eventType);
}
public String getEventMessage() {
String rvalue = super.getEventMessage();
if(getEventType().equals(GatewayEventType.Timeout)) {
rvalue = rvalue.concat("Host did not respond on primary or secondary hosts.");
}
else {
rvalue = rvalue.concat("Host did not respond on primary host, connecting to secondary host.");
}
return rvalue;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy