View Javadoc

1   package org.sourceforge.jemm.comm.connection;
2   
3   import java.io.InputStream;
4   import java.io.OutputStream;
5   
6   /**
7    * A abstract rpc connection.
8    *  
9    * <i><P>Released under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License V2.0 license</a> 
10   * by the <a href="http://jemm.sourceforge.net">JEMM Project</a></i>
11   *
12   * @author Rory Graves
13   */
14  public interface Connection {
15  
16  	String getConnectionName();
17  	InputStream getInputStream();
18  	OutputStream getOutputStream();
19  	void close() throws ConnectionException;
20  }