/*
* Claudia Project
* http://claudia.morfeo-project.org
*
* (C) Copyright 2010 Telefonica Investigacion y Desarrollo
* S.A.Unipersonal (Telefonica I+D)
*
* See CREDITS file for info about members and contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the Affero GNU General Public License (AGPL) as
* published by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This program is distributed 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. See the
* GNU General Public License for more details.
*
* You should have received a copy of the Affero GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* If you want to use this software an plan to distribute a
* proprietary application in any way, and you are not licensing and
* distributing your source code under AGPL, you probably need to
* purchase a commercial license of the product. Please contact
* claudia-support@lists.morfeo-project.org for more information.
*/
package com.telefonica.claudia.slm.lifecyclemanager;
import java.io.Serializable;
import java.net.URL;
import java.rmi.RemoteException;
import com.telefonica.claudia.slm.eventsBus.events.SMControlEvent;
import com.telefonica.claudia.slm.naming.FQN;
/**
*
* Interface for Monitoring the Servide Data in Real Time
*/
public interface SMI extends /*Remote,*/ Serializable {
public void putEvent(SMControlEvent controlEvent) throws RemoteException;
//MonitData(serviceID) Monitoring data from the virtual hardware of VEEs is shown to the SP. This data is given through the SMI by the Event Log.
//public Vector<Event> monitData (FQN serviceID, Timestamp since) throws RemoteException;
//public OutputStream getStatus(FQN serviceID) throws RemoteException;
//public void setFrequency(FQN serviceID, long period) throws RemoteException;
//Deploy(Manifest) To deploy some service. The call will contain the Manifest document describing the service and will return a serviceID.
public FQN deploy(URL manifest);// throws RemoteException;
//Modify(serviceID) To modify the configuration of a running deployment.
public void reconfig(FQN serviceID);// throws RemoteException;
//Undeploy(serviceID) To undeploy some service.
public void undeploy(FQN serviceID);// throws RemoteException;
//public int getController (FQN remoteFqn) throws RemoteException;
// method for monitoring the status and structure of a given Service
//public ServiceApplication getApplication (FQN serviceID) throws RemoteException;
}