View Javadoc

1   package net.sf.crispy.impl;
2   
3   
4   /**
5    * For every client exist a server. To simulate the client call, you can implement a "MiniServer".
6    * So you can test your client.
7    * 
8    * @author Linke
9    *
10   */
11  public interface MiniServer {
12  
13  	/** Start the Server. */
14  	public void start();
15  	
16  	/** Stop the Server. */
17  	public void stop();
18  	
19  	/** 
20  	 * Add services to the server
21  	 * 
22  	 * @param pvServiceInterface Interface of the service.
23  	 * @param pvServiceObject Implementation of the service.
24  	 * 
25  	 */
26  	public void addService (String pvServiceInterface, String pvServiceObject);
27  }