dns_get_record (PHP5,PHP7) dns_get_record—FetchDNSResourceRecordsassociatedwithahostname Description
-record(Name,{Field1[=Value1],...FieldN[=ValueN]}). 记录定义可以放置在模块的属性和函数声明中的任意位置,但定义必须在记录的任何用法之前出现。
下面Binding使用的类型定义为: -record('CosNaming_Binding',{binding_name,binding_type}).
-record(logon,{client_pid,username}).-record(message,{client_pid,to_name,message}).
emit(record) 这种方法什么都不做。 handle(record) 这种方法什么都不做。 createLock() 此方法返回None锁,因为没有访问需要序列化的底层I/O。
在以下示例中,将使用记录而不是元组来存储数据: -record(person,{name,phone,address}). 这使得能够通过名称引用记录的字段。

扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2026 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059
粤公网安备44030502008569号
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号
