Davide Pesavento
66ff0989c5
face: cleanup log messages in all faces and print fail reason
...
Change-Id: I405198b375a0317663d29810ee87922a19edccaa
Refs: #2450
2015-02-02 17:59:02 +01:00
Alexander Afanasyev
319f2c8dbc
src: Update copyright notices for files modified in 2015
...
Change-Id: Ia52e6e891a06fcc7ace06eafd2fffecd7bd55a95
Refs: #2352
2015-01-19 21:45:21 -08:00
Junxiao Shi
c099ddb587
face: replace EventEmitter usage with Signal
...
refs #2300
Change-Id: I17d0d65d2c474b17dd9f23f271a6144b0b4fbc07
2015-01-06 20:50:15 -07:00
Davide Pesavento
ab1e8f2497
build: Always build in C++11 mode.
...
This commit also includes update of websocketpp submodule, as the
previous version has compilation problems on OSX with XCode 6.1
Change-Id: I8c9670d0026d840838d77e610e50679ee5ede7a5
Refs: #1930 , #2082
2014-10-29 23:53:23 -07:00
Chengyu Fan
f9c2bb19fe
mgmt: replace FaceFlags with individual fields
...
refs #1992
Change-Id: I41d55b3227c916a253705aaeefbe66c7c18e22a9
2014-10-08 21:56:38 -06:00
Junxiao Shi
5dd26c3ef8
face: increment link layer byte counters in StreamFace and DatagramFace
...
refs #1766
Change-Id: I69377fa561ae1ee845808aa02ae1b85b1771899e
2014-07-24 15:55:31 -07:00
Junxiao Shi
632a62089a
mgmt: expose link layer counters in Face Dataset
...
refs #1767
Change-Id: If0b66ead4c2f2741c83396f251cce9a0d83c1520
2014-07-20 19:47:06 -07:00
Junxiao Shi
33152f18b1
face: link layer byte counts in FaceCounters
...
This commit declares the counters, but does not increment the new counters.
refs #1729
Change-Id: I9cd136fc65955192a92d567629a9aba2df8090f3
2014-07-19 01:14:05 -07:00
Alexander Afanasyev
583760b22b
face: Cleaning up onFail EventEmitter after event is fired from Face::fail
...
Change-Id: I3e90ae4af6843c2cd6d24835e0d3dab98f4c94df
Refs: #1718
2014-06-30 23:14:53 -07:00
Alexander Afanasyev
e515f0a989
face: Moving idle UdpFace closing logic to UdpFace class
...
Change-Id: Ia7310fa18681f17d93c8214ce744da909fea7022
Refs: #1686
2014-06-30 19:54:33 -07:00
Junxiao Shi
08d07a764e
face: avoid multiple onFail events
...
refs #1497
Change-Id: I8fda3fea5cd8a314b30eef45da104109e9748afc
2014-06-10 20:41:42 -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
Alexander Afanasyev
650028d5c5
face: Gracefully handle tlv::Error when received TLV block is malformed
...
Change-Id: I954b13d0e26fec7bc7fe23edcbc015dfac654ef8
Refs: #1494
2014-04-25 22:55:24 -07:00
Davide Pesavento
1bdef28419
build: update default CXXFLAGS.
...
* Add -std=c++03 and -pedantic, and fix the resulting warnings. The
long-long-int warning is explicitly suppressed because it's not
trivial to workaround in a platform-independent and ISO-conformant
way without using C++11.
* Initial support for building with -std=c++11 (experimental).
* Prefer -Og optimization level in debug builds if supported by the
compiler.
Change-Id: I744a25c8b52842dc3ea3a733d6ab2fa66171e6f8
2014-04-10 15:07:00 -07:00
Alexander Afanasyev
9bcbc7c130
docs: Update of copyright and license statement in all .hpp and .cpp files
...
Change-Id: I4082db67f2390482615a780d91a513f09d57a9a4
Refs: #1266
2014-04-07 09:18:25 -07:00
Junxiao Shi
6e69432262
face/mgmt/fw/tools: add localUri to FaceStatus and FaceEventNotification
...
refs #1396
Change-Id: I6084745c62c44a409ecbd4a795cb712475e32416
2014-04-03 10:27:13 -07:00
Junxiao Shi
79494164c3
face: Face::getLocalUri
...
refs #1396
Change-Id: Icf02ae0a4136b6da3f6388cdce2f861bec44e940
2014-04-02 18:43:01 -07:00
Alexander Afanasyev
355c066fe1
face: Implementing new "isOnDemand" flag
...
This flags replaces isPermanent flag in datagram faces, but with the
reversed logic (isPermanent = !isOnDemand)
Change-Id: I37ba604e5f105ca95a79a08b8cfc3d640df8b412
Refs: #1376
2014-03-20 18:10:44 -07:00
Alexander Afanasyev
7e698e6aac
face: Incrementing Face counters
...
Change-Id: Ia1d7917bb52cf01ab2ff304638bc9f6cbdb2626f
Refs: #1178
2014-03-08 20:27:43 +00:00
Alexander Afanasyev
a39b90b2aa
face: Implementing Face::getUri() method
...
Change-Id: I9a9f774b95784e5b7ec75472f1cc6cf64c4e5d7b
Refs: #1319
2014-03-06 09:25:06 +00:00
Davide Pesavento
0ff10db95a
face: remove awkward Face::setLocal, use a constructor argument instead.
...
Change-Id: Ic366ecdc83c5771138ff584ffb944a4e17300eb1
2014-02-28 08:45:14 -08:00
Alexander Afanasyev
bd220a053b
face: Implementation of encode/decode of LocalControlHeader
...
LocalControlHeader can only be used on faces that are derived from
LocalFace. UnixStreamFace is directly inherited from LocalFace,
TCP face has two specializations: generic TcpFace (strictly not local),
and LocalTcpFace.
refs #1213
Change-Id: I8a158c3bc4bb929eedd15757cfddecc0d1049f9f
2014-02-20 15:54:22 -08:00
Alexander Afanasyev
93ce75e6f7
face: Fixing bug with InternalFace considered not local and changing "isLocal" method to be pure virtual
...
This way the decision about the face locality has to be done explicitly
inside specific face implementation and potentially avoids problems.
Change-Id: I5219cce87385313546453d14a5a7ca4542893911
2014-02-19 14:11:07 -08:00
Junxiao Shi
8cf83ebc05
face: Face::setLocalControlHeaderFeature LLVM fix
...
workaround LLVM Bug 16816 on OS X 10.9
refs #1264
Change-Id: I364bfaf4ac4600bd031422dad36afd1377b87338
2014-02-18 14:25:05 -07:00
Junxiao Shi
16b8bc9c18
face: LocalControlHeader attributes
...
refs #1264
Change-Id: Iab8b875ea8102103390d2da37ca3c08ef58a3d55
2014-02-17 23:02:25 -07:00
Junxiao Shi
88884490ae
fw: /localhost scope control for incoming Interest
...
refs #1230
Change-Id: I86fd071ef144caa506b26a723f14232e2af5e2de
2014-02-15 21:08:09 -07:00
Alexander Afanasyev
46f664711e
face: Fixing a small bug
...
Change-Id: I02d6e5de2046a9cf4c9ab00a309609dfa26f6dfb
2014-01-31 17:24:23 -08:00
Junxiao Shi
8c8d2187b3
fw: integrate forwarder, strategy, tables
...
refs #1131 , #1136
Change-Id: Ica58341cdc1ea1dc421693a87f35fc50177a707d
2014-01-31 00:53:45 -07:00
Alexander Afanasyev
18bbf81601
src: Changing namespace ndn to namespace nfd
...
Also, this commit imports used classes from ::ndn namespace (from
NDN-CPP library) directly to ::nfd namespace.
refs: #1163
Change-Id: I9cc9d72e00af495b4ed0c84e6d418a7c9ba986cb
2014-01-29 14:12:58 -08:00
Junxiao Shi
32bfeb3401
abstract Face class
...
refs #1153
Change-Id: I0b0dd71300d9b2d747a48c72fa8850c9afb75448
2014-01-25 20:40:13 -07:00