C# Class Cirrious.MvvmCross.Plugins.Sphero.HackFileShare.AwaitingConnectedSpheroRunner

Afficher le fichier Open project: slodge/BallControl Class Usage Examples

Méthodes publiques

Méthode Description
AwaitingConnectedSpheroRunner ( IStreamSocketWrapper streamSpheroWrapper ) : System
Disconnect ( ) : void
RaiseDisconnected ( ) : void
SendAndReceive ( ISpheroCommand command, Action onSuccess, Action onError ) : void
Start ( ) : void

Méthodes protégées

Méthode Description
ReceiveResponses ( ) : Task
SendCommmands ( ) : Task

Private Methods

Méthode Description
ProcessCommandResponse ( SpheroResponse response ) : Task
ReceiveResponse ( ) : Task
SendCommand ( CommandWithActions toSend ) : Task

Method Details

AwaitingConnectedSpheroRunner() public méthode

public AwaitingConnectedSpheroRunner ( IStreamSocketWrapper streamSpheroWrapper ) : System
streamSpheroWrapper IStreamSocketWrapper
Résultat System

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

RaiseDisconnected() public méthode

public RaiseDisconnected ( ) : void
Résultat void

ReceiveResponses() protected méthode

protected ReceiveResponses ( ) : Task
Résultat Task

SendAndReceive() public méthode

public SendAndReceive ( ISpheroCommand command, Action onSuccess, Action onError ) : void
command ISpheroCommand
onSuccess Action
onError Action
Résultat void

SendCommmands() protected méthode

protected SendCommmands ( ) : Task
Résultat Task

Start() public méthode

public Start ( ) : void
Résultat void