atmi常用函数列表

atmi常用函数列表

ID:39464783

大小:181.00 KB

页数:9页

时间:2019-07-03

atmi常用函数列表_第1页
atmi常用函数列表_第2页
atmi常用函数列表_第3页
atmi常用函数列表_第4页
atmi常用函数列表_第5页
资源描述:

《atmi常用函数列表》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、内容简介:主要介绍atmi函数族中消息,队列,事务,会话相关函数。各族函数不应在同一个层次上嵌套使用。参数都分别要显示指定,若没有,则指定为0或null.检查和确保参数有效,并且类型匹配。tperrno和tperrordetail()分别用获取错误码与详细错误信息。函数列表:ForaTaskRelatedto...UseThisCFunction...To...Buffermanagementtpalloc()Createamessagebuffertprealloc()Resizeamessagebuffertptypes()Ge

2、tamessagetypeandsubtypetpfree()FreeamessagebufferClientmembershiptpchkauth()Checkwhetherauthenticationisrequiredtpinit()Joinanapplicationtpterm()LeaveanapplicationMultipleapplicationcontextmanagementtpgetctxt(3c)Retrieveanidentifierforthecurrentthread’scontexttpsetctxt

3、(3c)Setthecurrentthread’scontextinamulticontextedprocessServiceentryandreturntpsvrinit()Initializeaserver·tpsvrdone()Terminateaservertpsvrthrinit()Initializeanindividualserverthreadtpsvrthrdone()Terminationcodeforanindividualserverthreadtpreturn()Endaservicefunctiontpf

4、orward()ForwardarequestDynamicadvertisementtpadvertise()Advertiseaservicenametpunadvertise()UnadvertiseaservicenameMessageprioritytpgprio()Getthepriorityofthelastrequesttpsprio()SetthepriorityofthenextrequestRequest/responsecommunicationstpcall()Initiateasynchronousreq

5、uest/responsetoaservice·tpacall()Initiateanasynchronousrequesttpgetrply()Receiveanasynchronousresponsetpcancel()CancelanasynchronousrequestConversationalcommunicationtpconnect()Beginaconversationwithaservicetpdiscon()Abnormallyterminateaconversationtpsend()Sendamessage

6、inaconversationtprecv()ReceiveamessageinaconversationReliablequeuingtpenqueue(3c)Enqueueamessagetoamessagequeuetpdequeue(3c)DequeueamessagefromamessagequeueEvent-basedtpnotify()Sendanunsolicitedmessagetoaclientcommunicationstpbroadcast()Sendmessagestoseveralclientstpse

7、tunsol()Setunsolicitedmessagecall-backtpchkunsol()Checkthearrivalofunsolicitedmessagestppost()Postaneventmessagetpsubscribe()Subscribetoeventmessagestpunsubscribe()UnsubscribetoeventmessagesTransactionmanagementtpbegin()Beginatransactiontpcommit()Committhecurrenttransa

8、ctiontpabort()Rollbackthecurrenttransactiontpgetlev()Checkwhetherintransactionmodetpsuspend()Suspendthecurrenttransac

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。