1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
| // 绑定服务 18:45:32.446 30355-30355/D:ShowIPCActivity:: onClick: button.onClick = Bind Service 18:45:32.446 30355-30355/D:ShowIPCActivity:: bindMessengerService: 18:45:32.446 30355-30355/D:ShowIPCActivity:: bindMessengerService: Binding... 18:45:32.455 30355-30355/D:MessengerService:: onCreate: 18:45:32.455 30355-30355/D:MessengerService:: onBind: 18:45:32.457 30355-30355/D:ShowIPCActivity:: onServiceConnected: Bound! 18:45:32.457 30355-30355/D:ShowIPCActivity:: registerClient: 18:45:32.457 30355-30355/D:MessengerService:: IncomingFromClientsHandler:handleMessage: 18:45:32.457 30355-30355/D:MessengerService:: handleMessage: MSG_FROM_CLIENT_REGISTER // 下发耗时任务 1 18:45:35.196 30355-30355/D:ShowIPCActivity:: onClick: button.onClick = LongRunningWork 18:45:35.196 30355-30355/D:ShowIPCActivity:: doLongRunningWork: 18:45:35.196 30355-30355/D:ShowIPCActivity:: doLongRunningWork: data = name: eha, arrays: 1 2 3 , book.name: ddaca, book.price: 99 // 服务端接受到耗时任务消息 1 18:45:35.197 30355-30355/D:MessengerService:: IncomingFromClientsHandler:handleMessage: 18:45:35.197 30355-30355/D:MessengerService:: handleMessage: MSG_FROM_CLIENT_DO_LONG_RUNNING_WORK 18:45:35.197 30355-30355/D:MessengerService:: doLongRunningWork: 18:45:35.198 30355-30355/D:MessengerService:: doLongRunningWork: msg.data = name: eha, arrays: 1 2 3 , book.name: ddaca, book.price: 99 // 新建线程 8198 执行耗时任务1 18:45:35.203 30355-8198/D:MessengerService:: MyDataRunnable:run... // 下发耗时任务2 18:45:35.418 30355-30355/D:ShowIPCActivity:: onClick: button.onClick = LongRunningWork 18:45:35.418 30355-30355/D:ShowIPCActivity:: doLongRunningWork: 18:45:35.418 30355-30355/D:ShowIPCActivity:: doLongRunningWork: data = name: hhg, arrays: 1 2 3 , book.name: haace, book.price: 13 // 服务端接受到耗时任务消息2 18:45:35.418 30355-30355/D:MessengerService:: IncomingFromClientsHandler:handleMessage: 18:45:35.418 30355-30355/D:MessengerService:: handleMessage: MSG_FROM_CLIENT_DO_LONG_RUNNING_WORK 18:45:35.418 30355-30355/D:MessengerService:: doLongRunningWork: 18:45:35.418 30355-30355/D:MessengerService:: doLongRunningWork: msg.data = name: hhg, arrays: 1 2 3 , book.name: haace, book.price: 13 // 新建线程 8199 执行耗时任务2 18:45:35.423 30355-8199/D:MessengerService:: MyDataRunnable:run... // 下发耗时任务3 18:45:35.648 30355-30355/D:ShowIPCActivity:: onClick: button.onClick = LongRunningWork 18:45:35.648 30355-30355/D:ShowIPCActivity:: doLongRunningWork: 18:45:35.648 30355-30355/D:ShowIPCActivity:: doLongRunningWork: data = name: gid, arrays: 1 2 3 , book.name: hfbie, book.price: 40 // 服务端接受到耗时任务消息3 18:45:35.648 30355-30355/D:MessengerService:: IncomingFromClientsHandler:handleMessage: 18:45:35.649 30355-30355/D:MessengerService:: handleMessage: MSG_FROM_CLIENT_DO_LONG_RUNNING_WORK 18:45:35.649 30355-30355/D:MessengerService:: doLongRunningWork: 18:45:35.649 30355-30355/D:MessengerService:: doLongRunningWork: msg.data = name: gid, arrays: 1 2 3 , book.name: hfbie, book.price: 40 // 新建线程 8209 执行耗时任务3 18:45:35.650 30355-8209/D:MessengerService:: MyDataRunnable:run... // 耗时任务1 线程 8198 执行完毕,并发送回调消息 18:45:38.203 30355-8198/D:MessengerService:: MyDataRunnable:run: done! 18:45:38.203 30355-8198/D:MessengerService:: feedbackToClient: 18:45:38.203 30355-8198/D:MessengerService:: feedbackToClient: data = name: afi, arrays: 1 2 3 , book.name: ibabe, book.price: 93 18:45:38.204 30355-30355/D:ShowIPCActivity:: IncomingFromServiceHandler:handleMessage: 18:45:38.204 30355-30355/D:ShowIPCActivity:: handleMessage: MSG_FROM_SERVICE_RESULT 18:45:38.204 30355-30355/D:ShowIPCActivity:: showMsgFromServiceResult: 18:45:38.204 30355-30355/D:ShowIPCActivity:: showMsgFromServiceResult: msg.data = name: afi, arrays: 1 2 3 , book.name: ibabe, book.price: 93 // 耗时任务2 线程 8199 执行完毕,并发送回调消息 18:45:38.423 30355-8199/D:MessengerService:: MyDataRunnable:run: done! 18:45:38.423 30355-8199/D:MessengerService:: feedbackToClient: 18:45:38.423 30355-8199/D:MessengerService:: feedbackToClient: data = name: ffc, arrays: 1 2 3 , book.name: dcdfd, book.price: 65 18:45:38.424 30355-30355/D:ShowIPCActivity:: IncomingFromServiceHandler:handleMessage: 18:45:38.424 30355-30355/D:ShowIPCActivity:: handleMessage: MSG_FROM_SERVICE_RESULT 18:45:38.424 30355-30355/D:ShowIPCActivity:: showMsgFromServiceResult: 18:45:38.424 30355-30355/D:ShowIPCActivity:: showMsgFromServiceResult: msg.data = name: ffc, arrays: 1 2 3 , book.name: dcdfd, book.price: 65 // 耗时任务3 线程 8209 执行完毕,并发送回调消息 18:45:38.650 30355-8209/D:MessengerService:: MyDataRunnable:run: done! 18:45:38.650 30355-8209/D:MessengerService:: feedbackToClient: 18:45:38.650 30355-8209/D:MessengerService:: feedbackToClient: data = name: icc, arrays: 1 2 3 , book.name: ibicd, book.price: 53 18:45:38.651 30355-30355/D:ShowIPCActivity:: IncomingFromServiceHandler:handleMessage: 18:45:38.651 30355-30355/D:ShowIPCActivity:: handleMessage: MSG_FROM_SERVICE_RESULT 18:45:38.651 30355-30355/D:ShowIPCActivity:: showMsgFromServiceResult: 18:45:38.651 30355-30355/D:ShowIPCActivity:: showMsgFromServiceResult: msg.data = name: icc, arrays: 1 2 3 , book.name: ibicd, book.price: 53
|