Class part2.chapter10.NBServer
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class part2.chapter10.NBServer

java.lang.Object
   |
   +----part2.chapter10.NBServer

public class NBServer
extends Object
A singlethreaded nonblocking server that echos data between two client TCP connections.

Constructor Index

 o NBServer()

Method Index

 o main(String[])
Accepts two client connections and then proceeds to echo data between the clients using a nonblocking read method readNB().

Constructors

 o NBServer
  public NBServer()

Methods

 o main
  public static void main(String args[]) throws IOException
Accepts two client connections and then proceeds to echo data between the clients using a nonblocking read method readNB().
See Also:
readNB

All Packages  Class Hierarchy  This Package  Previous  Next  Index