Package com.starlight.intrepid.spi.mina

Examples of com.starlight.intrepid.spi.mina.MINAIntrepidSPI


*
*/
public class CompressedCommTest extends CommTest {
  @Override
  protected IntrepidSPI createSPI( boolean server ) {
    return new MINAIntrepidSPI( true, null );
  }
View Full Code Here


    throws IOException {

    if ( setup == null ) setup = new IntrepidSetup();

    IntrepidSPI spi = setup.getSPI();
    if ( spi == null ) spi = new MINAIntrepidSPI();

    ScheduledExecutor thread_pool = setup.getThreadPool();
    if ( thread_pool == null ) {
      thread_pool = SharedThreadPool.INSTANCE;
    }
View Full Code Here

    SSLConfig config = new SSLConfig( SSLContext.getDefault() );
    config.setNeedClientAuth( false );
    config.setWantClientAuth( false );
    config.setEnabledCipherSuites( new String[] { "SSL_DH_anon_WITH_RC4_128_MD5" } );
    config.setUseClientMode( !server );
    return new MINAIntrepidSPI( false, config );
  }
View Full Code Here

TOP

Related Classes of com.starlight.intrepid.spi.mina.MINAIntrepidSPI

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.