Package com.teamdev.jxbrowser.net.event
Interface NetworkChanged
- All Superinterfaces:
Event,NetworkEvent
An event indicating a change in the current network connection.
The event is triggered whenever a change affects the route network packets take to any network server.
For example, the event is triggered when:
- A network connection becomes available or going away;
- A VPN tunnel is established or taken down;
- An active network connection's IP address changes.
- Since:
- 7.17
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConnectionTypeReturns the connection type of the network at the time of the event.default Networknetwork()Returns theNetworkinstance initiated this event.
-
Method Details
-
network
Description copied from interface:NetworkEventReturns theNetworkinstance initiated this event.- Specified by:
networkin interfaceNetworkEvent
-
connectionType
Returns the connection type of the network at the time of the event.
-