org.andromda.core.server
Class DefaultClient

java.lang.Object
  extended by org.andromda.core.server.DefaultClient
All Implemented Interfaces:
Client

public class DefaultClient
extends java.lang.Object
implements Client

The default AndroMDA Client instance.

Author:
Chad Brandon

Constructor Summary
DefaultClient()
           
 
Method Summary
 void start(Configuration configuration)
          Connects to and starts an AndroMDA server with the given configuration.
 void stop(Configuration configuration)
          Connects to and stops an AndroMDA server with the given configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClient

public DefaultClient()
Method Detail

start

public void start(Configuration configuration)
           throws java.net.ConnectException
Description copied from interface: Client
Connects to and starts an AndroMDA server with the given configuration.

Specified by:
start in interface Client
Parameters:
configuration - the AndroMDA configuration instance.
Throws:
java.net.ConnectException - if the client can not connect to an AndroMDA server instance.
See Also:
Client.start(org.andromda.core.configuration.Configuration)

stop

public void stop(Configuration configuration)
          throws java.net.ConnectException
Description copied from interface: Client
Connects to and stops an AndroMDA server with the given configuration.

Specified by:
stop in interface Client
Parameters:
configuration - the AndroMDA configuration instance.
Throws:
java.net.ConnectException - if the client can not connect to an AndroMDA server instance.
See Also:
Client.stop(org.andromda.core.configuration.Configuration)


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.