Package org.minijax.nio
Class MinijaxNioServer
java.lang.Object
org.minijax.nio.MinijaxNioServer
- All Implemented Interfaces:
MinijaxServer
public class MinijaxNioServer extends java.lang.Object implements MinijaxServer
-
Constructor Summary
Constructors Constructor Description MinijaxNioServer(Minijax minijax)Create a new server using the system default SelectorProvider. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MinijaxNioServer
Create a new server using the system default SelectorProvider.- Parameters:
minijax- The minijax application.- Throws:
java.io.IOException
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceMinijaxServer
-
stop
public void stop()- Specified by:
stopin interfaceMinijaxServer
-