diff options
author | unknown | 2014-02-25 11:04:51 +0100 |
---|---|---|
committer | unknown | 2014-02-25 11:04:51 +0100 |
commit | 2a3ec0fbda66ed07adcdc968a9365096ecd54f40 (patch) | |
tree | 187af202e5a404a15c31f0915e73cb23bf5b7900 /Dozentenmodulserver/thrift | |
parent | Problem der herumspringenden Fenster entfernt (diff) | |
download | tutor-module-2a3ec0fbda66ed07adcdc968a9365096ecd54f40.tar.gz tutor-module-2a3ec0fbda66ed07adcdc968a9365096ecd54f40.tar.xz tutor-module-2a3ec0fbda66ed07adcdc968a9365096ecd54f40.zip |
Kommunikation von BwLehrpool Suite zu BwLehrpool Suite Server läuft nun über Thrift
Diffstat (limited to 'Dozentenmodulserver/thrift')
-rw-r--r-- | Dozentenmodulserver/thrift/server.thrift | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Dozentenmodulserver/thrift/server.thrift b/Dozentenmodulserver/thrift/server.thrift new file mode 100644 index 00000000..51b5fdce --- /dev/null +++ b/Dozentenmodulserver/thrift/server.thrift @@ -0,0 +1,30 @@ +/** + * Define some namespace/package name for our stuff + */ +typedef i64 int + +struct User{ + string userName, + string password, + string path, +} + +struct Image{ + string imageName, + string licenseRestriction, + string osName, + string lectureName, + string updateTime, + string userData, +} +service Server{ + User getFtpUser(), + int DeleteFtpUser(string user), + list<string> getImages(), + string getPathOfImage(string name), + bool writeVLdata(string imagename, string firstname, string lastname,string university, string Mail, string Tel, string Fak, bool license, bool internet, int ram, int cpu), + list<Image> getImageList(), + list<string> getAllOS(), + map<string,string> getPersonData(string Vorname, string Nachname), + bool writeLecturedata(string name, string shortdesc, string desc,string startDate, string endDate, bool isActive, string imagename,string firstname,string lastname, string university, string Mail, string Tel,string Fak), +}
\ No newline at end of file |