The API changes should provide both sour

admin2022-08-02  53

问题 The API changes should provide both source and binary(  )for programs written to the original API.That is,existing program binaries should continue to operate when run on a system supporting the new API.In addition,existing(  )that are re-compiled and run on a system supporting the new API should continue to operate.Simply put,the API(  )for multicast receivers that specify source filters should not break existing programs.The changes to the API should be as small as possible in order to simplicity the task of converting existing(  )receiver applications to use source filters.Applications should be able to delete when the new(  )filter APIs are unavailable(e.g.,calls fail with the ENOTSUPP error)and react gracefully(e.g.,revert to old non-source-filter API or display a meaningful error message to the user).问题1选项A.capabilityB.compatibilityC.labialityD.reliability问题2选项A.systemsB.programsC.applicationsD.users问题3选项A.connectionsB.changesC.resourcesD.considerations问题4选项A.multicastB.unicastC.broadcastD.anycast问题5选项A.resourceB.stateC.destinationD.source

选项

答案

解析 参考答案:B、C、B、A、D
API的修改应该提供源代码,且与用原API编写的程序保持二进制兼容性。也就是说,当运行在一个支持新API的系统中时,现有程序的二进制文件应该继续运行。此外,重新编译和运行在支持新API的系统中的现有程序应该继续运行。简单的说,为组播接收器修改API,指定源滤波器不应该破坏现有的程序。为了简化将现有的单播接收器应用程序转换为使用源过滤器的任务,API的变更应尽可能小。当新的源过滤器API不可用时(例如,因ENOTSUPP错误调用失败)应用程序应该能够删除和做出合适的响应(例如,恢复到旧的无源滤波器API或向用户显示一个有含义的错误消息)。
转载请注明原文地址:https://tihaiku.com/congyezige/2399435.html

最新回复(0)