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

org.headlessintrace.client.connection.ConnectionTimeout Maven / Gradle / Ivy

Go to download

A headless java API that collects events from other JVMs. Events=method invocations. Initial code taken from http://mchr3k.github.io/org.intrace/. Intended for building diagnostic applications.

There is a newer version: 0.0.4
Show newest version
package org.headlessintrace.client.connection;

import org.headlessintrace.client.DefaultFactory;
import org.headlessintrace.client.IntraceException;

public class ConnectionTimeout extends IntraceException {
	HostPort hostPort = null;
	long timeoutMs = -1;
	
	public ConnectionTimeout(HostPort hostPortVal, long timeoutMsVal) {
		hostPort = hostPortVal;
		timeoutMs = timeoutMsVal;
	}
	public String getMessage() {
		return DefaultFactory.getFactory().getMessages().getConnectionTimeoutMessage(timeoutMs, hostPort.hostNameOrIpAddress, hostPort.port);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy