03.01.2013 Views

The DTN Reference Implementation - Delay Tolerant Networking ...

The DTN Reference Implementation - Delay Tolerant Networking ...

The DTN Reference Implementation - Delay Tolerant Networking ...

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.

Example Event / Action Flow<br />

User configures a new<br />

ONDEMAND TCP link<br />

and a route for the link.<br />

event: LINK_CREATED<br />

event: LINK_AVAILABLE<br />

Router adds link to<br />

route table.<br />

TCPCL interface accept()’s<br />

a new connection and<br />

constructs a new bundle<br />

from the wire.<br />

event: BUNDLE_ARRIVED<br />

Router matches the link in<br />

the route table as the only<br />

next hop for the bundle.<br />

action: STORE_ADD<br />

action: OPEN_LINK<br />

Database stores the bundle.<br />

TCPCL resolves the destination<br />

admin string and establishes a<br />

connection to the next hop.<br />

event: CONTACT_UP<br />

Router checks the link, finds<br />

a pending bundle, moves<br />

the bundle to the contact.<br />

action: ENQUEUE_BUNDLE<br />

TCP Connection thread picks<br />

bundle off contact queue,<br />

sends it to the next hop.<br />

Router checks bundle<br />

mappings and finds<br />

no other destinations<br />

action: STORE_DEL<br />

Database removes<br />

the bundle.<br />

3/13/05 <strong>DTN</strong> <strong>Reference</strong> <strong>Implementation</strong> 16<br />

event: BUNDLE_TRANSMITTED<br />

Disruption occurs on the<br />

connection, TCPCL times<br />

out on a keepalive message<br />

event: CONTACT_DOWN<br />

event: LINK_UNAVAILABLE<br />

Router checks queues for<br />

any bundles that need to be<br />

re-routed to other links.

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

Saved successfully!

Ooh no, something went wrong!