

However, in order to analyze additional types of traffic, Wireshark uses custom-made dissector plugins.

Moreover, while the client is up and running, we can use Wireshark to sniff the WebSocket packets: 8.Using Wireshark to intercept, analyze and display network data in Tezosįor a developer who is working directly with a Tezos node, it is very useful to be able to view the traffic of data that moves through the network. In the logs, we can see the connection and the message exchange. Hence, let's give a meaningful implementation to these methods: public class StompClientSessionHandler extends StompSessionHandlerAdapter void afterConnected(StompSession session, StompHeaders connectedHeaders) Intentionally, the StompSessionHandlerAdapter class does not provide implementations except for the method getPayloadType. Next, let's define a handler that extends the StompSessionHandlerAdapter. This creates a WebSocket client and then registers a STOMP client session handler. StompSessionHandler sessionHandler = new StompClientSessionHandler() tMessageConverter(new MappingJackson2MessageConverter()) WebSocketStompClient stompClient = new WebSocketStompClient(client)

WebSocketClient client = new StandardWebSocketClient()
