|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgcspy.comm.Server
public class Server
More socket stuff wrapped out
| Constructor Summary | |
|---|---|
Server(int port)
Create a new Server |
|
Server(int port,
int backlog)
Create a new Server |
|
| Method Summary | |
|---|---|
void |
close()
Close the server |
Client |
waitForNewClient(int maxLen)
Wait for a new client |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Server(int port,
int backlog)
throws java.io.IOException
port - The port to communicate onbacklog - The server socket backlog
java.io.IOException
public Server(int port)
throws java.io.IOException
port - The port to communicate on
java.io.IOException| Method Detail |
|---|
public Client waitForNewClient(int maxLen)
throws java.io.IOException
maxLen - The maximum length of the stream
java.io.IOException
public void close()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||