23.05.2015 Views

Space Link Extension - Service Management - CCSDS

Space Link Extension - Service Management - CCSDS

Space Link Extension - Service Management - CCSDS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DRAFT RECOMMENDED STANDARD FOR SPACE LINK EXTENSION SERVICE MANAGEMENT<br />

Lifeline -<br />

represents a<br />

participant in the<br />

complete<br />

interaction,<br />

indicating either<br />

the source or<br />

destination of a<br />

message<br />

Interaction Frame<br />

“alt” - only one<br />

fragment will<br />

execute based on<br />

the guard of each<br />

fragment.<br />

Additional<br />

interaction frames<br />

include “loop” and<br />

“ref”. A “loop”<br />

frame will<br />

execute multiple<br />

times based on<br />

the conditions<br />

stated in the<br />

associated guard.<br />

Interaction Frame<br />

“ref” - frame<br />

refers to a<br />

previously<br />

defined<br />

sequence, called<br />

“ReturnChange”.<br />

ref<br />

alt<br />

Customer<br />

Message -<br />

represents<br />

communication<br />

between lifelines<br />

e.g. a request<br />

insert money<br />

select drink<br />

[if coffee selected]<br />

dispense cup of coffee<br />

[if tea selected]<br />

dispense cup of tea<br />

ReturnChange (selected drink, amount of money inserted)<br />

Vending machine<br />

brew coffee<br />

brew tea<br />

Guard - states a<br />

condition for the<br />

sequence<br />

included in the<br />

relevant frame or<br />

fragment to<br />

execute<br />

Return message -<br />

a message that is<br />

associated with a<br />

transaction that<br />

started with an<br />

initial message<br />

This frame defines a parameterized<br />

and re-usable sequence. The<br />

name of the sequence is<br />

“ReturnChange” and has two<br />

parameters.<br />

Parameters of this re-usable<br />

sequence. drink and money are<br />

variables that will determine what is<br />

return as change.<br />

sd ReturnChange (drink, money)<br />

Customer<br />

Vending machine<br />

alt<br />

[if money inserted is more than drink cost]<br />

return change<br />

calculate change amount<br />

“transaction complete”<br />

[else]<br />

“transaction complete”<br />

Figure E-5: Sequence Diagram Example<br />

<strong>CCSDS</strong> 910.11-R-2 Page E-6 March 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!