blob: 1171258faa725802fbda2c6be4179a0b782ab08a [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file was auto-generated by the vanadium vdl tool.
var vdl = require('vanadium').vdl;
module.exports = {};
// Types:
var _type1 = new vdl.Type();
_type1.kind = vdl.kind.LIST;
_type1.name = "";
_type1.elem = vdl.types.BYTE;
_type1.freeze();
// Consts:
// Errors:
// Services:
function Viewer(){}
module.exports.Viewer = Viewer;
Viewer.prototype.pipe = function(ctx, serverCall) {
throw new Error('Method Pipe not implemented');
};
Viewer.prototype._serviceDescription = {
name: 'Viewer',
pkgPath: 'v.io/x/p2b/vdl',
doc: "// Viewer allows clients to stream data to it and to request a\n// particular viewer to format and display the data.",
embeds: [],
methods: [
{
name: 'Pipe',
doc: "// Pipe creates a bidirectional pipe between client and viewer\n// service, returns total number of bytes received by the service\n// after streaming ends",
inArgs: [],
outArgs: [{
name: '',
doc: "",
type: vdl.types.ANY
},
],
inStream: {
name: '',
doc: '',
type: _type1
},
outStream: null,
tags: []
},
]
};