|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectequip.net.ServerSap
equip.net.ServerSapTcp
Concrete implemented of ServerSap using ServerSocket.
| Field Summary | |
protected java.net.ServerSocket |
socket
|
| Fields inherited from class equip.net.ServerSap |
address, port, status |
| Constructor Summary | |
ServerSapTcp()
Open on any port |
|
ServerSapTcp(short port)
Open on specific port |
|
| Method Summary | |
ConnectionSap |
accept()
Accept an incoming connection, normally blocking |
void |
close()
Close the server socket (no more connections) |
protected void |
finalize()
|
int |
getProtocol()
What protocol (from SapProtocol) |
protected void |
init(short port)
|
| Methods inherited from class equip.net.ServerSap |
getAddress, getPort, getStatus, rewriteLocalAddress |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.net.ServerSocket socket
| Constructor Detail |
public ServerSapTcp()
public ServerSapTcp(short port)
| Method Detail |
protected void finalize()
protected void init(short port)
public int getProtocol()
ServerSapSapProtocol)
getProtocol in class ServerSappublic ConnectionSap accept()
ServerSap
accept in class ServerSappublic void close()
ServerSap
close in class ServerSap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||