Harald Welte | ac35980 | 2017-04-12 12:13:44 +0200 | [diff] [blame] | 1 | /////////////////////////////////////////////////////////////////////////////// |
| 2 | // // |
| 3 | // Copyright Test Competence Center (TCC) ETH 2008 // |
| 4 | // // |
| 5 | // The copyright to the computer program(s) herein is the property of TCC. // |
| 6 | // The program(s) may be used and/or copied only with the written permission // |
| 7 | // of TCC or in accordance with the terms and conditions stipulated in the // |
| 8 | // agreement/contract under which the program(s) have been supplied // |
| 9 | // // |
| 10 | /////////////////////////////////////////////////////////////////////////////// |
| 11 | // |
| 12 | // File: MTP3asp_PortType.ttcn |
| 13 | // Reference: ITU-T Recommendation Q.704, RFC3332 |
| 14 | // Rev: R11A01 |
| 15 | // Prodnr: CNL 113 337 |
| 16 | // Updated: 2008-02-07 |
| 17 | // Contact: http://ttcn.ericsson.se |
| 18 | |
| 19 | module MTP3asp_PortType |
| 20 | { |
| 21 | |
| 22 | import from MTP3asp_Types all; |
| 23 | // ************************************************************************* |
| 24 | // * MTP3 port type definitions * |
| 25 | // ************************************************************************* |
| 26 | |
| 27 | // MTP3 port type used by the component up to the MTP3 SAP |
| 28 | // (eg. any component connected to the MTP3 test port) |
| 29 | type port MTP3asp_PT message |
| 30 | { |
| 31 | in ASP_MTP3_TRANSFERind; |
| 32 | in ASP_MTP3_PAUSE; |
| 33 | in ASP_MTP3_RESUME; |
| 34 | in ASP_MTP3_STATUS; |
| 35 | out ASP_MTP3_TRANSFERreq; |
| 36 | } with {extension "provider"} |
| 37 | |
| 38 | // MTP3 port type used by the component up to the MTP3 SAP |
| 39 | // (e.g. the distribution component) |
| 40 | type port MTP3asp_SP_PT message |
| 41 | { |
| 42 | in ASP_MTP3_TRANSFERreq; |
| 43 | out ASP_MTP3_TRANSFERind; |
| 44 | } |
| 45 | with {extension "internal"} |
| 46 | |
| 47 | //Connecting functions |
| 48 | //---------------------------- |
| 49 | external function f_MTP3_SEA_connect |
| 50 | ( inout MTP3asp_PT portRef, |
| 51 | in charstring Hostname, |
| 52 | in integer Port, |
| 53 | in charstring EntityName, |
| 54 | in boolean Http //or MPH Port is provided |
| 55 | )return boolean; |
| 56 | |
| 57 | external function f_MTP3_SEA_disconnect |
| 58 | ( inout MTP3asp_PT portRef |
| 59 | )return boolean; |
| 60 | |
| 61 | }//eof module |