Edit D:\app\Administrator\product\11.2.0\dbhome_1\ons\lib\oracle\eons\rpc\impl\RpcClientImpl.class
?? 1: ? ?! ?"#$ % ?& ?'( ) ?*+ " ,- ?. ?/ ?01 "2 345 "6789 :; < = > ??6@ -A ?B ?C ?DEF6GHIJKJLM -N ?OP 0Q6N RSTUEV???????? ?W ?X ,Y6Z[\ ] -^ _` ?a ?bc de dfg Fh ij ?k ?l ?mn^ op qr stuvw sx ?y 0znI{ W| -} 0~ 0??? ??? p??? ?> 0? p??E??? ? ??E?? ??? ??? ??? ?? ?? p??? ??? ?? p? p???6? n? n? -? -? 0? 0? -I?? 0? -?E??? ?%???? ons Loracle/eons/ONS; serverTable Ljava/util/Map; Signature PLjava/util/Map<Ljava/lang/String;Ljava/util/Set<Loracle/eons/LogicalAddress;>;>; component Ljava/lang/String; cbsubscriber Loracle/eons/CallBackSubscriber; callCount +Ljava/util/concurrent/atomic/AtomicInteger; pendingCalls KLjava/util/Map<Ljava/lang/String;Loracle/eons/rpc/impl/RpcInvocationImpl;>; isRunning Z funcInterest serverListener #Loracle/eons/rpc/RpcServerListener; <init> 8(Loracle/eons/ONS;Ljava/lang/String;Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this $Loracle/eons/rpc/impl/RpcClientImpl; rpcServerName 9(Loracle/eons/ONS;[Ljava/lang/String;Ljava/lang/String;)V i I rpcServerNames [Ljava/lang/String; funcInterestBuf Ljava/lang/StringBuilder; getRpcServerNames ()[Ljava/lang/String; getComponent ()Ljava/lang/String; getRpcServerListener %()Loracle/eons/rpc/RpcServerListener; shutdown ()V svrList Ljava/util/Set; i$ Ljava/util/Iterator; invocation (Loracle/eons/rpc/impl/RpcInvocationImpl; LocalVariableTypeTable -Ljava/util/Set<Loracle/eons/LogicalAddress;>; launch getServers $(Ljava/lang/String;)Ljava/util/List; B(Ljava/lang/String;)Ljava/util/List<Loracle/eons/LogicalAddress;>; %(Ljava/lang/String;Z)Ljava/util/List; blocking C(Ljava/lang/String;Z)Ljava/util/List<Loracle/eons/LogicalAddress;>; %(Ljava/lang/String;J)Ljava/util/List; wait J C(Ljava/lang/String;J)Ljava/util/List<Loracle/eons/LogicalAddress;>; internalGetServers &(Ljava/lang/String;ZJ)Ljava/util/List; curTime end timeLeft e Ljava/lang/InterruptedException; serverListCopy Ljava/util/List; servers .Ljava/util/List<Loracle/eons/LogicalAddress;>; D(Ljava/lang/String;ZJ)Ljava/util/List<Loracle/eons/LogicalAddress;>; invoke Y(Ljava/lang/String;Ljava/util/List;Ljava/io/Serializable;)Loracle/eons/rpc/RpcInvocation; rpcName destinationList args Ljava/io/Serializable; argsBytes [B inv Loracle/eons/rpc/RpcInvocation; w(Ljava/lang/String;Ljava/util/List<Loracle/eons/LogicalAddress;>;Ljava/io/Serializable;)Loracle/eons/rpc/RpcInvocation; E(Ljava/lang/String;Ljava/util/List;[B)Loracle/eons/rpc/RpcInvocation; c(Ljava/lang/String;Ljava/util/List<Loracle/eons/LogicalAddress;>;[B)Loracle/eons/rpc/RpcInvocation; j(Ljava/lang/String;Ljava/util/List;[BLoracle/eons/rpc/RpcResponseListener;)Loracle/eons/rpc/RpcInvocation; responseListener %Loracle/eons/rpc/RpcResponseListener; ?(Ljava/lang/String;Ljava/util/List<Loracle/eons/LogicalAddress;>;[BLoracle/eons/rpc/RpcResponseListener;)Loracle/eons/rpc/RpcInvocation; ~(Ljava/lang/String;Ljava/util/List;Ljava/io/Serializable;Loracle/eons/rpc/RpcResponseListener;)Loracle/eons/rpc/RpcInvocation; ?(Ljava/lang/String;Ljava/util/List<Loracle/eons/LogicalAddress;>;Ljava/io/Serializable;Loracle/eons/rpc/RpcResponseListener;)Loracle/eons/rpc/RpcInvocation; doInvoke? ArgType InnerClasses ?(Ljava/lang/String;Ljava/util/List;[BLoracle/eons/rpc/impl/RpcUtil$ArgType;Loracle/eons/rpc/RpcResponseListener;)Loracle/eons/rpc/RpcInvocation; svrName svrAddr Loracle/eons/LogicalAddress; argType &Loracle/eons/rpc/impl/RpcUtil$ArgType; invokeId request !Loracle/eons/MessageNotification; ?(Ljava/lang/String;Ljava/util/List<Loracle/eons/LogicalAddress;>;[BLoracle/eons/rpc/impl/RpcUtil$ArgType;Loracle/eons/rpc/RpcResponseListener;)Loracle/eons/rpc/RpcInvocation; getInvokeId &(Ljava/lang/String;)Ljava/lang/String; notification_callback !(Loracle/eons/BaseNotification;)V r Loracle/eons/BaseNotification; processServerResponse response isResultStr isResult errCodeStr isError errCode responseBytes server processServerListChange ,(Loracle/eons/MembershipDeltaNotification;)V svr2add svr2del invocationKeys mdn )Loracle/eons/MembershipDeltaNotification; membersAdded membersRemoved #Ljava/util/Set<Ljava/lang/String;>; processLeaveGroup deleteList allServers addServerListener &(Loracle/eons/rpc/RpcServerListener;)V listener ()Z SourceFile RpcClientImpl.java java/lang/String ? ? ? ? "java/lang/IllegalArgumentException +rpcNameList must contain atleast 1 RPC name ?? ? ? ? ? )java/util/concurrent/atomic/AtomicInteger ?? ? ? java/util/HashMap??? ? ? ? ? ? ? java/lang/StringBuilder (?? 8Illegal null rpcServerName used to initialize RPC Client java/util/HashSet??? (" /ONS/RPC/SVR?? ")|????? ? ? ????? ? ? ? ? ??? ?????????? java/util/Set? ?? ? &oracle/eons/rpc/impl/RpcInvocationImpl? ???????? ? ? ? ? ????? Invalid server name [ ], must be one of: ??????? ?? ? ? java/lang/InterruptedException???? ? java/util/ArrayList ?????? ? ? ?? ??????? invoking on servers using arguments ? ? ? oracle/eons/LogicalAddress 7 was not available at invocation time, setting rpc down )no valid servers remaining, nothing to do /ONS/RPC/REQ /ONS/RPC/NAM /ONS/RPC/CID /ONS/RPC/ARG?? sending invocation request - ??? %received ons callback notification - 'oracle/eons/MembershipDeltaNotification oracle/eons/MessageNotification "oracle/eons/LeaveGroupNotification ? .RpcClient called with unexpected notification: ? ? 4RpcClient called with missing property: /ONS/RPC/CID /ONS/RPC/ISR!"# /ONS/RPC/ERR$%&'()* -RpcClient called with invalid invocation ID: (invocation has received all responses - +?,?-?. + /01 ?2345 ?678 ? java/lang/IllegalStateException ;Attempt to add RPC server listener while RPC client running "oracle/eons/rpc/impl/RpcClientImpl java/lang/Object oracle/eons/CallBack oracle/eons/rpc/RpcClient9 $oracle/eons/rpc/impl/RpcUtil$ArgType (Ljava/lang/String;)V (I)V java/util/Collections synchronizedMap (Ljava/util/Map;)Ljava/util/Map; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (C)Ljava/lang/StringBuilder; length ()I deleteCharAt (I)Ljava/lang/StringBuilder; toString keySet ()Ljava/util/Set; toArray (([Ljava/lang/Object;)[Ljava/lang/Object; oracle/eons/CallBackSubscriber close values ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; clear notifyAll cancel oracle/eons/CallBackMode SERIAL Loracle/eons/CallBackMode; oracle/eons/ONS createCallBackSubscriber ?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Loracle/eons/CallBack;Loracle/eons/CallBackMode;Z)Loracle/eons/CallBackSubscriber; start emptyList ()Ljava/util/List; get &(Ljava/lang/Object;)Ljava/lang/Object; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; size java/lang/System currentTimeMillis ()J (J)V java/lang/Thread currentThread ()Ljava/lang/Thread; interrupt (Ljava/util/Collection;)V oracle/eons/impl/OnsUtil convertObj2Bytes (Ljava/io/Serializable;)[B OBJECT BYTE java/util/List oracle/eons/impl/OnsLogger logger Ljava/util/logging/Logger; java/util/logging/Level FINER Ljava/util/logging/Level; java/util/logging/Logger isLoggable (Ljava/util/logging/Level;)Z log .(Ljava/util/logging/Level;Ljava/lang/String;)V ?(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Loracle/eons/rpc/impl/RpcUtil$ArgType;Loracle/eons/rpc/RpcResponseListener;)V getProperties ()Ljava/util/Map; contains (Ljava/lang/Object;)Z addResponse $(Loracle/eons/LogicalAddress;[BZZI)V hasAllResponses oracle/eons/ONSFactory createNotification 7(Ljava/lang/String;[B)Loracle/eons/MessageNotification; setProperty '(Ljava/lang/String;Ljava/lang/String;)V getPendingServers setDestinationAddrs getPublisher ()Loracle/eons/Publisher; oracle/eons/Publisher publish !(Loracle/eons/UserNotification;)V incrementAndGet relinquish getClass ()Ljava/lang/Class; java/lang/Class getSimpleName getProperty java/lang/Boolean parseBoolean (Ljava/lang/String;)Z java/lang/Integer parseInt (Ljava/lang/String;)I getBody ()[B getSourceAddr ()Loracle/eons/LogicalAddress; remove getMembersAdded getMembersRemoved add waitingFor (Loracle/eons/LogicalAddress;)Z getId !oracle/eons/rpc/RpcServerListener onServerListChange #(Ljava/util/List;Ljava/util/List;)V failWithRpcServerDown addAll (Ljava/util/Collection;)Z reopen oracle/eons/rpc/impl/RpcUtil 0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? ? ? ? ? ? ? ? f *+,? ? ? ? Y,S-? ? ? 5 8 ? * ? ? ? ? ? ? ? ? ? ? ? ? ?*? ,? ,? ? Y? ?*+? *-? *? Y? ? *? Y? ? ? *? Y? ? *? ? Y? :,?? ? W6,? V,2? ? Y? ?*? ,2? Y? ? W? W? =? W,2? W? W???? d? W,?? )? W*? !? "? ? j ; <