Preparing search index...
The search index is not available
adb-ts
adb-ts
Commands
TransportCommand
Class TransportCommand<T>
Abstract
Type Parameters
T
Hierarchy
default
<
T
>
TransportCommand
Index
Constructors
constructor
Properties
Cmd
auto
End
connection
keep
Alive
parser
serial
Methods
end
Connection
execute
init
And
Validate
Reply
init
Execute
post
Execute
read
And
Validate
Reply
validate
Reply
Constructors
constructor
new
Transport
Command
<
T
>
(
connection
,
serial
)
:
TransportCommand
<
T
>
Type Parameters
T
Parameters
connection
:
Connection
serial
:
string
Returns
TransportCommand
<
T
>
Properties
Protected
Abstract
Cmd
Cmd
:
string
Protected
auto
End
auto
End
:
boolean
= false
Readonly
connection
connection
:
Connection
Protected
Abstract
keep
Alive
keep
Alive
:
boolean
Readonly
parser
parser
:
Parser
.
Parser
Private
serial
serial
:
string
Methods
end
Connection
end
Connection
(
)
:
void
Returns
void
execute
execute
(
)
:
Promise
<
T
>
Executes
Cmd
on the device
Returns
Promise
<
T
>
Protected
init
And
Validate
Reply
init
And
Validate
Reply
(
args
)
:
Promise
<
void
>
Parameters
args
:
string
Returns
Promise
<
void
>
Protected
init
Execute
init
Execute
(
args
)
:
Promise
<
string
>
Parameters
args
:
string
Returns
Promise
<
string
>
Protected
Abstract
post
Execute
post
Execute
(
)
:
T
|
Promise
<
T
>
Executed when
execute
was successful
Returns
T
|
Promise
<
T
>
Protected
read
And
Validate
Reply
read
And
Validate
Reply
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
validate
Reply
validate
Reply
(
reply
)
:
Promise
<
void
>
Parameters
reply
:
string
|
Buffer
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
Cmd
auto
End
connection
keep
Alive
parser
serial
end
Connection
execute
init
And
Validate
Reply
init
Execute
post
Execute
read
And
Validate
Reply
validate
Reply
adb-ts
Loading...
Executes Cmd on the device