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

显示文件 Open project: slodge/BallControl Class Usage Examples

Public Methods

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

Private Methods

Method Description
ProcessCommandResponse ( SpheroResponse response ) : void
ReceiveResponse ( ) : SpheroResponse
ReceiveResponses ( ) : void
SendCommand ( CommandWithActions toSend ) : void
SendCommmands ( ) : void

Method Details

Disconnect() public method

public Disconnect ( ) : void
return void

NonAwaitingConnectedSpheroRunner() public method

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

RaiseDisconnected() public method

public RaiseDisconnected ( ) : void
return void

SendAndReceive() public method

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

Start() public method

public Start ( ) : void
return void