![Siemens HiPath optiPoint 410 Скачать руководство пользователя страница 55](http://html.mh-extra.com/html/siemens/hipath-optipoint-410/hipath-optipoint-410_developers-manual_377163055.webp)
c01.fm
18. May 2006
optiPoint application module - XML Applications, Developer’s Guide
54
Push Technology
Image
5
Push Technology
A Push request to an optiPoint phone is a specific HTTP POST request that is sent to the Web
service of the telephone.
The Push request is sent to the following URL:
http://<phone IP address>:<phone port>/server_push.html/ServerPush
Example:
http://137.223.234.11:8085/server_push.html/ServerPush
The Push request must contain the following Information:
Key
Value
Function
ServerAddr
IP address
IP address of the server where the program is located.
ServerPort
Port number
Port number of the server where the program is located.
ProgramName
File name
Name of the program located on the server.
RequestType
queue
The request is remains queued until the currently run-
ning program is ended.
indicate
The request is signaled to the user. The prerequisite for
this is that the XML document contains a Ticker object
within an existing screen or Alert object.
force
The currently running application is forced to end and
the application specified in the request is started.
MidletName
Name of the
MIDlet
Name of the application that is to be started by the Push
request. This is the "application name" entered when
the application was created on the telephone (see Sec-
tion 3.1, "Generating a Program on the Telephone").
ServerProtocol
Communica-
tion protocol
Indicates which protocol to use for communicating with
the server. Examples: ’http’, ’https’.
ServerContextKey
Key
The key for the key/value pair that is returned to the pro-
gram running on the server. The server uses this key/
value pair to detect whether the XML document request
goes back to the previous Push request that had been
sent to the telephone.
ServerContextValue
Value
The value for the key/value pair that is returned to the
program running on the server.
Table 5-1
Содержание HiPath optiPoint 410
Страница 1: ...HiPath optiPoint application module XML Applications Developer s Guide ...
Страница 78: ......