1   package nl.tudelft.simulation.dsol.naming;
2   
3   import nl.tudelft.simulation.naming.InitialEventContext;
4   
5   /*
6    * @(#) ClientTest.java Apr 16, 2004
7    * 
8    * Copyright (c) 2003 Delft University of Technology Jaffalaan 5, 2628 BX Delft,
9    * the Netherlands All rights reserved.
10   * 
11   * This software is proprietary information of Delft University of Technology
12   * The code is published under the General Public License
13   */
14  
15  
16  /***
17   * <p>
18   * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
19   * University of Technology </a>, the Netherlands. <br>
20   * See for project information <a
21   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
22   * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
23   * License (GPL) </a>, no warranty <br>
24   * 
25   * @author <a href="http://www.tbm.tudelft.nl/webstaf/peterja/index.htm">Peter
26   *         Jacobs </a>
27   * @version 1.2 Apr 16, 2004
28   * @since 1.4
29   */
30  public class ClientTest
31  {
32  	/***
33  	 * constructs a new ClientTest
34  	 */
35  	public ClientTest()
36  	{
37  		super();
38  	}
39  
40  	/***
41  	 * executes the client
42  	 * 
43  	 * @param args the commandline arguments
44  	 */
45  	public static void main(String[] args)
46  	{
47  		try
48  		{
49  			InitialEventContext context = new InitialEventContext();
50  			context.unbind("/test");
51  			System.out.println(context.createSubcontext("/aap"));
52  		} catch (Exception exception)
53  		{
54  			exception.printStackTrace();
55  		}
56  	}
57  }