8.26.2 When a message is received
The following figure shows the trace collection points in WebSocket.
|
|
The following table describes the event IDs, trace levels, trace collection points, and information that can be collected.
Event ID |
No. in the figures# |
Level |
Trace acquisition points |
Information that you can acquire |
||
---|---|---|---|---|---|---|
Interface name |
Operation name |
Optional |
||||
0xE102 |
5 |
A |
Immediately before the start of processing for the received WebSocket frame |
READ |
-- |
-- |
0xE103 |
12 |
A |
Immediately after the completion of processing for the received WebSoket frame |
READ |
-- |
|
0xE140 |
6 |
A |
Immediately before the start of processing after receiving a data frame |
MESSAGE |
One of the following:
|
-- |
0xE141 |
11 |
A |
Immediately after the completion of processing after receiving a data frame |
MESSAGE |
One of the following:
|
|
0xE122 |
7 |
A |
Immediately before invoking a method annotated with @OnMessage |
Class name of the endpoint |
Method name |
-- |
0xE123 |
8 |
A |
Immediately after the processing of a method annotated with @OnOpen is complete |
Class name of the endpoint |
Method name |
|
0xE124 |
7 |
A |
Immediately before invoking the onMessage method of the implementation class of javax.websocket.MessageHandler.Whole |
Implementation class name of javax.websocket.MessageHandler.Whole |
Method name |
-- |
0xE125 |
8 |
A |
Immediately after the processing of the onMessage method of the implementation class of javax.websocket.MessageHandler.Whole is complete |
Implementation class name of javax.websocket.MessageHandler.Whole |
Method name |
|
0xE126 |
7 |
A |
Immediately before invoking the onMessage method of the implementation class of javax.websocket.MessageHandler.Partial |
Implementation class name of javax.websocket.MessageHandler.Partial |
Method name |
-- |
0xE127 |
8 |
A |
Immediately after the processing of the onMessage method of the implementation class of javax.websocket.MessageHandler.Partial is complete |
Implementation class name of javax.websocket.MessageHandler.Partial |
Method name |
|
0xE128 |
9 |
A |
Immediately before invoking a method annotated with @OnError or the onError method of the javax.websocket.Endpoint implementation class |
Class name of the endpoint |
Method name |
-- |
0xE129 |
10 |
A |
Immediately after the processing of the method annotated with @OnError or the processing of the onError method of the javax.websocket.Endpoint implementation class is complete |
Class name of the endpoint |
Method name |
|
- Legend:
-
A: Standard
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-101 and Figure 8-102.