@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
25 lines (23 loc) • 759 B
JavaScript
import { RpcSubjectServer } from '../rpc-subject-server';
import { RpcForwardUpKey } from './rpc-forward-model';
/**
* The class to implement forward up with Subject server.
*/
export class RpcForwardUpSubjectServer extends RpcSubjectServer {
/**
* Initializes a new instance of the RpcForwardUpSubjectServer class.
*/
constructor(rpc) {
super(rpc, RpcForwardUpKey.command);
}
/**
* The handler to respond a request for RpcAzureRequest call.
*
* @param data The RPC azure operation object.
* @returns return the Promise<void> object.
*/
handler(data) {
return this.processNextForSubject(RpcForwardUpKey.command, data);
}
}
//# sourceMappingURL=rpc-forward-up-subject-server.js.map