bwLehrpool Masterserver
Manages authentication and sharing of virtual machines between participating institutions
|
API Server This is where all the requests from the outside arrive. More...
API Server This is where all the requests from the outside arrive.
We don't handle them directly in the Thrift handlers, as we might be adding other APIs later, like JSON/SOAP/REST/HTTP/XML or some other stuff. They'd all just interface with this static class here. Note that we use the exceptions from the thrift interface that you can simply catch in any other API handler and eg. transform into error codes, if the API doesn't support exceptions.
This will be accessed from multiple threads, so use synchronization when needed (or in doubt)
Definition at line 15 of file ApiServer.java.