金蝶BOS通讯平台JAVAAPI指南1.主要的接口类以及说明11.1com.kingdee.bos.message.client.BizInterface1booleanconnect(Stringhost,intport,StringloginAccount,StringloginPassword)1voiddisConnect()2booleanisConnect()2booleansendMessage(KDMessagemsg)2voidaddMsgListener(KDMsgListenerlistener);2voidaddConnectMonitor(ConnectMonitormonitor)21.2com.kingdee.bos.message.client.BizInterfaceFactory2BizInterfacegetInstance()21.3com.kingdee.bos.message.client.KDMsgListener2voidonMessage(KDMessagemsg)3voidonError(KDMsgErrorerror)31.4com.kingdee.bos.message.client.ConnectMonitor3voidonConnect(BizInterfacebiz)3voidonConnect(BizInterfacebiz)31.5com.kingdee.bos.message.common.KDMessage3StringgetTitle()3StringgetContent()31.6com.kingdee.bos.message.common.KDMsgCreater3KDMsgCreatercreate()4KDMessagecreateMsgForSMS(StringnumberList,Stringtitle);4KDMessagecreateMsgForSMSStringnumberList,Stringtitle,StringfuncNo)4KDMesagecreateMsgForMail(StringmailList,Stringtitle,Stringcontent)4KDMesagecreateMsgForMail(StringmailList,Stringtitle,Stringcontent,String[]filePaths)4KDMesagecreateMsgForBiz(Stringtitle,Stringcontent,Stringbizname);5调用示例代码DEMO5
1