Class TestVServerSocketFactory


  • public class TestVServerSocketFactory
    extends java.lang.Object
    • Constructor Detail

      • TestVServerSocketFactory

        public TestVServerSocketFactory()
    • Method Detail

      • createInputThroughputVServer

        public static VSServer createInputThroughputVServer​(int port,
                                                            int packetSize)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • createOutputThroughputVServer

        public static VSServer createOutputThroughputVServer​(int port,
                                                             int packetSize)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • createLatencyVServer

        public static VSServer createLatencyVServer​(int port,
                                                    int packetSize)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • createEchoVServer

        public static VSServer createEchoVServer​(int port)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • createReadingVServer

        public static VSServer createReadingVServer​(int port,
                                                    int packetSize)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • createEmptyVServer

        public static VSServer createEmptyVServer​(int port)
                                           throws java.io.IOException
        Throws:
        java.io.IOException