get selected guestsget open reservationsget total price reservationsadd prices per guestadd prices of all guestsfor all guestsfor all reservationsreducereduce
@startuml
(*) --> "get selected guests"
-->[for all guests] get open reservations
-->[for all reservations] get total price reservations
-->[reduce] add prices per guest
-->[reduce] add prices of all guests
-->(*)
@enduml
@startuml
alice -> bob: hello
note left: this is a first note
bob -> alice: ok
note right: this is another note
bob -> bob: i am thinking
note left
a note
can also defined
on several lines
end note
@enduml
SEQUENCE DIAGRAM
6046223567945728
ABCLatticename: strprim_cell: PrimitiveCellsize: int[3]origin: float[3]data: DataContainerget_node(index: int[3]) LatticeNodeupdate_nodes(nodes: iterable of LatticeNode)iter_nodes(indices: iterable of int[3] {optional}): iterator of LatticeNodeget_coordinate((index: int[3]): float[3]count_of(key: CUDSItem): integerPrimitiveCellp1: float[3]p2: float[3]p3: float[3]bravais_lattice: int
CLASS DIAGRAM
6046822984318976
ABCLatticename: strprim_cell: PrimitiveCellsize: int[3]origin: float[3]data: DataContainerget_node(index: int[3]) LatticeNodeupdate_nodes(nodes: iterable of LatticeNode)iter_nodes(indices: iterable of int[3] {optional}): iterator of LatticeNodeget_coordinate((index: int[3]): float[3]count_of(key: CUDSItem): integerPrimitiveCellp1: float[3]p2: float[3]p3: float[3]bravais_lattice: int
Socket Disonnection Sequenceserver or clientserver or clientconnectionconnectionsocket_adaptorsocket_adaptorasio.socketasio.socketconnection open for transmission and receptionaltshutdowndisconnectalt[ssl]shutdownasync_shutdownssl shutdown responseThe ssl socket_adaptor ignoresthe ssl shutdown responseasync_writeThe write will fail with errorSSL_R_PROTOCOL_IS_SHUTDOWNwrite_callback[tcp]shutdownshutdowndisconnectedThe tcp socket_adaptor waitsfor the tcp socket to disconnectwrite_callbackThe tcp socket_adaptor sendseof to signal disconnecteddisconnected
SEQUENCE DIAGRAM
6050233993658368
Socket Disonnection Sequenceserver or clientserver or clientconnectionconnectionsocket_adaptorsocket_adaptorasio.socketasio.socketconnection open for transmission and receptionaltshutdowndisconnectalt[ssl]shutdownasync_shutdownssl shutdown responseThe ssl socket_adaptor ignoresthe ssl shutdown responseasync_writeThe write will fail with errorSSL_R_PROTOCOL_IS_SHUTDOWNwrite_callback[tcp]shutdownshutdowndisconnectedThe tcp socket_adaptor waitsfor the tcp socket to disconnectwrite_callbackThe tcp socket_adaptor sendseof to signal disconnecteddisconnected
@startuml
'Copyright (c) 2013-2015 Ken Barker
title Socket Disonnection Sequence
'autonumber
actor "server or client"
... connection open for transmission and reception ...
alt
"server or client" -> connection : shutdown
else
connection <- socket_adaptor: disconnect
end alt
alt ssl
connection -> socket_adaptor : shutdown
socket_adaptor -> asio.socket : async_shutdown
socket_adaptor <- asio.socket : ssl shutdown response
note left
The ssl socket_adaptor ignores
the ssl shutdown response
end note
socket_adaptor -> asio.socket : async_write
note left
The write will fail with error
SSL_R_PROTOCOL_IS_SHUTDOWN
end note
connection <- asio.socket : write_callback
else tcp
connection -> socket_adaptor : shutdown
socket_adaptor -> asio.socket : shutdown
socket_adaptor <- asio.socket : disconnected
note left
The tcp socket_adaptor waits
for the tcp socket to disconnect
end note
connection <- socket_adaptor : write_callback
note right
The tcp socket_adaptor sends
eof to signal disconnected
end note
end alt
"server or client" <- connection : disconnected
@enduml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
UserUserAppAppFoursquareAPIFoursquareAPIServerServerDatabaseDatabasecheck ingps datalist of venuesuser picks a venuemakePostRequest()checkIn()ResultSetalt[login key is correct]HTTP Response(success:true)[else]HTTP Response(success:false)
SEQUENCE DIAGRAM
6078193425448960
UserUserAppAppFoursquareAPIFoursquareAPIServerServerDatabaseDatabasecheck ingps datalist of venuesuser picks a venuemakePostRequest()checkIn()ResultSetalt[login key is correct]HTTP Response(success:true)[else]HTTP Response(success:false)
@startuml
actor User
User->App:check in
App->FoursquareAPI:gps data
FoursquareAPI-->App:list of venues
App->App:user picks a venue
App->Server:makePostRequest()
Server->Database:checkIn()
Database-->Server:ResultSet
alt login key is correct
Server-->App:HTTP Response(success:true)
else else
Server-->App:HTTP Response(success:false)
end
@enduml
SEQUENCE DIAGRAM
6078193425448960
:ConfigurableClientList:CacheConfig:ZoneTableSegment(Mapped)seg1:MemorySegment(Mapped)seg2:MemorySegment(Mapped):b10-auth:b10-auth:ConfigurableClientList:CacheConfig:ZoneTableSegment(Mapped)seg1:MemorySegment(Mapped)seg2:MemorySegment(Mapped)new/initial config(datasrc cfg)<<construct>>:ConfigurableClientListconfigure(cfg)<<construct>> (cfg):CacheConfig<<construct>>:ZoneTableSegment(Mapped)isWritable()Segment not writablewhen not resetfalsegetStatus()DataSourceStatus[]subscribe tomemmgr groupcommand frommemmgr(datasrc_name,segmentparam)resetMemorySegment(datasrc_name,READ_ONLY,segmentparam)reset(READ_ONLY,segmentparam)<<construct>>seg1:MemorySegment(Mapped)command frommemmgr(datasrc_name,segmentparam)resetMemorySegment(datasrc_name,READ_ONLY,segmentparam)reset(READ_ONLY,segmentparam)<<destroy>><<construct>>seg2:MemorySegment(Mapped)reload(zonename)getCachedZoneWriter(zone_name)isWritable()Segment not writableas it is READ_ONLYfalseCACHE_NOT_WRITABLE
SEQUENCE DIAGRAM
6081862132826112
:ConfigurableClientList:CacheConfig:ZoneTableSegment(Mapped)seg1:MemorySegment(Mapped)seg2:MemorySegment(Mapped):b10-auth:b10-auth:ConfigurableClientList:CacheConfig:ZoneTableSegment(Mapped)seg1:MemorySegment(Mapped)seg2:MemorySegment(Mapped)new/initial config(datasrc cfg)<<construct>>:ConfigurableClientListconfigure(cfg)<<construct>> (cfg):CacheConfig<<construct>>:ZoneTableSegment(Mapped)isWritable()Segment not writablewhen not resetfalsegetStatus()DataSourceStatus[]subscribe tomemmgr groupcommand frommemmgr(datasrc_name,segmentparam)resetMemorySegment(datasrc_name,READ_ONLY,segmentparam)reset(READ_ONLY,segmentparam)<<construct>>seg1:MemorySegment(Mapped)command frommemmgr(datasrc_name,segmentparam)resetMemorySegment(datasrc_name,READ_ONLY,segmentparam)reset(READ_ONLY,segmentparam)<<destroy>><<construct>>seg2:MemorySegment(Mapped)reload(zonename)getCachedZoneWriter(zone_name)isWritable()Segment not writableas it is READ_ONLYfalseCACHE_NOT_WRITABLE