View Javadoc

1   package net.sf.josceleton.connection.api;
2   
3   /**
4    * @since 0.1
5    */
6   public interface Connector {
7   	
8   	/**
9   	 * Opens a connection to the default osceleton port.
10  	 * 
11  	 * @since 0.1
12  	 */
13  	Connection openConnection();
14  	
15  	/**
16  	 * @since 0.1
17  	 */
18  	Connection openConnectionOnPort(final int port);
19  	
20  }