summaryrefslogtreecommitdiffstats
path: root/Dozentenmodulserver/src/server/ServerInterface.java
blob: 49d7adb92a620668361069f778dad0ec4b7c68d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package server;
import java.rmi.*;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;

import Models.User;

public interface ServerInterface extends Remote
{
        public User getFtpUser() throws RemoteException;
        public int DeleteFtpUser(String user) throws RemoteException;
        public ArrayList<String> getImages() throws RemoteException;
        public String getPathOfImage(String name) throws RemoteException;
        public boolean writeVLdata(String imagename, String firstname, String lastname,String university, String Mail, String Tel, String Fak, boolean license, boolean internet, int ram, int cpu) throws RemoteException;
        public List<Object[]> getImageList() throws RemoteException;
        public List<String> getAllOS() throws RemoteException;
}