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

org.headlessintrace.client.connection.command.AbstractDefaultCommand 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.command;

import org.headlessintrace.client.gui.helper.ControlConnectionThread;

public abstract class AbstractDefaultCommand implements IAgentCommand {

	private ControlConnectionThread m_controlConnectionThread = null;
	
	@Override
	public void setControlConnectionThread(ControlConnectionThread cct) {
		m_controlConnectionThread = cct;
	}

	@Override
	public ControlConnectionThread getControlConnectionThread() {
		return m_controlConnectionThread;
	}
	
	public abstract String getMessage();
	
	public void send() {
		this.getControlConnectionThread().sendMessage(this.getMessage());
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy