Signed-off-by: guotao <guotao76@huawei.com>
This commit is contained in:
guotao 2024-02-05 19:37:33 +08:00
parent 4bafaf2eee
commit da741245a6

View File

@ -18,27 +18,7 @@ import commonEvent from '@ohos.commonEventManager';
import Stub from '../../../../../../../../../../testtools/disjsTest/server/service.js'
// class StubTest extends rpc.RemoteObject {
// constructor(descriptor) {
// super(descriptor);
// }
// onRemoteRequest(code, data, reply, option) {
// console.info("onRemoteRequest: " + code)
// let tmp1 = data.readInt()
// let tmp2 = data.readInt()
// let tmp3 = tmp1 + tmp2;
// let result = reply.writeInt(tmp3)
// console.info("The server's writeInt result is " + result);
// commonEvent.publish("DmsFwkService_RemoteObject", {
// parameters:{
// "msg":"receiveMessage = " + tmp1
// }
// }, (err, data) => {
// console.info("DmsFwkService_ConnectAbility onCreate");
// });
// return true
// }
// }
export default class ServiceAbility extends UIAbility {
onCreate(want) {
// Called to return a FormBindingData object.