callback函数的问题

richardcheng 2003-09-16 09:29:35
我在书上有看到callback函数,它到底有什么作用,它的运行机制是什么
...全文
185 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
dmhorse 2003-09-16
  • 打赏
  • 举报
回复
mark
junnef 2003-09-16
  • 打赏
  • 举报
回复
给你个使用最多的地方,就是在awt或swing程序中加入监听器,其实这个过程就是一个时间回调的过程,具体原理不好说,你可以去搜索一下java的command设计模式。
junnef 2003-09-16
  • 打赏
  • 举报
回复
callback就是回调函数,所谓的回调函数,意指先在系统的某个地方对函数进行注册,让系统知道这个函数的存在,然后在以后,当某个事件发生时,再调用这个函数对事件进行响应。
dmhorse 2003-09-16
  • 打赏
  • 举报
回复
call back是否指回调
阎罗 2003-09-16
  • 打赏
  • 举报
回复
Implementations of this interface are passed to a CallbackHandler, allowing underlying security services the ability to interact with a calling application to retrieve specific authentication data such as usernames and passwords, or to display certain information, such as error and warning messages.

Callback implementations do not retrieve or display the information requested by underlying security services. Callback implementations simply provide the means to pass such requests to applications, and for applications, if appropriate, to return requested information back to the underlying security services.
shipp 2003-09-16
  • 打赏
  • 举报
回复
UP,关注...

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧