org.postgresql.core.PGStream.class Maven / Gradle / Ivy
???? 4E ?EF
GHI ?J
K
L
MN ?O
P
?Q ?R???????? ?S ?T ?U ?V
?W
?XY
Z[
?\ ?] ?^
?_
?`
?a
?b
?cd
?e
?f
?g
?h
?i
?j ?k
l
mn B@ ?o
?p
?q
r
st
uv
?w
xy
z{|
x}
x~
7
7?
?? ????
>?
??
???
??
C? ??
Z?
?? ??
?e?
K?
Z???
N?
??
????
TQ?
T?
T?
T?
??
????
\??
_????
N?
\??
fQ
?
?
?
?
?
Z?
??
o?
??
Z?
?
??
?? ?
??
???
???
{?
? ??
4???
??
??
f?
???
??
??
???? ??
??
?e
e
?e
?
???
??
???
???? InnerClasses
socketFactory Ljavax/net/SocketFactory; hostSpec Lorg/postgresql/util/HostSpec; int4Buf [B int2Buf
connection Ljava/net/Socket; pgInput 0Lorg/postgresql/core/VisibleBufferedInputStream; pgOutput Ljava/io/OutputStream; streamBuffer gssEncrypted Z nextStreamAvailableCheckTime J minStreamAvailableCheckDelay I encoding Lorg/postgresql/core/Encoding; encodingWriter Ljava/io/Writer; maxResultBuffer resultBufferByteCount $assertionsDisabled isGssEncrypted ()Z Code LineNumberTable LocalVariableTable this Lorg/postgresql/core/PGStream;
setSecContext (Lorg/ietf/jgss/GSSContext;)V
secContext Lorg/ietf/jgss/GSSContext; messageProp Lorg/ietf/jgss/MessageProp; ;(Ljavax/net/SocketFactory;Lorg/postgresql/util/HostSpec;I)V timeout socket
Exceptions "(Lorg/postgresql/core/PGStream;I)V pgStream sendBufferSize receiveBufferSize soTimeout keepAlive
StackMapTable :(Ljavax/net/SocketFactory;Lorg/postgresql/util/HostSpec;)V
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; getHostSpec ()Lorg/postgresql/util/HostSpec; getSocket ()Ljava/net/Socket; getSocketFactory ()Ljavax/net/SocketFactory; hasMessagePending e !Ljava/net/SocketTimeoutException; available now? setMinStreamAvailableCheckDelay (I)V delay createSocket (I)Ljava/net/Socket; address Ljava/net/InetSocketAddress;? changeSocket (Ljava/net/Socket;)V getEncoding ()Lorg/postgresql/core/Encoding; setEncoding !(Lorg/postgresql/core/Encoding;)V interceptor getEncodingWriter ()Ljava/io/Writer; sendChar val sendInteger4 sendInteger2 send ([B)V buf ([BI)V siz ([BII)V i off bufamt? )(Lorg/postgresql/util/ByteStreamWriter;)V ioe Ljava/io/IOException; re Ljava/lang/Exception; writer &Lorg/postgresql/util/ByteStreamWriter; fixedLengthStream -Lorg/postgresql/core/FixedLengthOutputStream;? peekChar ()I c receiveChar receiveInteger4 receiveInteger2
receiveString (I)Ljava/lang/String; len res Ljava/lang/String; receiveErrorString DecodeResult 7(I)Lorg/postgresql/core/EncodingPredictor$DecodeResult; value 4Lorg/postgresql/core/EncodingPredictor$DecodeResult; enc ()Ljava/lang/String; receiveTupleV3 ()Lorg/postgresql/core/Tuple; oome Ljava/lang/OutOfMemoryError; size messageSize nf dataToReadSize answer [[B oom#? receive (I)[B w s skip
sendStream (Ljava/io/InputStream;I)V readCount count inStream Ljava/io/InputStream; remaining expectedLength? flush ()V
receiveEOF close setNetworkTimeout milliseconds getNetworkTimeout setMaxResultBuffer (Ljava/lang/String;)V clearResultBufferCount increaseByteCounter (J)V isClosed
SourceFile
PGStream.java ? ? org/ietf/jgss/MessageProp ?? .org/postgresql/core/VisibleBufferedInputStream !org/postgresql/gss/GSSInputStream ? ??? ?? ?- "org/postgresql/gss/GSSOutputStream ? ? ?? ?6 ? ? ? ? ? ? ? ? ? ? ? ? ? ? UTF-8??? ? ? ? ? ? ? ? ?? ? ? ? ? java/net/SocketException86? ?? ?9 ??? ? ? ? ? ? ??? ? ?; ? ???? java/net/SocketTimeoutException? ? ?? ????? ? java/net/InetSocketAddress ? ? ? java/lang/AssertionError ?changeSocket is called with the current socket as argument. This is a no-op, however, it re-allocates buffered streams, so refrain from excessive changeSocket calls ? ?
? java/io/BufferedOutputStream ?
? ? ? ? org/postgresql/core/PGStream$1 ? ? java/io/IOException +No encoding has been set on this connection ?= ? ? java/lang/Short java/lang/StringBuilder 9Tried to send an out-of-range integer as a 2-byte value: ? ? ? +org/postgresql/core/FixedLengthOutputStream ? org/postgresql/core/PGStream$2 ? java/lang/Exception Error writing bytes to stream ?!2 java/io/EOFException" "#?$%&' ()+*+ 2org/postgresql/core/EncodingPredictor$DecodeResult ?,(-. ?/
?@' ? java/lang/OutOfMemoryError+ ? org/postgresql/core/Tuple ?0"1 ? ? EPremature end of input stream, expected {0} bytes, but only read {1}. java/lang/Object234567 ? ? #org/postgresql/core/PGBindException ?856 !org/postgresql/util/PSQLException %Expected an EOF from server, got: {0}9:; ?<=?>?@ MResult set exceeded maxResultBuffer limit. Received: {0}; Current limit: {1}3AA ? org/postgresql/core/PGStreamBC ? java/io/Closeable java/io/Flushable java/lang/Throwable java/net/Socket java/io/OutputStream $org/postgresql/util/ByteStreamWriter java/sql/SQLException java/io/InputStream (IZ)V
getWrapped ()Ljava/io/InputStream; M(Ljava/io/InputStream;Lorg/ietf/jgss/GSSContext;Lorg/ietf/jgss/MessageProp;)V O(Ljava/io/OutputStream;Lorg/ietf/jgss/GSSContext;Lorg/ietf/jgss/MessageProp;I)V org/postgresql/core/Encoding getJVMEncoding 2(Ljava/lang/String;)Lorg/postgresql/core/Encoding; getSendBufferSize getReceiveBufferSize getSoTimeout getKeepAlive setReceiveBufferSize setSendBufferSize setKeepAlive (Z)V java/lang/System nanoTime ()J setSoTimeout ensureBytes (IZ)Z peek javax/net/SocketFactory isConnected org/postgresql/util/HostSpec
shouldResolve ()Ljava/lang/Boolean; java/lang/Boolean booleanValue getHost getPort (Ljava/lang/String;I)V createUnresolved 1(Ljava/lang/String;I)Ljava/net/InetSocketAddress; connect (Ljava/net/SocketAddress;I)V (Ljava/lang/Object;)V
setTcpNoDelay getInputStream getOutputStream ()Ljava/io/OutputStream; (Ljava/io/OutputStream;I)V name java/lang/String equals (Ljava/lang/Object;)Z java/io/Writer 7(Lorg/postgresql/core/PGStream;Ljava/io/OutputStream;)V ((Ljava/io/OutputStream;)Ljava/io/Writer; write append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString getLength (ILjava/io/OutputStream;)V N(Lorg/postgresql/core/PGStream;Lorg/postgresql/core/FixedLengthOutputStream;)V writeToD ByteStreamTarget :(Lorg/postgresql/util/ByteStreamWriter$ByteStreamTarget;)V *(Ljava/lang/String;Ljava/lang/Throwable;)V read ([B)I (I)Z getBuffer ()[B getIndex decode ([BII)Ljava/lang/String; (J)J %org/postgresql/core/EncodingPredictor '(Ljava/lang/String;Ljava/lang/String;)V :([BII)Lorg/postgresql/core/EncodingPredictor$DecodeResult; defaultEncoding scanCStringLength ([[B)V ([BII)I java/lang/Integer valueOf (I)Ljava/lang/Integer; org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/io/IOException;)V org/postgresql/util/PSQLState COMMUNICATION_ERROR Lorg/postgresql/util/PSQLState; 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V setTimeoutRequested 3org/postgresql/util/PGPropertyMaxResultBufferParser
parseProperty (Ljava/lang/String;)J (J)Ljava/lang/String; java/lang/Class desiredAssertionStatus 5org/postgresql/util/ByteStreamWriter$ByteStreamTarget ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? , ? ? ? / *? ? ? : ? ? ? ? ? ? ? B? Y? M*? Y? Y*? ? +,? ? ? *?
Y*? +,@ ? ? *? ? ? @
A ( B <