C# Class PrinterZebraImpl.PrinterZebraSingleton

Afficher le fichier Open project: rhomobile/rhodes

Méthodes publiques

Méthode 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

Méthode 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 méthode

public closeServiceRequest ( IMethodResult oResult ) : void
oResult IMethodResult
Résultat void

searchPrinters() public méthode

public searchPrinters ( string>.IReadOnlyDictionary options, IMethodResult oResult ) : void
options string>.IReadOnlyDictionary
oResult IMethodResult
Résultat void

sendConnectFinish() public méthode

public sendConnectFinish ( string status, IMethodResult oResult ) : void
status string
oResult IMethodResult
Résultat void

sendConnectResult() public méthode

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

stopSearch() public méthode

public stopSearch ( IMethodResult oResult ) : void
oResult IMethodResult
Résultat void

tryToConnect() public méthode

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