public class ControllerInternalRestServer extends Object
Constructor and Description |
---|
ControllerInternalRestServer(int port,
BeginShutdownControllerHandle beginShutdownControllerHandle,
CheckReadyControllerHandle checkReadyControllerHandle) |
public ControllerInternalRestServer(int port, BeginShutdownControllerHandle beginShutdownControllerHandle, CheckReadyControllerHandle checkReadyControllerHandle)
port
- the port at which to star the Rest ServerbeginShutdownControllerHandle
- A non-null implementation of BeginShutdownControllerHandle
.
This instance will invoke close() on the handle; the creator should not do socheckReadyControllerHandle
- A non-null implementation of CheckReadyControllerHandle
.
This instance will invoke close() on the handle; the creator should not do so