MockWebServer$4.smali 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .class Lokhttp3/mockwebserver/MockWebServer$4;
  2. .super Lokhttp3/internal/ws/RealWebSocket$Streams;
  3. .source ""
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingMethod;
  6. value = Lokhttp3/mockwebserver/MockWebServer;->handleWebSocketUpgrade(Ljava/net/Socket;Lokio/BufferedSource;Lokio/BufferedSink;Lokhttp3/mockwebserver/RecordedRequest;Lokhttp3/mockwebserver/MockResponse;)V
  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/mockwebserver/MockWebServer;
  14. .field final synthetic val$connectionClose:Ljava/util/concurrent/CountDownLatch;
  15. # direct methods
  16. .method constructor <init>(Lokhttp3/mockwebserver/MockWebServer;ZLokio/BufferedSource;Lokio/BufferedSink;Ljava/util/concurrent/CountDownLatch;)V
  17. .locals 0
  18. iput-object p1, p0, Lokhttp3/mockwebserver/MockWebServer$4;->this$0:Lokhttp3/mockwebserver/MockWebServer;
  19. iput-object p5, p0, Lokhttp3/mockwebserver/MockWebServer$4;->val$connectionClose:Ljava/util/concurrent/CountDownLatch;
  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 1
  26. iget-object v0, p0, Lokhttp3/mockwebserver/MockWebServer$4;->val$connectionClose:Ljava/util/concurrent/CountDownLatch;
  27. invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
  28. return-void
  29. .end method