Skip to content

Just a question #1

@wuxudong

Description

@wuxudong

Hello
I am a newbie in android.
There are several question about adblib.

  1. In my opinion, communication in one socket connection is sequential, there should be only at most one active open stream in AdbConnection. So why there is openStreams:HashMap in AdbConnection?
  2. If communication in one socket connection is sequential, Isn't blocking read and write simpler than multithread/wait/notify ? Why there is extra connection Thread handling message reading?
    Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions