blob: 9458b4a5946652c3efc4d6b9c3a8d756e62bd6cb [file] [log] [blame]
Alexander Afanasyev11225012013-11-21 23:11:10 -08001Transport Class
2===============
3
4:[C++]:
5 Namespace: `ndn`
6
Alexander Afanasyev11225012013-11-21 23:11:10 -08007:Realizations:
8
9 - :ref:`UdpTransport Class <UdpTransport>`
10 - :ref:`TcpTransport Class <TcpTransport>`
11
Alexander Afanasyev06e798c2013-11-26 19:10:29 -080012
13Transport Constructor
14---------------------
15
16Create a base class Transport where the methods throw an "unimplemented" error. You should use a derived class like :ref:`UdpTransport <UdpTransport>`.
17
Alexander Afanasyev11225012013-11-21 23:11:10 -080018:[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 Afanasyev06e798c2013-11-26 19:10:29 -080031Transport.ConnectionInfo Class
32------------------------------
33
34:[C++]:
35 Namespace: `ndn`
36
37
38A Transport.ConnectionInfo is a base class for connection information used by subclasses of Transport.