Class NetworkGlueLoopBack

  • All Implemented Interfaces:
    NetworkGlue

    public class NetworkGlueLoopBack
    extends java.lang.Object
    implements NetworkGlue
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long[] getStats()  
      int send​(int local_port, java.net.InetSocketAddress target, byte[] data)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • message_queue

        final java.util.List message_queue
      • random

        private final java.util.Random random
    • Constructor Detail

    • Method Detail

      • send

        public int send​(int local_port,
                        java.net.InetSocketAddress target,
                        byte[] data)
                 throws java.io.IOException
        Specified by:
        send in interface NetworkGlue
        Throws:
        java.io.IOException