Class HomekitHttpServer
- java.lang.Object
-
- io.github.hapjava.server.impl.http.impl.HomekitHttpServer
-
- All Implemented Interfaces:
HomekitWebHandler
public class HomekitHttpServer extends Object implements HomekitWebHandler
-
-
Constructor Summary
Constructors Constructor Description HomekitHttpServer(InetAddress localAddress, int port, int nThreads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidresetConnections()CompletableFuture<Integer>start(HomekitClientConnectionFactory clientConnectionFactory)voidstop()
-
-
-
Constructor Detail
-
HomekitHttpServer
public HomekitHttpServer(InetAddress localAddress, int port, int nThreads)
-
-
Method Detail
-
stop
public void stop()
- Specified by:
stopin interfaceHomekitWebHandler
-
start
public CompletableFuture<Integer> start(HomekitClientConnectionFactory clientConnectionFactory)
- Specified by:
startin interfaceHomekitWebHandler
-
resetConnections
public void resetConnections()
- Specified by:
resetConnectionsin interfaceHomekitWebHandler
-
-