org.apache.cayenne.remote.ClientChannel.class Maven / Gradle / Ivy
???? 4p
* ? Y ? ?
? Y ? Y ? Y ?
Y ? ? ?
? ?
Y ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ?
Y ? ? ? ? ? ?
Y ? ? ? ? ? ? ? ? ?
Y ? ? ? ? ? ? ? ? ? " ? ? ?
?
?
Y ?
D ? ? ?
? ?
? ?
? ?
3 ? ? Z ? Z Z 5
: ?
:
= q
? Y
B ? p
F
I ?
I
I
I
Y p
S
S
connection ,Lorg/apache/cayenne/remote/ClientConnection; eventManager 'Lorg/apache/cayenne/event/EventManager; entityResolver 'Lorg/apache/cayenne/map/EntityResolver; channelEventsEnabled Z diffCompressor .Lorg/apache/cayenne/graph/GraphDiffCompressor; remoteChannelListener &Lorg/apache/cayenne/event/EventBridge; X(Lorg/apache/cayenne/remote/ClientConnection;ZLorg/apache/cayenne/event/EventManager;Z)V Code LineNumberTable LocalVariableTable this )Lorg/apache/cayenne/remote/ClientChannel; remoteEventsOptional
StackMapTable!"
Exceptions
getConnection .()Lorg/apache/cayenne/remote/ClientConnection; isChannelEventsEnabled ()Z getEventManager )()Lorg/apache/cayenne/event/EventManager; onQuery f(Lorg/apache/cayenne/ObjectContext;Lorg/apache/cayenne/query/Query;)Lorg/apache/cayenne/QueryResponse; merger ,Lorg/apache/cayenne/util/DeepMergeOperation; rsMapping Ljava/util/List; objects resolver info (Lorg/apache/cayenne/query/QueryMetadata; context "Lorg/apache/cayenne/ObjectContext; query Lorg/apache/cayenne/query/Query; response "Lorg/apache/cayenne/QueryResponse; LocalVariableTypeTable $Ljava/util/List;#$ processMixedResult O(Ljava/util/List;Lorg/apache/cayenne/util/DeepMergeOperation;Ljava/util/List;)V object [Ljava/lang/Object; i I width %Ljava/util/List<[Ljava/lang/Object;>;% Signature x(Ljava/util/List<[Ljava/lang/Object;>;Lorg/apache/cayenne/util/DeepMergeOperation;Ljava/util/List;)V convertSingleObjects ?(Ljava/util/List;Lorg/apache/cayenne/util/DeepMergeOperation;)V next Ljava/lang/Object; it Ljava/util/ListIterator; ,Ljava/util/ListIterator;& S(Ljava/util/List;Lorg/apache/cayenne/util/DeepMergeOperation;)V
convertObject _(Lorg/apache/cayenne/util/DeepMergeOperation;Lorg/apache/cayenne/Persistent;)Ljava/lang/Object; Lorg/apache/cayenne/Persistent; id Lorg/apache/cayenne/ObjectId;' onSync m(Lorg/apache/cayenne/ObjectContext;Lorg/apache/cayenne/graph/GraphDiff;I)Lorg/apache/cayenne/graph/GraphDiff; subject 'Lorg/apache/cayenne/event/EventSubject; notification 'Lorg/apache/cayenne/graph/CompoundDiff; e %Lorg/apache/cayenne/graph/GraphEvent; sentNoop receivedNoop originatingContext changes $Lorg/apache/cayenne/graph/GraphDiff; syncType callbackAction 2Lorg/apache/cayenne/DataChannelSyncCallbackAction; replyDiff()* getEntityResolver )()Lorg/apache/cayenne/map/EntityResolver;+ setupRemoteChannelListener Ljava/lang/Exception; bridge send N(Lorg/apache/cayenne/remote/ClientMessage;Ljava/lang/Class;)Ljava/lang/Object; resultString Ljava/lang/String; message )Lorg/apache/cayenne/remote/ClientMessage; resultClass Ljava/lang/Class; result Ljava/lang/Class; Z(Lorg/apache/cayenne/remote/ClientMessage;Ljava/lang/Class;)TT;
SourceFile ClientChannel.java g, [ \ ,org/apache/cayenne/graph/GraphDiffCompressor c d ] ^ a b ? v *org/apache/cayenne/CayenneRuntimeException &org/apache/cayenne/remote/QueryMessage g- org/apache/cayenne/QueryResponse ? ? ? ?./01 v2, ? v3 v456 v *org/apache/cayenne/util/DeepMergeOperation g785 ? ?9:;< ,org/apache/cayenne/query/EntityResultSegment ? ?=>? v ?@ org/apache/cayenne/Persistent ? ?ABCDEF +Server returned an object without an id: %s java/lang/Object gGHIJKLMNOP,QR %org/apache/cayenne/remote/SyncMessage gS "org/apache/cayenne/graph/GraphDiffT ?U ?V ?W v %org/apache/cayenne/graph/CompoundDiffXY #org/apache/cayenne/graph/GraphEvent gZ[\], _ ` *org/apache/cayenne/remote/BootstrapMessage %org/apache/cayenne/map/EntityResolver^_ $org/apache/cayenne/event/EventBridge`a java/lang/Exception java/lang/StringBuilder Error starting EventBridge bcbdef gg e fhijkl 'org/apache/cayenne/util/ToStringBuilder gD $Expected result type: %s, actual: %smfno 'org/apache/cayenne/remote/ClientChannel org/apache/cayenne/DataChannel *org/apache/cayenne/remote/ClientConnection %org/apache/cayenne/event/EventManager &org/apache/cayenne/query/QueryMetadata java/util/List java/util/Iterator java/util/ListIterator org/apache/cayenne/ObjectId 0org/apache/cayenne/DataChannelSyncCallbackAction %org/apache/cayenne/event/EventSubject org/apache/cayenne/ObjectContext java/lang/Throwable ()V #(Lorg/apache/cayenne/query/Query;)V org/apache/cayenne/query/Query getMetaData Q(Lorg/apache/cayenne/map/EntityResolver;)Lorg/apache/cayenne/query/QueryMetadata; isFetchingDataRows reset isList currentList ()Ljava/util/List; isEmpty %(Lorg/apache/cayenne/ObjectContext;)V getResultSetMapping size ()I get (I)Ljava/lang/Object; iterator ()Ljava/util/Iterator; hasNext ()Ljava/lang/Object; listIterator ()Ljava/util/ListIterator; set (Ljava/lang/Object;)V getObjectId ()Lorg/apache/cayenne/ObjectId; ((Ljava/lang/String;[Ljava/lang/Object;)V merge @(Lorg/apache/cayenne/Persistent;)Lorg/apache/cayenne/Persistent; getCallbackRegistry 8()Lorg/apache/cayenne/reflect/LifecycleCallbackRegistry; getGraphManager )()Lorg/apache/cayenne/graph/GraphManager; getCallbackAction ?(Lorg/apache/cayenne/reflect/LifecycleCallbackRegistry;Lorg/apache/cayenne/graph/GraphManager;Lorg/apache/cayenne/graph/GraphDiff;I)Lorg/apache/cayenne/DataChannelSyncCallbackAction; applyPreCommit compress J(Lorg/apache/cayenne/graph/GraphDiff;)Lorg/apache/cayenne/graph/GraphDiff; J(Lorg/apache/cayenne/ObjectContext;ILorg/apache/cayenne/graph/GraphDiff;)V GRAPH_ROLLEDBACK_SUBJECT GRAPH_CHANGED_SUBJECT GRAPH_FLUSHED_SUBJECT isNoop add '(Lorg/apache/cayenne/graph/GraphDiff;)V K(Ljava/lang/Object;Ljava/lang/Object;Lorg/apache/cayenne/graph/GraphDiff;)V postEvent A(Ljava/util/EventObject;Lorg/apache/cayenne/event/EventSubject;)V applyPostCommit getServerEventBridge (()Lorg/apache/cayenne/event/EventBridge; startup O(Lorg/apache/cayenne/event/EventManager;ILjava/lang/Object;Ljava/lang/Object;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V sendMessage =(Lorg/apache/cayenne/remote/ClientMessage;)Ljava/lang/Object; java/lang/Class
isInstance (Ljava/lang/Object;)Z getName cast &(Ljava/lang/Object;)Ljava/lang/Object; ! Y * Z [ \ ] ^ _ ` a b c d e f g h i ? B*? *+? *? Y? ? *-? *-? ? ? ? ? *? W?
*? W? :? 7 <