47
[Operations]
[SendRequest]
SendRequest is used to get XML data from Web Server.
SendRequest sends "HTTP GET Request" which has some parameters.
The format of the parameter is same as one of the <FORM> tag.
Components which can be the parameter are followings.
Components
Parameter Name
Parameter Value
TextBox
name
String
The scope of Names and Values which are sent by "SendRequest" is <Screen>.
[Restrictions]
1. When a button is clicked, a new thread is created to process the actions.
If the actions have not completed, clicking the same button has no effect.
If the actions have not completed, clicking another button/control will trigger another button/control's
actions.
2. If multiple actions are declared within a button, the actions will always be executed in sequential manner.
Asynchronize action must also be completed before next action can start.
[Reboot actions]
Reboot actions can be defined as following types.
Though these actions are processed as normal action, <Trigger> may be sent from Web Server by PUSH.
[Type 1]
<?xml version="1.0" encoding="utf-8"?>
<ppxml
xmlns="http://panasonic/sip_phone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_phone sip_phone.xsd">
<Screen version=“3.0”>
<Events>
<OnHangup>
<Reboot />
</OnHangup>
</Events>
</Screen>
</ppxml>
[Type 2]
<?xml version="1.0" encoding="utf-8"?>
<ppxml
xmlns="http://panasonic/sip_phone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_phone sip_phone.xsd">
Содержание TGP600
Страница 68: ...64 End of doc ...