
okhttp3.internal.ws.WebSocketWriter.class Maven / Gradle / Ivy
???? 3 ? ?
@ ? ?
? > ? ?
? > ? ? ?
? ? > ? > ? > ? > ? > ?
> ? ? ?
?
?
?
? > ? > ?
? ? ?
? ? ?
?
? ? } ? ?
# ? ? ?
? ? ? ?
? ?
? ? ? ? ? > ? ? ?
. ? ? ? ? ? ?? ? ? ? ?
? ?
? ? ? ? ? ? ? ?
? ? ? FrameSink InnerClasses isClient Z random Ljava/util/Random; sink Lokio/BufferedSink; writerClosed buffer
Lokio/Buffer; frameSink /Lokhttp3/internal/ws/WebSocketWriter$FrameSink; activeWriter maskKey [B
maskBuffer $assertionsDisabled )(ZLokio/BufferedSink;Ljava/util/Random;)V Code LineNumberTable LocalVariableTable this %Lokhttp3/internal/ws/WebSocketWriter;
StackMapTable ? ? ? P writePing (Lokio/ByteString;)V payload Lokio/ByteString; ? ? ?
Exceptions writePong
writeClose (ILokio/ByteString;)V code I reason ? writeControlFrameSynchronized bytes opcode length b0 b1 newMessageSink (IJ)Lokio/Sink; formatOpcode
contentLength J writeMessageFrameSynchronized (IJZZ)V toRead read written byteCount isFirstFrame isFinal ()V
SourceFile WebSocketWriter.java %okhttp3/internal/ws/WebSocketProtocol S ? okio/Buffer J K -okhttp3/internal/ws/WebSocketWriter$FrameSink S ? L M java/lang/NullPointerException sink == null S ? random == null C D G H E F O P Q P n i ? ? b ? ? ? ? ? ? ? ? I D R D ? ? ? java/lang/AssertionError java/io/IOException closed ? ? "java/lang/IllegalArgumentException .Payload size must be less than or equal to 125 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? N D java/lang/IllegalStateException 7Another message writer is active. Did you call close()? v k w x D ? D ? ? ? ? ? ? ? | ? ? ? ? ? ? ? #okhttp3/internal/ws/WebSocketWriter ? ? ? java/lang/Object okio/BufferedSink java/util/Random okio/ByteString java/lang/Throwable ((Lokhttp3/internal/ws/WebSocketWriter;)V (Ljava/lang/String;)V EMPTY validateCloseCode (I)V
writeShort (I)Lokio/Buffer; write (Lokio/ByteString;)Lokio/Buffer; readByteString ()Lokio/ByteString; java/lang/Thread holdsLock (Ljava/lang/Object;)Z size ()I writeByte (I)Lokio/BufferedSink; nextBytes ([B)V ([B)Lokio/BufferedSink; toByteArray ()[B
toggleMask ([BJ[BJ)V &(Lokio/ByteString;)Lokio/BufferedSink; flush writeLong (J)Lokio/BufferedSink; java/lang/Math min (JJ)J ([BII)I ([BII)Lokio/BufferedSink; (Lokio/Buffer;J)V emit ()Lokio/BufferedSink; java/lang/Class desiredAssertionStatus ()Z 0 > @
C D E F G H I D J K L M N D O P Q P R D S T U ' g*? *? Y? ? *? Y*? ? ,?
? Y
? ?-?
? Y? ?*?
*,? *-? *? ?? ? *? ?? ? ? V . @ 8 9 A ) B 7 C <