Package dev.omega24.upnp4j.gateway
Class GatewayFinder
java.lang.Object
dev.omega24.upnp4j.gateway.GatewayFinder
Searches for a gateway to connect to
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if we're still searching for a gatewayabstract voidonGatewayFind(Gateway gateway)Called when a gateway is found
-
Constructor Details
-
GatewayFinder
public GatewayFinder()Create a newGatewayFinder
-
-
Method Details
-
isSearching
public boolean isSearching()Checks if we're still searching for a gateway- Returns:
- True if we're still searching for a gateway
-
onGatewayFind
Called when a gateway is found- Parameters:
gateway- The gateway that was found
-