package org.craft.atom.protocol.ssl;

/**
 * The handshake handler for {@link SslCodec} 
 * 
 * @author mindwind
 * @version 1.0, Oct 18, 2013
 */
public interface SslHandshakeHandler {
	
	/**
	 * Need write to remote side before handshake can continue.
	 * 
	 * @param bytes
	 */
	void needWrite(byte[] bytes);
	
}

package org.craft.atom.protocol.ssl;

/**
 * The handshake handler for {@link SslCodec} 
 * 
 * @author mindwind
 * @version 1.0, Oct 18, 2013
 */
public interface SslHandshakeHandler {
	
	/**
	 * Need write some handshake data to remote side before handshake can continue.
	 * 
	 * @param bytes
	 */
	void needWrite(byte[] bytes);
	
}

improve - java doc