diff options
Diffstat (limited to 'ingen/ServerInterface.hpp')
-rw-r--r-- | ingen/ServerInterface.hpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ingen/ServerInterface.hpp b/ingen/ServerInterface.hpp index 25016416..dade9658 100644 --- a/ingen/ServerInterface.hpp +++ b/ingen/ServerInterface.hpp @@ -36,13 +36,10 @@ class ServerInterface : public CommonInterface public: virtual ~ServerInterface() {} - // Responses - virtual void respond_to(ClientInterface* client, int32_t id) = 0; - virtual void disable_responses() = 0; - - // Client registration - virtual void register_client(ClientInterface* client) = 0; - virtual void unregister_client(const Raul::URI& uri) = 0; + /** Set the ID to use to respond to the next message. + * Setting the ID to -1 will disable responses. + */ + virtual void set_response_id(int32_t id) = 0; // Requests virtual void ping() = 0; |