RealConnection$1.smali 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .class Lokhttp3/internal/connection/RealConnection$1;
  2. .super Lokhttp3/internal/ws/RealWebSocket$Streams;
  3. .source ""
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingMethod;
  6. value = Lokhttp3/internal/connection/RealConnection;->newWebSocketStreams(Lokhttp3/internal/connection/StreamAllocation;)Lokhttp3/internal/ws/RealWebSocket$Streams;
  7. .end annotation
  8. .annotation system Ldalvik/annotation/InnerClass;
  9. accessFlags = 0x0
  10. name = null
  11. .end annotation
  12. # instance fields
  13. .field final synthetic this$0:Lokhttp3/internal/connection/RealConnection;
  14. .field final synthetic val$streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
  15. # direct methods
  16. .method constructor <init>(Lokhttp3/internal/connection/RealConnection;ZLokio/BufferedSource;Lokio/BufferedSink;Lokhttp3/internal/connection/StreamAllocation;)V
  17. .locals 0
  18. iput-object p1, p0, Lokhttp3/internal/connection/RealConnection$1;->this$0:Lokhttp3/internal/connection/RealConnection;
  19. iput-object p5, p0, Lokhttp3/internal/connection/RealConnection$1;->val$streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
  20. invoke-direct {p0, p2, p3, p4}, Lokhttp3/internal/ws/RealWebSocket$Streams;-><init>(ZLokio/BufferedSource;Lokio/BufferedSink;)V
  21. return-void
  22. .end method
  23. # virtual methods
  24. .method public close()V
  25. .locals 6
  26. .annotation system Ldalvik/annotation/Throws;
  27. value = {
  28. Ljava/io/IOException;
  29. }
  30. .end annotation
  31. iget-object v0, p0, Lokhttp3/internal/connection/RealConnection$1;->val$streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
  32. invoke-virtual {v0}, Lokhttp3/internal/connection/StreamAllocation;->codec()Lokhttp3/internal/http/HttpCodec;
  33. move-result-object v2
  34. const/4 v1, 0x1
  35. const-wide/16 v3, -0x1
  36. const/4 v5, 0x0
  37. invoke-virtual/range {v0 .. v5}, Lokhttp3/internal/connection/StreamAllocation;->streamFinished(ZLokhttp3/internal/http/HttpCodec;JLjava/io/IOException;)V
  38. return-void
  39. .end method