public interface NetworkChanged extends NetworkEvent
The event is triggered whenever a change affects the route network packets take to any network server.
For example, the event is triggered when:
Modifier and Type | Method and Description |
---|---|
default ConnectionType |
connectionType()
Returns the connection type of the network at the time of the event.
|
default Network |
network()
Returns the
Network instance initiated this event. |
default Network network()
NetworkEvent
Network
instance initiated this event.network
in interface NetworkEvent
default ConnectionType connectionType()