Class UnicastTestTcpRpc

java.lang.Object
org.jgroups.tests.UnicastTestTcpRpc

public class UnicastTestTcpRpc extends Object
Tests the UNICAST by invoking unicast RPCs between a sender and a receiver
  • Field Details

    • srv_sock

      private ServerSocket srv_sock
    • sock

      private volatile Socket sock
    • sock_in

      private DataInputStream sock_in
    • sock_out

      private DataOutputStream sock_out
    • sleep_time

      private long sleep_time
    • exit_on_end

      private boolean exit_on_end
    • busy_sleep

      private boolean busy_sleep
    • sync

      private boolean sync
    • oob

      private boolean oob
    • num_threads

      private int num_threads
    • num_msgs

      private int num_msgs
    • msg_size

      private int msg_size
    • addr

      private InetAddress addr
    • local_port

      private int local_port
    • dest_port

      private int dest_port
    • started

      private boolean started
    • start

      private long start
    • stop

      private long stop
    • current_value

      private AtomicInteger current_value
    • num_values

      private int num_values
    • print

      private int print
    • total_bytes

      private AtomicLong total_bytes
    • acceptor

      private Thread acceptor
    • buf

      private final byte[] buf
    • total_req_time

      long total_req_time
    • total_rsp_time

      long total_rsp_time
    • entire_req_time

      long entire_req_time
    • num_entire_reqs

      long num_entire_reqs
    • num_reqs

      int num_reqs
    • num_rsps

      int num_rsps
    • START

      static final byte START
      See Also:
    • RECEIVE_ASYNC

      static final byte RECEIVE_ASYNC
      See Also:
    • RECEIVE_SYNC

      static final byte RECEIVE_SYNC
      See Also:
    • ACK

      static final byte ACK
      See Also:
  • Constructor Details

    • UnicastTestTcpRpc

      public UnicastTestTcpRpc()
  • Method Details