- OpenDaylight Cookbook
- Mathieu Lemay Alexis de Talhou?t Jamie Goodyear Rashmi Pujar Mohamed El Serngawy Yrineu Rodrigues
- 150字
- 2021-07-02 21:38:41
There's more...
You could create multiple sessions for the same channel. To do so, in step 3, open another terminal console for the VM and start the echo server a second time, but on a different port:
- $ java -jar EchoServer.jar -t true -p 2008.
- Create a channel specifying this port using step 4.
- Send the request to see the channel. See the request sent at step 5.
The response will this time contain two sessions:
--[cut]--
"session": [
{
"session-id": "2",
"bytes-in": 0,
"termination-point": {
"termination-point-id": "2008"
},
"session-alarms": 0,
"bytes-out": 0
},
{
"session-id": "1",
"bytes-in": 0,
"termination-point": {
"termination-point-id": "2007"
},
"session-alarms": 0,
"bytes-out": 0
}
]
--[cut]--
You can have as many sessions as you wish per channel. This means you can have a number of devices running on the same host and you can connect to each one of them using the same secured channel.
推薦閱讀
- Oracle Database In-Memory(架構與實踐)
- Learning ArcGIS Pro 2
- Dependency Injection in .NET Core 2.0
- Java加密與解密的藝術(第2版)
- Blockly創意趣味編程
- Python 3網絡爬蟲實戰
- Backbone.js Blueprints
- Getting Started with SQL Server 2012 Cube Development
- Learning Python Data Visualization
- 從零開始學Selenium自動化測試:基于Python:視頻教學版
- 計算語言學導論
- C語言程序設計
- Puppet Cookbook(Third Edition)
- Building E-Commerce Solutions with WooCommerce(Second Edition)
- Spark for Data Science