在本课中,您要将消息从 TestMessage saclient1 应用程序发送到 TestMessage saclient2 应用程序。
在 [saclient1 - TestMessage] 窗口中,单击 [消息] » [新建]。
在 [Destination ID] 字段中,键入 saclient2。
在 [主题] 字段中,键入当前时间。使用当前时间可便于跟踪各条消息。
在 [消息] 字段中,键入 sample。
单击 [发送]。
单击 [确定]。
在 [saclient2 - TestMessage] 窗口中,选择该消息。底部窗格中将出现该消息的内容。
与其它 QAnywhere 应用程序类似,TestMessage 也使用 QAnywhere API 来管理消息。QAnywhere API 以 C++ API、Java API、Microsoft .NET API 和 SQL API 的形式提供。
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |