Class RMIMultiSocketClient

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.reflect.InvocationHandler

    public class RMIMultiSocketClient
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler, java.io.Serializable
    Version:
    $Revision$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Random random  
      private static long serialVersionUID
      The serialVersionUID
      protected java.rmi.Remote[] stubs  
    • Constructor Summary

      Constructors 
      Constructor Description
      RMIMultiSocketClient​(java.rmi.Remote[] stubs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

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

      • serialVersionUID

        private static final long serialVersionUID
        The serialVersionUID
        See Also:
        Constant Field Values
      • stubs

        protected java.rmi.Remote[] stubs
      • random

        protected java.util.Random random
    • Constructor Detail

      • RMIMultiSocketClient

        public RMIMultiSocketClient​(java.rmi.Remote[] stubs)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable