1486 Commits
Author SHA1 Message Date
Steve DiBenedetto 26b730fcdb fw: Added FaceId to Face conversion method
Change-Id: I7b751cd51e138875929e7c680420070be3ce15c7
2014-02-02 19:06:44 -07:00
Junxiao Shi 09bf7c4321 daemon: mock program integration
Change-Id: I77940c7efb7a52251a8f25f6104717ba5253dc1c
refs #1140, #1139
2014-02-01 17:08:03 -08:00
Alexander Afanasyev a16abd2822 face/tcp: Fixing multiple accept on a channel
Also, this commit includes more thorough test for TCP channel (testing
if multiple connections can be made to the same channel).

Change-Id: I3b89a6d994b5b17286448013aa04a77c92c0267a
refs: #1134
2014-01-31 18:13:36 -08:00
Junxiao Shi 96dc0c49ac face: TCP end-to-end test case
The test case uses an additional Scheduler-based guard to protect
against potential communication failures.

Change-Id: I46b906f4882bfcc717b8d4a3bf074b494a39cf8d
refs: #1173
2014-01-31 17:24:23 -08:00
Alexander Afanasyev 3958b015d5 face/tcp: Fixing TcpChannel and TcpFace implementation and enable basic logging in both
Change-Id: If9a00c13caccbeb117204655ced293d49860d6e4
refs: #1134, #1133
2014-01-31 17:24:23 -08:00
Alexander Afanasyev 6688681966 core: Logger extension to allow in-class-defined logger
Change-Id: Ifa31fb65eda772df47a81ad5db1c501eaa5f8ca1
2014-01-31 17:24:23 -08: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
Junxiao Shi 234a532c0a core: Scheduler::cancelEvent allows empty EventId
refs #1176

Change-Id: I80f10ed8026d64b46b4634ced9278f145f54c4a7
2014-01-30 22:40:48 -07:00
Junxiao Shi d3c792f95c fw: basic forwarding procedure & strategy skeleton
refs #1131 #1136

Change-Id: I3e97cb17bf85082b6499a310120409379f8eaa65
2014-01-30 16:39:21 -07:00
Ilya Moiseenko a807e6530b core: Implementation of the logging module for NFD
ref: #1113

Change-Id: Ifb958ace38610b154841aab4f317b2ea9fde46e9
2014-01-30 13:33:10 -08:00
Junxiao Shi 7f02c1e1ec core: move event-emitter to core
Change-Id: I76f6fc7d8c4731bbbb95ea257e339e15b96dbea1
2014-01-29 22:23:20 -08:00
Steve DiBenedetto 5b433984c1 mgmt: Added skeleton for InternalFace
refs: #1137

Change-Id: I5aab5a9cac8da5f31603fb755b934347b63045eb
2014-01-29 22:22:46 -08:00
Yi Huang 71929b35da ci: Add .travis.yml (for ubuntu only)
refs: #1117

Change-Id: I42495bef47ce52431b11480f686fd6dc0f0608a9
2014-01-29 22:43:13 -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
Alexander Afanasyev 9b74c2ce8b Merge branch for issue: #1132 2014-01-29 14:07:36 -08:00
Alexander Afanasyev 334b714823 face/tcp: Add map of remoteEndpoint-Face within channel
If connect operation requested twice for the same remote endpoint (and
the first connection was successful), the second request will call
FaceCreated callback immediately (or after endpoint resolution) with the
previously created face.

refs: #1132, #1134

Change-Id: I5f7e5237a42289a96d7fd9d16bda47fc7cda4dfc
2014-01-28 22:59:25 -08:00
Alexander Afanasyev d32cb9657c face/tcp: Implementing mock version of TcpFace
The real version should avoid all exceptions in the processing path,
enable lazy decoding of Interest/Data packets, and implement
LocalControlHeader processing and association with Interest/Data
packets.

Change-Id: Ied907b3d10b7110a1dcc05d0d6d3c0dd277df8e1
refs: #1132, #1133, #1134, #1135
2014-01-28 22:59:20 -08:00
Alexander Afanasyev 855a53c51e face/tcp: Adding success/fail callbacks for TCP channel connect/listen
refs: #1132, #1133, #1134, #1135

Change-Id: I7df15dd9cd24f26b1ed96a4781934ffd93bc8f6e
2014-01-28 22:52:28 -08:00
Alexander Afanasyev 8ad71bac3e face/tcp: Implementing accepting and establishing connections with TCP Channel
refs: #1132, #1133, #1134, #1135

Change-Id: I8878784059fd962187bfcdd23b5adcaf9135cf4e
2014-01-28 22:49:42 -08:00
Alexander Afanasyev 33b7277de6 fw: Basic Forwarder class definition
refs #1131

Change-Id: I6650e88fd60600a8768e1ff236e2cfe4be1c1a4f
2014-01-27 09:46:39 -08:00
Junxiao Shi cbba04c997 table: mock PIT
refs #1128

Change-Id: I8943ad07d93422dc456fd051b2e4c0d5f38bc227
2014-01-27 05:49:28 -07:00
Alexander Afanasyev a9034b0e0f face: Skeleton implementation for the TCP protocol (face, channel, factory)
refs: #1132, #1133, #1134, #1135

Change-Id: I4a5935a078c7289dc6ea9b33f358f1a578c4405c
2014-01-27 00:20:04 -08:00
Alexander Afanasyev fd603eee93 table: Small stylistic update in CS API
Change-Id: I113a62b7ca580fe7b25bb893fc239ed404b7f012
2014-01-26 13:51:16 -08:00
Alexander Afanasyev 920af2f419 core: Basic implementation of Scheduler
refs #1119 (http://redmine.named-data.net/issues/1119)

Change-Id: I1783857452941794a2538534d3492d30ac58dd25
2014-01-26 13:44:17 -08:00
Junxiao Shi c1e1236b04 table: Mock implementation of FIB
refs #1127

Change-Id: Ie0bc1fc2ddcc61dd1f1cf10fb1935edde4aff6c5
2014-01-26 14:22:48 -07:00
Alexander Afanasyev c9765dffb6 cs: Update interface
Change-Id: I9b637c21ae15e784317568affdc530c21ec32e9a
2014-01-25 23:05:50 -08:00
Junxiao Shi 32bfeb3401 abstract Face class
refs #1153

Change-Id: I0b0dd71300d9b2d747a48c72fa8850c9afb75448
2014-01-25 20:40:13 -07:00
Junxiao Shi 61c5ef3830 core: time::Duration, time:Point, time::now
refs #1148

Change-Id: I19c3d2f9b638797a6a36ce41a98be4463b4b7a2d
2014-01-25 18:31:02 -08:00
Junxiao Shi 2c29f3abdb face: declare Face class and FaceId type
Change-Id: Iaff4e3b146d8d26de32ca745b6f9d52454d933cf
2014-01-24 22:07:08 -07:00
Alexander Afanasyev b927a3a5c6 src: Creating daemon/common.hpp for all generic includes and import of commonly used abstractions to ndn namespace
This commit also update CS interface (find should return
shared_ptr<Data>, CS entry is internal to CS, the design diagrams are
corrected too).

Change-Id: Ib6377b6d9b8478640ac35d3cfb6c9180cc57c4fe
2014-01-24 15:22:18 -08:00
Junxiao Shi 0fcb41e6de cs: Implementing fake CS
refs #1129

Change-Id: I1aa2e9dcea5a8f298b254f13ad651ced22118471
2014-01-24 10:19:51 -08:00
Junxiao Shi 1a2a856733 util: EventEmitter
refs #1118

Change-Id: Ib2c080f7ad0f70f2fcd9cc738b8d3601dcc2a98c
2014-01-23 16:04:57 -07:00
Junxiao Shi 336e4f71cf doc: add pkg-config as a prerequisite
Change-Id: I820491e6441e0d459834a3f47a3ca5b5516cbc04
2014-01-22 23:20:21 -07:00
Alexander Afanasyev 2aa396272b Adding build system, README, COPYING, basic INSTALL.md, and skeleton for unit tests
Change-Id: I00a58106e43f6eaaec6eedf9fa7d217a22c19d2b
2014-01-22 13:34:03 -08:00
Alexander Afanasyev a14170028c Initial commit 2014-01-21 20:29:55 -08:00