aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/doc/src/megaco_transport_mechanisms.xml
blob: e2e32a8095670c4497988ca7b80d9560da17e8c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>2000</year><year>2016</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
 
          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
    
    </legalnotice>

    <title>Transport mechanisms</title>
    <prepared>H&aring;kan Mattsson</prepared>
    <responsible>H&aring;kan Mattsson</responsible>
    <docno></docno>
    <approved>H&aring;kan Mattsson</approved>
    <checked></checked>
    <date>2007-06-15</date>
    <rev>%VSN%</rev>
    <file>megaco_transport_mechanisms.xml</file>
  </header>

  <section>
    <title>Callback interface</title>
    <p>The callback interface of the transport module contains several
      functions. Some of which are mandatory while others are only
      optional: </p>
    <list type="bulleted">
      <item>
        <p><c><![CDATA[send_message]]></c> - Send a message. <em>Mandatory</em></p>
      </item>
      <item>
        <p><c><![CDATA[block]]></c> - Block the transport. <em>Optional</em></p>
        <p>This function is usefull for flow control.</p>
      </item>
      <item>
        <p><c><![CDATA[unblock]]></c> - Unblock the transport. <em>Optional</em></p>
      </item>
    </list>
    <p>For more detail, see the 
      <seealso marker="megaco_transport">megaco_transport</seealso>
      behaviour definition.</p>
  </section>

  <section>
    <title>Examples</title>
    <p>The Megaco/H.248 application contains implementations
      for the two protocols specified by the Megaco/H.248 standard;
      UDP, see <seealso marker="megaco_udp">megaco_udp</seealso>, 
      and TCP/TPKT, see <seealso marker="megaco_tcp">megaco_tcp</seealso>. </p>
  </section>
</chapter>