C# 클래스 com.clover.remotepay.transport.CloverTransport

파일 보기 프로젝트 열기: clover/remote-pay-windows 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Subscribe ( CloverTransportObserver observer ) : void
Unsubscribe ( CloverTransportObserver observer ) : void
sendMessage ( string message ) : int

보호된 메소드들

메소드 설명
EnableLogging ( ) : void
EnablePinging ( int pingSleepSeconds ) : void
LoggingEnabled ( ) : bool
TransportLog ( string msg ) : void
getPingSleepSeconds ( ) : int
onDeviceConnected ( ) : void
onDeviceDisconnected ( ) : void
onDeviceError ( int code, string message ) : void
onDeviceReady ( ) : void
onMessage ( string message ) : void

Should be called by subclasses when a message is received.

메소드 상세

Dispose() 공개 추상적인 메소드

public abstract Dispose ( ) : void
리턴 void

EnableLogging() 보호된 메소드

protected EnableLogging ( ) : void
리턴 void

EnablePinging() 보호된 메소드

protected EnablePinging ( int pingSleepSeconds ) : void
pingSleepSeconds int
리턴 void

LoggingEnabled() 보호된 메소드

protected LoggingEnabled ( ) : bool
리턴 bool

Subscribe() 공개 메소드

public Subscribe ( CloverTransportObserver observer ) : void
observer CloverTransportObserver
리턴 void

TransportLog() 보호된 메소드

protected TransportLog ( string msg ) : void
msg string
리턴 void

Unsubscribe() 공개 메소드

public Unsubscribe ( CloverTransportObserver observer ) : void
observer CloverTransportObserver
리턴 void

getPingSleepSeconds() 보호된 메소드

protected getPingSleepSeconds ( ) : int
리턴 int

onDeviceConnected() 보호된 메소드

protected onDeviceConnected ( ) : void
리턴 void

onDeviceDisconnected() 보호된 메소드

protected onDeviceDisconnected ( ) : void
리턴 void

onDeviceError() 보호된 메소드

protected onDeviceError ( int code, string message ) : void
code int
message string
리턴 void

onDeviceReady() 보호된 메소드

protected onDeviceReady ( ) : void
리턴 void

onMessage() 보호된 메소드

Should be called by subclasses when a message is received.
protected onMessage ( string message ) : void
message string
리턴 void

sendMessage() 공개 추상적인 메소드

public abstract sendMessage ( string message ) : int
message string
리턴 int