什么是处理程序 [英] What is a handler

查看:158
本文介绍了什么是处理程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图学习一些与编程相关的术语,而且我经常碰到单词处理程序.任何人都可以解释一下处理程序的含义以及何时使用该术语.

Hi I am trying to learn some programing related terms, and I often comes over the word handler. Can anyone pleas explain what handler means and when to use the term.

推荐答案

处理程序是一种例程/函数/方法,专用于某种类型的数据或专注于某些特殊任务.

A handler is a routine/function/method which is specialized in a certain type of data or focused on certain special tasks.

示例:

  • 事件处理程序-接收并摘要来自以下事件的事件和信号: 周围的系统(例如OS或GUI).

  • Event handler - Receives and digests events and signals from the surrounding system (e.g. OS or GUI).

内存处理程序-在内存上执行某些特殊任务.

Memory handler - Performs certain special tasks on memory.

文件输入处理程序-接收文件输入并执行的功能 数据上的特殊任务,这当然取决于上下文.

File input handler - A function receiving file input and performing special tasks on the data, all depending on context of course.

这篇关于什么是处理程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆