feat(demo): wip: add new packet log

ref #397
This commit is contained in:
Simon Chan 2022-04-11 01:50:43 +08:00
parent 4cec3ec55c
commit bb5e292a80
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
69 changed files with 1640 additions and 618 deletions

View file

@ -2,13 +2,13 @@
import { AutoDisposable } from '@yume-chan/event';
import Struct from '@yume-chan/struct';
import type { AdbPacketCore } from '../packet.js';
import type { AdbPacketData } from '../packet.js';
import type { AdbIncomingSocketEventArgs, AdbPacketDispatcher, AdbSocket } from '../socket/index.js';
import { AdbBufferedStream } from '../stream/index.js';
import { decodeUtf8 } from "../utils/index.js";
export interface AdbReverseHandler {
onSocket(packet: AdbPacketCore, socket: AdbSocket): void;
onSocket(packet: AdbPacketData, socket: AdbSocket): void;
}
export interface AdbForwardListener {