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

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » UltraLiteJ 参考 » UltraLiteJ API 参考 » DatabaseManager 类

 

createSISHTTPListener 函数(仅限 J2ME BlackBerry)

为服务器启动的同步创建 HTTP SISListener。

语法
SISListener DatabaseManager.createSISHTTPListener(
 SISRequestHandler handler, int port
 String httpOptions
)
参数
  • handler   指定的 SISRequestHandler,用于处理 SIS 请求。

  • port   用于监听服务器消息的 HTTP 端口。

  • httpOptions   用于连接到服务器的 HTTP 选项。

注释

建议的端口设置为 4400。

对于 BlackBerry 模拟器,建议的 HTTP 选项是 "deviceside=false"。

另请参见
返回值

用于服务器启动的同步的 SISListener。