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

Mostrar archivo Open project: slodge/BallControl Class Usage Examples

Public Methods

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

Protected Methods

Method Description
ReceiveResponses ( ) : Task
SendCommmands ( ) : Task

Private Methods

Method Description
ProcessCommandResponse ( SpheroResponse response ) : Task
ReceiveResponse ( ) : Task
SendCommand ( CommandWithActions toSend ) : Task

Method Details

AwaitingConnectedSpheroRunner() public method

public AwaitingConnectedSpheroRunner ( IStreamSocketWrapper streamSpheroWrapper ) : System
streamSpheroWrapper IStreamSocketWrapper
return System

Disconnect() public method

public Disconnect ( ) : void
return void

RaiseDisconnected() public method

public RaiseDisconnected ( ) : void
return void

ReceiveResponses() protected method

protected ReceiveResponses ( ) : Task
return Task

SendAndReceive() public method

public SendAndReceive ( ISpheroCommand command, Action onSuccess, Action onError ) : void
command ISpheroCommand
onSuccess Action
onError Action
return void

SendCommmands() protected method

protected SendCommmands ( ) : Task
return Task

Start() public method

public Start ( ) : void
return void