C# Class PrinterZebraImpl.PrinterZebraSingleton

Exibir arquivo Open project: rhomobile/rhodes

Public Methods

Method Description
closeServiceRequest ( IMethodResult oResult ) : void
searchPrinters ( string>.IReadOnlyDictionary options, IMethodResult oResult ) : void
sendConnectFinish ( string status, IMethodResult oResult ) : void
sendConnectResult ( string deviceName, string deviceAdress, Int32 devicePort, PrinterZebra connType, IMethodResult oResult ) : void
stopSearch ( IMethodResult oResult ) : void
tryToConnect ( Int32 port, string deviceAdress, int timeout, PrinterZebra connType ) : ConnecttionJob

Private Methods

Method Description
getConnectionType ( string>.IReadOnlyDictionary options ) : string
getDeviceAdress ( string>.IReadOnlyDictionary options ) : string
getDevicePort ( string>.IReadOnlyDictionary options ) : Int32
getTimeout ( string>.IReadOnlyDictionary options ) : Int32
tryToConnectInFoundPrinters ( IMethodResult oResult ) : void

Method Details

closeServiceRequest() public method

public closeServiceRequest ( IMethodResult oResult ) : void
oResult IMethodResult
return void

searchPrinters() public method

public searchPrinters ( string>.IReadOnlyDictionary options, IMethodResult oResult ) : void
options string>.IReadOnlyDictionary
oResult IMethodResult
return void

sendConnectFinish() public method

public sendConnectFinish ( string status, IMethodResult oResult ) : void
status string
oResult IMethodResult
return void

sendConnectResult() public method

public sendConnectResult ( string deviceName, string deviceAdress, Int32 devicePort, PrinterZebra connType, IMethodResult oResult ) : void
deviceName string
deviceAdress string
devicePort System.Int32
connType PrinterZebra
oResult IMethodResult
return void

stopSearch() public method

public stopSearch ( IMethodResult oResult ) : void
oResult IMethodResult
return void

tryToConnect() public method

public tryToConnect ( Int32 port, string deviceAdress, int timeout, PrinterZebra connType ) : ConnecttionJob
port System.Int32
deviceAdress string
timeout int
connType PrinterZebra
return ConnecttionJob