1 package net.sourceforge.phpdt.monitor.core.internal;
3 import java.net.Socket;
7 public class Connection {
11 public Connection(Socket in, Socket out) {
17 Trace.trace(Trace.FINEST, "Closing connection");
19 in.getOutputStream().flush();
23 out.getOutputStream().flush();
26 Trace.trace(Trace.FINEST, "Connection closed");
27 } catch (Exception ex) {
28 Trace.trace(Trace.WARNING, "Error closing connection " + this + " " + ex.getMessage());