| Line | |
|---|
| 1 | module altsteps { |
|---|
| 2 | //altstep skeleton without parameters |
|---|
| 3 | altstep a_sample () |
|---|
| 4 | runs on R3Comp { |
|---|
| 5 | } |
|---|
| 6 | |
|---|
| 7 | //altstep with full body, multiple parameters, with passing modes and a runs on clause |
|---|
| 8 | |
|---|
| 9 | altstep a_sample2 ( template R3Msg p_radiusAccntReq, inout template R3Msg p_radiusAccntRsp ) |
|---|
| 10 | runs on R3Comp { |
|---|
| 11 | |
|---|
| 12 | [] r3Port.receive ( m_r3MonitorInd ( p_radiusAccntReq ) ) { |
|---|
| 13 | v_ret := e_success; |
|---|
| 14 | } |
|---|
| 15 | [] r3Port.receive ( m_r3MonitorInd ( |
|---|
| 16 | e_RadiusAccountingRequest, |
|---|
| 17 | p_radiusAccntReq ) ) { |
|---|
| 18 | v_ret := e_success; |
|---|
| 19 | } |
|---|
| 20 | } |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | //altstep skeleton with a single parameter |
|---|
| 24 | altstep a_sample1 (template R3Msg p_radiusAccntReq) { |
|---|
| 25 | } |
|---|
| 26 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.