Package dev.getelements.elements.rt
Interface ServerContainer
public interface ServerContainer
This is the main class used to manage the lifecycle of the underlying
Scheduler
instances.
Created by patricktwohig on 9/12/15.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionrun
(SocketAddress... socketAddresses) Binds and runs the server.
-
Method Details
-
run
Binds and runs the server. This kicks off the main server thread, which then will begin accepting requets. The returnedFuture
is used to determine when the server is fully initiated.- Parameters:
socketAddresses
- theSocketAddress
, or addresses used for listening.
-