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