简体   繁体   English

如何在工作的 SUP Android 项目中集成中继服务器?

[英]How to integrate Relay server in a working SUP Android project?

I am a pure Android developer and don't know anything about Sybase Unwired Platform and Relay Server.我是一名纯 Android 开发人员,对 Sybase 无线平台和中继服务器一无所知。 I have a working SUP based project('m not one who develop it).我有一个基于 SUP 的工作项目(不是开发它的人)。 I need to integrate Relay server in between SUP and Mobile.我需要在 SUP 和 Mobile 之间集成中继服务器。 The Relay Server is installed and configured to SUP OUTBOUND ENABLER.中继服务器已安装并配置为 SUP OUTBOUND ENABLER。 Relay server port is 80 on SUP Server. SUP 服务器上的中继服务器端口为 80。 But I don't know how to make data transaction through it and show data in android device?但是我不知道如何通过它进行数据交易并在android设备中显示数据?

It should be as easy as changing the ip of the SUP server to the ip address of the relay server, changing the port from the current port number to port 80, setting the messaging farm id and setting the url suffix.应该就像将SUP服务器的ip更改为中继服务器的ip地址,将端口从当前端口号更改为端口80,设置消息农场id和设置url后缀一样简单。 When configuring the relay server a backend farm would have been defined with a farm id.在配置中继服务器时,将使用场 ID 定义后端场。 This is the id that you would need to enter here.这是您需要在此处输入的 ID。 Default relay server url suffix is " ias_relay_server/client/rs_client.dll " for Windows based relay server.对于基于 Windows 的中继服务器,默认中继服务器 url 后缀是“ ias_relay_server/client/rs_client.dll ”。

These are the properties for the connectionProperties.这些是 connectionProperties 的属性。

You will also need to change the properties for the synchronisation profile.您还需要更改同步配置文件的属性。 Here you will have to set ip address, port and stream params.在这里,您必须设置 IP 地址、端口和流参数。 Where stream params look something like " url_suffix=/ias_relay_server/client/rs_client.dll /"其中流参数看起来像“ url_suffix=/ias_relay_server/client/rs_client.dll /”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM