1 22 package org.netbeans.lib.cvsclient.connection; 23 24 import java.io.*; 25 26 import org.netbeans.lib.cvsclient.command.CommandAbortedException; 27 import org.netbeans.lib.cvsclient.util.*; 28 29 38 public interface Connection { 39 43 LoggedDataInputStream getInputStream(); 44 45 49 LoggedDataOutputStream getOutputStream(); 50 51 60 void open() throws AuthenticationException, CommandAbortedException; 61 62 68 void verify() throws AuthenticationException; 69 70 73 void close() throws IOException; 74 75 78 boolean isOpen(); 79 80 83 String getRepository(); 84 85 89 int getPort(); 90 91 96 void modifyInputStream(ConnectionModifier modifier) throws IOException; 97 98 103 void modifyOutputStream(ConnectionModifier modifier) throws IOException; 104 } 105 | Popular Tags |