Davide Pesavento
19779d861e
Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
...
Refs: #4834
Change-Id: If2455e1830f310beea434ffb455d960e11c4c2ed
2019-02-14 20:48:34 -05:00
Davide Pesavento
d27841b7d5
face: consistently use the template method pattern in ProtocolFactory
...
Change-Id: Ied0bf02cfcdffc7e9b2c28c5452441c01f98ccbc
2018-11-21 00:19:01 -05:00
Davide Pesavento
096f86a311
face: support IPv6-only WebSocket channels
...
Change-Id: Ib9ba27d04611c13882e50995d701fc1b707cea5f
Refs: #4710
2018-11-11 19:02:18 -05:00
Davide Pesavento
a3148081ce
core: reimplement logging using ndn-cxx's facility
...
Change-Id: Ifc7c5d70a61ad405dc1f1adfa522a2c0ad1586ab
Refs: #4580
2018-05-05 23:04:22 -04:00
Davide Pesavento
15b5505e01
face: group parameters to createFace and connect into a common structure
...
Change-Id: Icb6857602ed7e897be6c5334b05be23793d133bb
2018-01-29 18:56:12 -05:00
Davide Pesavento
4b89a6e943
face: move createChannel overloads that take strings to unit tests
...
They are used only there.
Change-Id: I0c70221bbcad36024223cc6e3c929b9c08b683c0
2017-10-07 15:29:50 -04:00
Yanbiao Li
afb2059377
use ndn::ip::address(V6)FromString for scope-id aware conversion
...
Change-Id: Ifdc31771b8a990867c0a79ba42b71c87a97bcd56
Refs: #1428
2017-10-06 10:15:51 -07:00
Eric Newberry
944f38bb49
face: move face parameters into CreateFaceParams struct
...
refs #4003
Change-Id: I6e1149e7075eb055912fd452a21b22fcb610829a
2017-07-23 20:37:06 -04:00
Junxiao Shi
0ba6d64e5a
face: pass addFace and NetworkMonitor to ProtocolFactory constructor
...
refs #4021
Change-Id: I842515eb044bb1c655b347e6069e63c55c4e2d54
2017-07-17 00:53:22 +00:00
Junxiao Shi
2d49175d6e
face: give ProtocolFactory access to NetworkMonitor
...
Subclasses of ProtocolFactory can access NetworkMonitor and
addFace callback anytime via member fields. They are supplied
to ProtocolFactory::create from FaceSystem.
This is in preparation for letting ProtocolFactory subclasses
react to fine-grained signals from NetworkMonitor.
refs #4021
Change-Id: I8da116bffc83d1bdeed7fd3b2e12c8872f19177b
2017-07-14 21:32:05 +00:00
Davide Pesavento
77911ccc73
face: make logging more uniform across channel types
...
Change-Id: I21db45f736e07464260dcc902c673d098ba3c549
Refs: #2561
2017-04-09 13:11:16 -04:00
Eric Newberry
78e32b0ee2
face+mgmt: accept LocalUri in ProtocolFactory and FaceManager
...
refs #4016
Change-Id: I3e192e6d3982ae8e6ced1dbfbaa62f1c993f799e
2017-04-01 14:34:44 +00:00
Junxiao Shi
b47247dad9
face: ProtocolFactory registry
...
refs #3904
Change-Id: Ic7c8b3d6138b7c27d4189a2e15cc646055ad1294
2017-01-25 14:17:45 -05:00
Junxiao Shi
3409cd399d
face: process face_system.websocket config section in WebSocketFactory
...
refs #3904
Change-Id: I8e30a54ab0664432cebf5d74e0467e9bfba60f2f
2017-01-18 15:31:27 +00:00
Eric Newberry
f40551a061
face+mgmt: enable local fields through ProtocolFactory::createFace
...
refs #3731
Change-Id: I569dae59cda150ffcb1c0ff1d01a575d8850beca
2016-09-23 01:16:23 -07:00
Eric Newberry
4260241659
mgmt+face: move protocol-specific face creation checks into protocol factories
...
Also brought implementation of faces/create in line with design
refs #3731
Change-Id: I4f48079136b42c7fdbd4fdfba37116d2565f9dc1
2016-09-02 18:56:24 -07:00
Davide Pesavento
1d7e7afd38
face+mgmt: simplify factories and FaceManager using C++11 features
...
Change-Id: I113a4c15ef82bff705f61f31b170f49727bc3794
Refs: #3258
2015-10-13 16:28:52 +02:00
Spyridon Mastorakis
149e02cf7d
Enhance exception throwing with Boost Exception library
...
Change-Id: I471023fc23ffaebe04d9668426b4c1b03e4919aa
Refs: #2541
2015-08-17 16:17:33 -07:00
Yukai Tu
7c90e6dfea
face: ProtocolFactory::createFace with FacePersistency
...
Change-Id: If02510bd631e9aaa63b3cca89ced31a42e192ded
Refs: #2989
2015-07-29 23:50:25 +08:00
Davide Pesavento
db9d37edab
Fix several "defined but not used" warnings with gcc-5
...
GCC 5 is able to prove that in some translation units the static Logger
instance is defined but never used, and generates an unused variable
warning for each one of them. These warnings become fatal errors when
building in debug mode, due to -Werror.
Silence the compiler by not declaring the unused variables.
refs #2767
Change-Id: Icacc579d917d660582221ef090954ec827f46149
2015-04-24 10:25:56 -07:00
Alexander Afanasyev
0e156df634
face: Remove unnecessary use of DNS resolver in (Udp|Tcp|WebSocket)Factory
...
Change-Id: Idbc743fe4c7d567a09acccef98fe6de26f8295f0
Refs: #2422
2015-01-27 09:24:35 -08:00
Chengyu Fan
4381fb6b11
core: use ndn::dns from ndn-cxx
...
refs #2207
Change-Id: Ice97c9203283b5b89982049cb29c0ccfed0ef422
2015-01-19 23:08:52 -08:00
Steve DiBenedetto
ef04f27892
face, mgmt: add channel status dataset publisher
...
Expose channel maps in protocol factories
Change-Id: I057b1bba638bfc9372867318653d71ba7d0e9888
Refs: #1631 , #1653
2014-06-13 11:30:36 -07:00
Alexander Afanasyev
f6980284e6
src: Remove unnecessary uses of boost::cref in make_shared and replace boost::cref/boost::ref with just cref/ref
...
In some cases, due to argument-dependent lookup, it is necessary to use
ndn::ref, instead of just ref.
Change-Id: I682180a007609535855f77511b49622154ad4f11
Refs: #1591
2014-05-15 09:52:28 -07:00
Wentao Shang
53df163b62
face: Implement WebSocket channel, face, and factory.
...
Change-Id: Ic4dbb1abdbbdbec028746ba14b11be8ab9cc1edb
Refs: #1468
2014-05-08 17:16:43 -07:00