1 11 package org.eclipse.jdi.internal.connect; 12 13 14 import java.io.IOException ; 15 import java.io.InputStream ; 16 import java.io.OutputStream ; 17 18 import com.sun.jdi.connect.Transport; 19 20 26 public abstract class TransportImpl implements Transport { 27 28 private String fName; 29 30 33 public TransportImpl(String name) { 34 fName = name; 35 } 36 37 40 public String name() { 41 return fName; 42 } 43 44 47 public abstract boolean isOpen(); 48 49 52 public abstract void close(); 53 54 57 public abstract InputStream getInputStream() throws IOException ; 58 59 62 public abstract OutputStream getOutputStream() throws IOException ; 63 } 64 | Popular Tags |