Publish/Subscribe with link loss at client (figure ignoring timings)

Publish/Subscribe Registration/Deregistration behavior (figure ignoring timings)

Publish/Subscribe with link loss at Server (figure ignoring timings)

Publish/Subscribe State Diagram (server behavior for unicast eventgroups)

Publish/Subscribe State Diagram (server behavior for multicast eventgroups

Publish/Subscribe State Diagram (server behavior for adaptive unicast/multicast eventgroups)

Publish/Subscribe Example for Endpoint Options and the usage of ports
- Example
- following Figure shows an example with the different Endpoint and a Multicast Option:
下圖展示了一個例子,使用不同的Endpoint和Multicast Option- The Server offers the Service Instance on Server UDP-Endpoint SU and Server TCP-Endpoint ST
服務器提供了一個服務實例,通過UDP-Endpoint (簡稱SU) 和 TCP-Endpoint ST(簡稱ST) - The Client opens a TCP connection
客戶端打開一個TCP連接(Socket) - The Client sends a Subscribe Eventgroup entry with Client UDP-Endpoint CU (unicast) and a Client TCP-Endpoint CT
客戶端發(fā)送一個Subscribe Eventgroup entry,帶有客戶端UDP-Endpoint (unicast)(簡稱CU)和一個客戶端TCP-Endpoint (簡稱CT) - The Server answers with a Subscribe Eventgroup Ack entry with Multicast MU
服務器通過多播option(簡稱MU)回復一個Subscribe Eventgroup Ack entry
- The Server offers the Service Instance on Server UDP-Endpoint SU and Server TCP-Endpoint ST
- Then the following operations happen:
接下來這么運行:- The Client calls a method on the Server
客戶端調(diào)用服務器端的method - Request is sent from CU to SU and Response from SU to CU
Request從客戶端通過UDP發(fā)給服務器端,回復消息從服務器端通過UDP發(fā)回客戶端 - For TCP this would be: Request dyn to ST and RESPONSE from ST to CT
- The Server sends a Unicast UDP Event: SU to CU
服務器端發(fā)送一個Unicast UDP Event:到客戶端:SU到CU - The Server sends a Unicast TCP Event: ST to CT
服務器端發(fā)送一個Unicast TCP Event到客戶端: ST到CT. - The Server sends a Multicast UDP Event: SU to MU
服務器端發(fā)送一個Multicast UDP Event到客戶端:SU到MU
- The Client calls a method on the Server
- Keep in mind that Multicast Endpoints use a Multicast IP Address on the receiver side,i.e. the client, and TCP cannot be used for Multicast















