Commit c4a82fcd authored by Florian Fittkau's avatar Florian Fittkau

...

parent 99ce2ca5
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/monitored-application/test/explorviz/monitoring/main/MonitoringStarter.java"/>
<listEntry value="/monitoring/test/explorviz/monitoring/main/MonitoringStarter.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
......@@ -10,6 +10,6 @@
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="explorviz.monitoring.main.MonitoringStarter"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="monitored-application"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:lib/aspectjweaver-1.8.5.jar -Xmx4G -Dexplorviz.live_trace_processing.continous_monitoring_enabled=true -Dexplorviz.live_trace_processing.writer_target_port=10133"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="monitoring"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:lib/aspectjweaver-1.8.5.jar -Xmx4G -Dexplorviz.live_trace_processing.continous_monitoring_enabled=true -Dexplorviz.live_trace_processing.writer_target_port=10133 -Dexplorviz.live_trace_processing.host_name=XXX"/>
</launchConfiguration>
......@@ -19,7 +19,7 @@ import explorviz.live_trace_processing.main.MonitoringStringRegistry;
import explorviz.live_trace_processing.record.trace.HostApplicationMetaDataRecord;
public class TCPWriter implements IPipeReceiver<ByteBufferEvent>, IWriter,
EventHandler<ByteBufferEvent> {
EventHandler<ByteBufferEvent> {
private URL providerURL;
......@@ -235,4 +235,9 @@ public class TCPWriter implements IPipeReceiver<ByteBufferEvent>, IWriter,
throws Exception {
processRecord(arg0);
}
@Override
public boolean isDisconnected() {
return (socketChannel != null) && !socketChannel.isConnected();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment