Feature #3166
closedTcpTransport
Description
Implement TcpTransport
for use with LinkService.
The TcpTransport
is a subclass of Transport
that communicates with either a local application or a remote forwarder via a TCP socket.
TcpTransport
is local if RemoteUri contains a loopback address; otherwise it's non-local.TcpTransport
can be on-demand, persistent, or permanent. However, in this issue only on-demand and persistent are supported.
After implementing TcpTransport
:
- change
TcpChannel
to initialize anLpFace(GenericLinkService+TcpTransport)
in place ofTcpFace
- delete old
TcpFace
andTcpLocalFace
Updated by Junxiao Shi about 9 years ago
- Blocked by Task #3088: Refactor Face as LinkService+Transport added
Updated by Junxiao Shi about 9 years ago
- Related to Feature #3165: UnixStreamTransport added
Updated by Junxiao Shi about 9 years ago
Unlike the old TcpFace
and TcpLocalFace
classes, there's no need to have a separate TcpLocalTransport
class.
TcpLocalFace
differs from TcpFace
in that it enables LocalControlHeader processing, but there's no such difference in Transport
API.
Changes for this issue should be uploaded to feature-lp
branch.
Most code can be adapted from old TcpFace
.
Initialization logic is partially designed in #3088 note-20.
The assignee may decide whether to have a StreamTransport
template that is shared between UnixStreamTransport
and TcpTransport
, or to implement them separately.
Updated by Junxiao Shi about 9 years ago
- Blocks Feature #3167: TcpTransport: persistency=permanent added
Updated by Junxiao Shi about 9 years ago
- Description updated (diff)
- Assignee set to Yukai Tu
Updated by Junxiao Shi about 9 years ago
- Blocks Task #3172: Refactor Face: completion added
Updated by Yukai Tu about 9 years ago
So we don't need LocalControlHeader processing in Tcp anymore?
Updated by Junxiao Shi about 9 years ago
Answer to note-8:
No, LocalControlHeader is replaced by NDNLPv2 which is provided by GenericLinkService.
TcpTransport only needs to send and receive ndn::Block
.
Updated by Yukai Tu about 9 years ago
- Status changed from New to In Progress
- Estimated time changed from 2.00 h to 1.00 h
Updated by Junxiao Shi about 9 years ago
- Blocked by Task #3178: Release 0.4.0-beta1 added
Updated by Junxiao Shi about 9 years ago
- Status changed from In Progress to New
- Estimated time changed from 1.00 h to 2.00 h
This should not start until after 0.4.0-beta1 release.
Updated by Junxiao Shi about 9 years ago
20151006 conference call decides: Change for this issue should be uploaded to master
branch.
This is a breaking change, so a 5-day notice on nfd-dev and ndn-lib will be needed before merging.
Updated by Yukai Tu about 9 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 90
Updated by Junxiao Shi about 9 years ago
- % Done changed from 90 to 100
http://gerrit.named-data.net/2495
Notice is sent to nfd-dev ndn-lib. Code can merge after Nov 01 12:00 UTC.
Updated by Junxiao Shi about 9 years ago
- Blocks Task #3306: TcpTransport: test suite improvement added
Updated by Junxiao Shi about 9 years ago
- Status changed from Code review to Closed