|
Holger's Java API |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use HandshakeException | |
|---|---|
| com.antelmann.net | The classes in this package are designed to provide convenient access to Internet related functionality. |
| Uses of HandshakeException in com.antelmann.net |
|---|
| Methods in com.antelmann.net that throw HandshakeException | |
|---|---|
void |
SimpleHandshake.clientHandshake(NetConnection con)
|
void |
Handshake.clientHandshake(NetConnection con)
performs a handshake for the given socket on behalf of a client |
static SocketConnection |
SocketConnection.createConnection(String hostname,
int port)
|
static SocketConnection |
SocketConnection.createConnection(String hostname,
int port,
Handshake hs)
returns a SocketConnection provided there is a Server listening at the specified location with the secified signature; note that this method is blocking. |
static SocketConnection |
SocketConnection.createServerConnection(int port,
Handshake hs)
|
static SocketConnection |
SocketConnection.createServerConnection(ServerSocket serverSocket,
Handshake hs)
waits and listens for a single connection to be made and returns a SocketConnection if the connection made matches the signature. |
static SocketConnection |
SocketConnection.createServerConnection(Socket socket,
Handshake hs)
creates a connection based on a socket that results from a ServerSocket.accept() |
void |
SocketConnection.reconnect()
applies to the client side of a connection rather than a server |
void |
SocketConnection.reconnect(int timeout)
applies to the client side of a connection rather than a server; the timeout only appies to the handshake. |
void |
SimpleHandshake.serverHandshake(NetConnection con)
|
void |
Handshake.serverHandshake(NetConnection con)
performs a handshake for the given socket on behalf of a server |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||