|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StringServerSocket
StringServerSocket allows server applications to communicate with clients, with no difference between local and actual networked traffic.
1.0.0 - 2007-11-18 - initial release 1.0.3 - 2008-08-08 - add change history; no other changes in this file since 1.0.0 1.0.4 - 2008-09-04 - no change in this file 1.0.5 - 2009-05-31 - no change in this file 1.0.5.1- 2009-10-26- remove unused import EOFException
| Method Summary | |
|---|---|
StringConnection |
accept()
For server to call. |
void |
close()
Close down server socket immediately: Do not let inbound data drain. |
| Method Detail |
|---|
StringConnection accept()
throws java.net.SocketException,
java.io.IOException
java.io.IOException - if network has a problem accepting
java.net.SocketException - if our setEOF() has been called, thus
new clients won't receive any data from us
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 | |||||||||