summaryrefslogtreecommitdiff
path: root/webproxyagent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webproxyagent.cc')
-rw-r--r--webproxyagent.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/webproxyagent.cc b/webproxyagent.cc
index 186912f..126cd75 100644
--- a/webproxyagent.cc
+++ b/webproxyagent.cc
@@ -46,11 +46,18 @@ void WebProxyAgent::registerServices(SAPManager *manager)
service.setVersion(2, 0);
service.setConnectionTimeout(0);
+ channel.setChannelId(501);
+ channel.setPayloadType(SAPChannelInfo::PayloadBinary);
+ channel.setQoSType(SAPChannelInfo::QoSReliabilityEnable);
+ channel.setQoSDataRate(SAPChannelInfo::QoSDataRateLow);
+ channel.setQoSPriority(SAPChannelInfo::QoSPriorityLow);
+ service.addChannel(channel);
+
channel.setChannelId(502);
channel.setPayloadType(SAPChannelInfo::PayloadBinary);
- channel.setQoSType(SAPChannelInfo::QoSRestricted);
+ channel.setQoSType(SAPChannelInfo::QoSReliabilityEnable);
channel.setQoSDataRate(SAPChannelInfo::QoSDataRateLow);
- channel.setQoSPriority(SAPChannelInfo::QoSPriorityHigh);
+ channel.setQoSPriority(SAPChannelInfo::QoSPriorityLow);
service.addChannel(channel);
manager->registerServiceAgent(service, instance());