/*
 * $RCSfile: AbstractServer.java,v $
 * $Date: 2006/01/26 14:48:59 $
 * $Revision: 1.1.2.2 $
 * $Author: andreys $
 */
 
/*
 * Copyright (c) 2002-2003 IST-2004-2006-511731 ModelWare - ModelBus.
 * All rights reserved.
 *
 * This software is published under the terms of the ModelBus Software License
 * in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * A copy of ModelBus Software License is provided with this distribution in
 * doc/LICENSE.txt file.
 */
 
/*
 * AbstractServer.java Add description 
 * 
 * @author Prawee Sriplakich
 * @version $Revision: 1.1.2.2 $ $Date: 2006/01/26 14:48:59 $
 * @see Add references
 *
 * TODO Add description
 * TODO Add references
 */
package org.eclipse.mddi.modelbus.adapter.infrastructure.transport.server;

import org.eclipse.mddi.modelbus.adapter.infrastructure.transport.server.ws.EndPointManager;

public interface AbstractServer {
    
    /**
     * 
     * deploy ModelBus on the server.
     * This method can be called several times. 
     * The effect of redundant invocations shoud be ignored.
     * 
     * @param port
     * @param context the begining part of the URL path. 
     *  Must begin without "/"
     *  
     * @param endPointManager
     * 
     *
     */
    public void setEndPointManager(EndPointManager endPointManager);
    
    
    public int getPort();
    
    public String getContext();
}
