// Copyright 2018 The Fuchsia Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
library fuchsia.xi.session; | |
// Interface for the proof-of-concept xi_session_manager service. | |
[Discoverable] | |
protocol XiSessionManager { | |
NewSession() -> (string session_id); | |
CloseSession(string session_id); | |
ConnectSession(string session_id, handle<socket> sock); | |
GetContents(string session_id) -> (handle<vmo> buffer); | |
}; |