Class EchoServer
java.lang.Object
org.apache.arrow.tools.EchoServer
Simple server that echoes back data received.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHandler for each client connection to the server. -
Constructor Summary
ConstructorsConstructorDescriptionEchoServer(int port) Constructs a new instance that binds to the given port. -
Method Summary
-
Constructor Details
-
EchoServer
Constructs a new instance that binds to the given port.- Throws:
IOException
-
-
Method Details
-
main
-
port
public int port() -
run
-
close
- Throws:
IOException
-