face: Adding new 'createFace' method in all Factories

This method accepts parsed URI object and attempts to create Face on the
right channel (e.g., if hostname in URI resolved to IPv6, IPv6 TCP channel
will be used).

Factories that do not support 'createFace' operation will throw an exception.

As of this commit, *Factory::create methods are renamed to more explicit
*Factory::createChannel, and *Factory::connect to *Factory::createFace.
All other Factory-specific methods should denote what exactly is
created: channel, face, or multicast face.

Change-Id: I6396dc84c4cd8bbcdde9f55cfac90635d99e93e9
Refs: #1195
11 files changed
tree: 7641d6fcbd7323a298f680f4dc6bed956d540f90
  1. .waf-tools/
  2. daemon/
  3. docs/
  4. tests/
  5. tools/
  6. .gitignore
  7. .travis.yml
  8. COPYING
  9. INSTALL.md
  10. README-dev.md
  11. README.md
  12. waf
  13. wscript
README.md

NFD - Named Data Networking Forwarding Daemon