Alexander Afanasyev | 1122501 | 2013-11-21 23:11:10 -0800 | [diff] [blame] | 1 | Transport.ConnectionInfo Class |
| 2 | ============================== |
| 3 | |
| 4 | :[C++]: |
| 5 | Namespace: `ndn` |
| 6 | |
| 7 | |
| 8 | A Transport.ConnectionInfo is a base class for connection information used by subclasses of Transport. |
| 9 | |
| 10 | Transport Class |
| 11 | =============== |
| 12 | |
| 13 | :[C++]: |
| 14 | Namespace: `ndn` |
| 15 | |
| 16 | Transport Constructor |
| 17 | --------------------- |
| 18 | |
| 19 | Create a base class Transport where the methods throw an "unimplemented" error. You should use a derived class like :ref:`UdpTransport <UdpTransport>`. |
| 20 | |
| 21 | :Realizations: |
| 22 | |
| 23 | - :ref:`UdpTransport Class <UdpTransport>` |
| 24 | - :ref:`TcpTransport Class <TcpTransport>` |
| 25 | |
| 26 | :[C++]: |
| 27 | |
| 28 | .. code-block:: c++ |
| 29 | |
| 30 | Transport(); |
| 31 | |
| 32 | :[JavaScript]: |
| 33 | |
| 34 | .. code-block:: javascript |
| 35 | |
| 36 | var Transport = function Transport() |
| 37 | |
| 38 | |