|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CommServer
CommServer is a simple Object passing class that sets up a simple server that can receive Objects. It can be initialized with or port or just find an open port
| Method Summary | |
|---|---|
void |
close()
tries to close server socket |
java.lang.String |
getHost()
returns the hostname of this server. |
int |
getPort()
returns the port number of this server. |
void |
init()
Tries to start a socketserver on any available port. |
void |
init(int iPort)
Tries to start a socketserver on the specified port. |
| Method Detail |
|---|
void init()
throws TransportFailure
TransportFailure
void init(int iPort)
throws TransportFailure
port -
TransportFailurevoid close()
java.lang.String getHost()
int getPort()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||