Home | History | Annotate | Download | only in conscrypt
      1 package org.conscrypt;
      2 
      3 import java.io.IOException;
      4 
      5 /**
      6  * Utility for creating test client and server endpoints.
      7  */
      8 interface EndpointFactory {
      9   ClientEndpoint newClient(ChannelType channelType, int port, String[] protocols,
     10       String[] ciphers) throws IOException;
     11 
     12   ServerEndpoint newServer(ChannelType channelType, int messageSize,
     13       String[] protocols, String[] ciphers) throws IOException;
     14 }
     15