Class EchoServer
java.lang.Object
org.glassfish.grizzly.samples.connectionpool.EchoServer
The simple echo server implementation,
which is used to test client-side connection pool.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theSocketAddressthe server is bound to.voidstart()Starts the server.voidstop()Stops the server.
-
Constructor Details
-
EchoServer
-
-
Method Details
-
getEndpointAddress
Returns theSocketAddressthe server is bound to. -
start
Starts the server.- Throws:
IOException
-
stop
Stops the server.- Throws:
IOException
-