Метод | Описание | |
---|---|---|
AdbSocket ( |
Initializes a new instance of the AdbSocket class.
|
|
AdbSocket ( ITcpSocket socket ) : Exceptions |
Initializes a new instance of the AdbSocket class.
|
|
Close ( ) : void | ||
Dispose ( ) : void |
Releases all resources used by the current instance of the AdbSocket class.
|
|
GetShellStream ( ) : Stream | ||
IsOkay ( byte reply ) : bool |
Determines whether the specified reply is okay.
|
|
Read ( byte data ) : void | ||
Read ( byte data, int length ) : void | ||
ReadAdbResponse ( ) : SharpAdbClient.AdbResponse | ||
ReadString ( ) : string | ||
ReadSyncLength ( ) : int | ||
ReadSyncResponse ( ) : SyncCommand | ||
ReadSyncString ( int length ) : string | ||
Reconnect ( ) : void | ||
Send ( byte data, int length ) : void | ||
SendAdbRequest ( string request ) : void | ||
SendSyncRequest ( SyncCommand command, int length ) : void | ||
SendSyncRequest ( SyncCommand command, string path ) : void | ||
SendSyncRequest ( SyncCommand command, string path, int permissions ) : void |
Метод | Описание | |
---|---|---|
ReadAdbResponseInner ( ) : SharpAdbClient.AdbResponse |
Reads the response from ADB after a command.
|
|
ReplyToString ( byte reply ) : string |
Converts an ADB reply to a string.
|
|
Write ( byte data ) : bool |
Write until all data in "data" is written or the connection fails or times out. This uses the default time out value. |
public AdbSocket ( |
||
endPoint |
/// The |
|
Результат | Exceptions |
public AdbSocket ( ITcpSocket socket ) : Exceptions | ||
socket | ITcpSocket |
/// The |
Результат | Exceptions |
public static IsOkay ( byte reply ) : bool | ||
reply | byte | The reply. |
Результат | bool |
public Read ( byte data, int length ) : void | ||
data | byte | |
length | int | |
Результат | void |
public ReadAdbResponse ( ) : SharpAdbClient.AdbResponse | ||
Результат | SharpAdbClient.AdbResponse |
protected ReadAdbResponseInner ( ) : SharpAdbClient.AdbResponse | ||
Результат | SharpAdbClient.AdbResponse |
public ReadSyncString ( int length ) : string | ||
length | int | |
Результат | string |
protected ReplyToString ( byte reply ) : string | ||
reply | byte |
/// A |
Результат | string |
public Send ( byte data, int length ) : void | ||
data | byte | |
length | int | |
Результат | void |
public SendAdbRequest ( string request ) : void | ||
request | string | |
Результат | void |
public SendSyncRequest ( SyncCommand command, int length ) : void | ||
command | SyncCommand | |
length | int | |
Результат | void |
public SendSyncRequest ( SyncCommand command, string path ) : void | ||
command | SyncCommand | |
path | string | |
Результат | void |
public SendSyncRequest ( SyncCommand command, string path, int permissions ) : void | ||
command | SyncCommand | |
path | string | |
permissions | int | |
Результат | void |
protected Write ( byte data ) : bool | ||
data | byte | The data to send. |
Результат | bool |