← Prev in month ← Prev in thread

UML for Position Facet and for CtsStreams

From
William Cox <>
Date
2021-09-09T14:24:36+00:00
ID
Thread
UML for Position Facet and for CtsStreams
I've attached two PNGs (and included inline) for today's
      discussion. The working text (wd09-WIP2) is attached as a PDF.

    
I've included the EiPayloads PNG for discussion of the
      appropriateness and necessity for use of CtsStreams.

    

    
Our first UML diagram is the definition of CtsStream, a profiled
      WS-Calendar Stream that carries a long value and the number of
      decimal digits. The concrete StreamBase (called CtsStream)
      includes the stream interval duration and the start time
      (streamStart) for the concrete stream. The number of decimal
      digits is in the StreamBase.

    
The individual StreamIntervals contain the payload (long) and a
      possibly-option UID. I've used the ordered attribute for the
      streamIntervals, which could be implemented as an array or ordered
      list.

    

    

    
Using the CtsStream in the Position Facet payloads we get (only
      change is EiReplyPosition):

    

    

    
Recall that the boundingInterval in the EiRequestPosition payload
      gives the interval of interest; the return values are those that
      fit into the boundingInterval (as a closed interval - an
      appropriate response are intervals that fit entirely inside the
      boundingInterval, e.g. those intervals of the product/market
      granularity such that

    

    
ÂÂÂ boundingInterval.dtStart >= start of response interval //
      response interval starts at the same time as boundingInterval or
      later

    

    
ÂÂÂ ÂÂÂ AND

    
ÂÂÂ boundingInterval.dtStart + boundingInterval.duration >=
      end of response intervalÂÂÂ // response interval ends at the same
      time as boundingInterval or before

    
Thanks!

    
bill

    

    
-- 

      
      
      
      
      
      
      
William CoxÂ

      
Email: [email protected]Â

      
Web: http://www.CoxSoftwareArchitects.comÂ

      
+1 862 485 3696 mobile

      

      

    

  

Attachment:
CtsStream Definition.png

Description: PNG image

Attachment:
ei-cts-v1.0-wd09-WIP02-Position Facet Only 20210909.pdf

Description: Adobe PDF document

Attachment:
Position Facet Payloads.png

Description: PNG image

Attachment:
Position Facet and CtsStream.png

Description: PNG image

Attachment:
EiPayloads.png

Description: PNG image
← Prev in month ← Prev in thread