Class UnicastTest


  • public class UnicastTest
    extends java.lang.Object
    Perf tests the UNICAST protocol by sending unicast messages between a sender and a receiver
    • Field Detail

      • sleep_time

        protected long sleep_time
      • oob

        protected boolean oob
      • dont_bundle

        protected boolean dont_bundle
      • num_threads

        protected int num_threads
      • num_msgs

        protected int num_msgs
      • msg_size

        protected int msg_size
    • Constructor Detail

      • UnicastTest

        public UnicastTest()
    • Method Detail

      • init

        public void init​(java.lang.String props,
                         long sleep_time,
                         java.lang.String name)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • connect

        protected void connect()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • disconnect

        protected void disconnect()
      • eventLoop

        public void eventLoop()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • printConnections

        protected void printConnections()
      • removeAllConnections

        protected void removeAllConnections()
      • sendMessages

        void sendMessages()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setSenderThreads

        void setSenderThreads()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setNumMessages

        void setNumMessages()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setMessageSize

        void setMessageSize()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • printView

        void printView()
      • getReceiver

        protected Address getReceiver()
      • main

        public static void main​(java.lang.String[] args)
      • help

        static void help()