com.echomine.net
Interface HandshakeableSocketHandler

All Superinterfaces:
SocketHandler

public interface HandshakeableSocketHandler
extends SocketHandler

This interface adds an additional handshake method to the socket handler


Method Summary
 void handshake(alt.java.net.Socket socket)
          the handler will do an initial handshake first before having handle called.
 
Methods inherited from interface com.echomine.net.SocketHandler
handle, shutdown, start
 

Method Detail

handshake

void handshake(alt.java.net.Socket socket)
               throws HandshakeFailedException
the handler will do an initial handshake first before having handle called. Note that if handshaking problems occurs, the socket does not necessarily have to be closed. Rather, the one calling this method will have to handle the closing of the socket.

Throws:
HandshakeFailedException - when error occurs during handshaking


Copyright © 2001-2005 Echomine. All Rights Reserved.