Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebSocketCloverDeviceConfiguration
    • WebSocketCloudCloverDeviceConfiguration

Implements

  • CloverDeviceConfiguration

Index

Constructors

constructor

  • new WebSocketCloudCloverDeviceConfiguration(applicationId: string, webSocketFactoryFunction: any, imageUtil: IImageUtil, cloverServer: string, accessToken: string, httpSupport: HttpSupport, merchantId: string, deviceId: string, friendlyId: string, forceConnect?: boolean, heartbeatInterval: number, reconnectDelay: number, heartbeatDisconnectTimeout: number): WebSocketCloudCloverDeviceConfiguration

Properties

Private accessToken

accessToken: string

Private cloverServer

cloverServer: string

Private deviceId

deviceId: string

Private forceConnect

forceConnect: boolean

Private friendlyId

friendlyId: string

Private httpSupport

httpSupport: HttpSupport

Protected imageUtil

imageUtil: IImageUtil

Protected logger

logger: Logger = Logger.create()

Protected maxCharInMessage

maxCharInMessage: number = 50000

Private merchantId

merchantId: string

Protected webSocketImplClass

webSocketImplClass: any

Methods

getApplicationId

  • getApplicationId(): string

getCloverDeviceType

  • getCloverDeviceType(): any

getCloverTransport

  • getCloverTransport(): CloverTransport

getHeartbeatDisconnectTimeout

  • getHeartbeatDisconnectTimeout(): number

getHeartbeatInterval

  • getHeartbeatInterval(): number

getImageUtil

getMaxMessageCharacters

  • getMaxMessageCharacters(): number

getMessagePackageName

  • getMessagePackageName(): string

getName

  • getName(): string

getReconnectDelay

  • getReconnectDelay(): number

setHeartbeatDisconnectTimeout

  • setHeartbeatDisconnectTimeout(heartbeatDisconnectTimeout: number): void

setHeartbeatInterval

  • setHeartbeatInterval(heartbeatInterval: number): void

setReconnectDelay

  • setReconnectDelay(reconnectDelay: number): void

Generated using TypeDoc