18.01.2015 Views

20000730_CLINIC_NMRA-00 Computer Interface App.pdf

20000730_CLINIC_NMRA-00 Computer Interface App.pdf

20000730_CLINIC_NMRA-00 Computer Interface App.pdf

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.

KAM * DCC Object (Cookie)<br />

Matt Katzer<br />

San Jose, Calif.<br />

<strong>NMRA</strong> 2<strong>00</strong>0<br />

Copyright 2<strong>00</strong>0 KAM Industries<br />

all rights reserved.<br />

*KAM Industries is a division of<br />

KAMIND Associates, Inc.<br />

• DCC addresses are integrated in an object<br />

– Objects have a reference and can be translated<br />

– The object must be complete enough to use the API with as<br />

little information as possible<br />

– All information to control accessories or locomotives require<br />

and object as a reference<br />

» This allows developers to implement the sever as an<br />

object store independent of the operating system<br />

architecture.<br />

» The objects then become a “DccCookie”.<br />

• DccCookie encapsulate programming ports, command<br />

ports, decoder class and DCC addresss<br />

• The DCC cookie becomes the reference token for system<br />

calls and can easily be validated<br />

Page 22<br />

KAM<br />

TM

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

Saved successfully!

Ooh no, something went wrong!