Directory

DPulse - Vaadin Add-on Directory

Connection state visualizer. DPulse - Vaadin Add-on Directory
DataPulse is a component for visualizing the status of different external services. It can be used to only check that a server is up and running or that a specific request returns the correct response. The available visual modes right now are: Hexagon, LinkBox (a parallellogram) and Square. All visuals show the link status by color. Green for OK, Red for Down/Faulty and Yellow for status not known. Visuals also contain a color marker for visualizing time taken. Slow (orange), Medium (blue), Fast(green) and Not known (gray). Component also has a small informational window for seeing fault information for clicked elements. Polling is initiated by the client making an update request so right now connecting with multiple machines/browsers will pull up the amount of traffic the component generates. Note. If the component is set to setVisible(false) the poller stops. ------------------------- The DPulse component is quite versatile as connectors can be easily made for specific needs. To make your own connectors all you need to do is extend the ConnectionVerifier interface and handle the population and upkeep of ConnectionInformation. See HtmlConnector sample. Note. the synchronizing of connectionInfo so it's not updated and read at the same time. Note. ConnectionInformation can be initialized with and int that sets the size of the Ping times that are saved. The extended class can then be given to the DataPulse component.