blob: 9458b4a5946652c3efc4d6b9c3a8d756e62bd6cb [file] [log] [blame]
Transport Class
===============
:[C++]:
Namespace: `ndn`
:Realizations:
- :ref:`UdpTransport Class <UdpTransport>`
- :ref:`TcpTransport Class <TcpTransport>`
Transport Constructor
---------------------
Create a base class Transport where the methods throw an "unimplemented" error. You should use a derived class like :ref:`UdpTransport <UdpTransport>`.
:[C++]:
.. code-block:: c++
Transport();
:[JavaScript]:
.. code-block:: javascript
var Transport = function Transport()
Transport.ConnectionInfo Class
------------------------------
:[C++]:
Namespace: `ndn`
A Transport.ConnectionInfo is a base class for connection information used by subclasses of Transport.