示例#1
0
 /**
  * Initializes this connection by setting a {@link SSLEngineHelper } and calling the super.
  *
  * @see SSLEngineHelper
  * @param key the Selection key provided by the {@link Selector}.
  * @throws ICPException
  */
 @Override
 void init(SocketChannel channel) throws ICPException {
   super.init(channel);
   if (log.isLoggable(Level.FINE)) {
     log.fine("initialize ssl tooling");
   }
   helper = new SSLEngineHelper(getRemoteHost(), channel.socket().getPort(), this);
   addBufferTransformer(helper);
 }