Originally hosted at : https://github.com/erlepereira/thrift-experimentation (now deleted) Have pulled in inside here, owing to recent acquisition rumors ;) Date: 4 June 2018.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
361 B

struct load {
1:i32 number=6
}
exception commandfailure {
1: string errormessage
}
struct withdraw {
1:i32 number=3
}
exception transactionfailure {
1: string errormessage
}
service atmService {
void active(),
string atmloader(1:i32 load) throws (1:commandfailure ouch);
string atmserve(1:i32 withdraw) throws (1:transactionfailure uhoh);
}