Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » QAnywhere » 教程:探讨 TestMessage

 

第 3 课:发送消息

背景

在本课中,您要将消息从 TestMessage saclient1 应用程序发送到 TestMessage saclient2 应用程序。

活动
♦  从 TestMessage 发送消息
  1. 在 [saclient1 - TestMessage] 窗口中,单击 [消息] » [新建]。

  2. 在 [Destination ID] 字段中,键入 saclient2

  3. 在 [主题] 字段中,键入当前时间。使用当前时间可便于跟踪各条消息。

  4. 在 [消息] 字段中,键入 sample

  5. 单击 [发送]。

  6. 单击 [确定]。

  7. 在 [saclient2 - TestMessage] 窗口中,选择该消息。底部窗格中将出现该消息的内容。

讨论

与其它 QAnywhere 应用程序类似,TestMessage 也使用 QAnywhere API 来管理消息。QAnywhere API 以 C++ API、Java API、Microsoft .NET API 和 SQL API 的形式提供。

另请参见