SCHub Sequence Diagrams INTERNAL USAGE ONLY Hervé AVRIL February 20th, 2009
Client Session
Client Session [standard life cycle] SCHub SCHubGLSession Application willOpen() Opening hasBeenOpened() send() hasBeenReceived() send() Opened hasBeenReceived() send() hasBeenReceived() send() close() Closing hasBeenTerminated()
Client Session [connection via P3] Application SCHub SCHubGLResource SCHubGLSocket run() connect nak reconnect timeout connect ok newSession() new SCHubGLSession willOpen() false reconnect timeout willOpen() true send 1100 1100 ok 5004 read 5004 ok hasBeenOpened()
Server Session
Server Session [standard life cycle] SCHub SCHubGLSession Application willOpen() Opening hasBeenOpened() Opened close() hasBeenTerminated() Closing
Server Session [connection via P3] Application SCHub SCHubGLResource SCHubGLSocket run() connect nak reconnect timeout connect ok newSession() new SCHubGLSession willOpen() false reconnect timeout willOpen() true send 5000 5000 ok 5004 read 5004 ok hasBeenOpened()
Server Session [connection via listening socket] Application SCHub SCHubGLResource SCHubGLSocket run() newSession() new SCHubGLSession willOpen() false reconnect timeout willOpen() true listen ok hasBeenOpened()
Customer Session
Customer Session [standard life cycle] SCHub SCHubGLSession Application willOpen() accept() Opening hasBeenOpened() send() hasBeenReceived() send() Opened hasBeenReceived() send() hasBeenReceived() send() close() Closing hasBeenTerminated()
Customer Session [synchronous connection] Application SCHub SCHubGLResource SCHubGLSocket run() 1100 read 1100 ok newSession() new SCHubGLSession willOpen() true send 5004 5004 ok hasBeenOpened()
Customer Session [asynchronous connection] Application SCHub SCHubGLResource SCHubGLSocket run() 1100 read 1100 ok newSession() new SCHubGLSession willOpen() false accept() send 5004 5004 ok run() hasBeenOpened()
Customer Session [asynchronous reject] Application SCHub SCHubGLResource SCHubGLSocket run() 1100 read 1100 ok newSession() new SCHubGLSession willOpen() false reject() send 1102 1102 ok run() hasBeenTerminated()