Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 |
|
Résultat | Exceptions |
public AdbSocket ( ITcpSocket socket ) : Exceptions | ||
socket | ITcpSocket |
/// The |
Résultat | Exceptions |
public static IsOkay ( byte reply ) : bool | ||
reply | byte | The reply. |
Résultat | bool |
public Read ( byte data, int length ) : void | ||
data | byte | |
length | int | |
Résultat | void |
public ReadAdbResponse ( ) : SharpAdbClient.AdbResponse | ||
Résultat | SharpAdbClient.AdbResponse |
protected ReadAdbResponseInner ( ) : SharpAdbClient.AdbResponse | ||
Résultat | SharpAdbClient.AdbResponse |
public ReadSyncString ( int length ) : string | ||
length | int | |
Résultat | string |
protected ReplyToString ( byte reply ) : string | ||
reply | byte |
/// A |
Résultat | string |
public Send ( byte data, int length ) : void | ||
data | byte | |
length | int | |
Résultat | void |
public SendAdbRequest ( string request ) : void | ||
request | string | |
Résultat | void |
public SendSyncRequest ( SyncCommand command, int length ) : void | ||
command | SyncCommand | |
length | int | |
Résultat | void |
public SendSyncRequest ( SyncCommand command, string path ) : void | ||
command | SyncCommand | |
path | string | |
Résultat | void |
public SendSyncRequest ( SyncCommand command, string path, int permissions ) : void | ||
command | SyncCommand | |
path | string | |
permissions | int | |
Résultat | void |
protected Write ( byte data ) : bool | ||
data | byte | The data to send. |
Résultat | bool |