org.headlessintrace.client.connection.command.AbstractDefaultCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of headlessInTraceClient Show documentation
Show all versions of headlessInTraceClient Show documentation
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.
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