/** * This is used to transfer the transport to the processor. This * will typically be executed asynchronously so that it does not * delay the thread that passes the <code>Transport</code> to the * transport processor, ensuring quicker processing. */ public void run() { try { processor.process(transport); }catch(Exception e) { cancel(); } }
/** * This is used to transfer the transport to the processor. This * will typically be executed asynchronously so that it does not * delay the thread that passes the <code>Transport</code> to the * transport processor, ensuring quicker processing. */ public void run() { try { processor.process(transport); }catch(Exception e) { cancel(); } }
/** * This method is invoked when the negotiation is done and the * next phase of the connection is to take place. This will * be invoked when the SSL handshake has completed and the new * secure transport is to be handed to the processor. */ private void dispatch() throws IOException { Transport secure = new SecureTransport(transport, state, output, input); if(processor != null) { trace.trace(HANDSHAKE_DONE); processor.process(secure); } }
/** * This method is invoked when the negotiation is done and the * next phase of the connection is to take place. This will * be invoked when the SSL handshake has completed and the new * secure transport is to be handed to the processor. */ private void dispatch() throws IOException { Transport secure = new SecureTransport(transport, state, output, input); if(processor != null) { trace.trace(HANDSHAKE_DONE); processor.process(secure); } }