CommEndpoint

public protocol CommEndpoint

Communication endpoint.

  • Dispose of endpoint.

    Declaration

    Swift

    func dispose()
  • Connect to server.

    Declaration

    Swift

    func connect() throws
  • Disconnect.

    Declaration

    Swift

    func disconnect()
  • Send byte message. @throws IllegalArgumentException channel is negative. @throws IllegalArgumentException message is null.

    Declaration

    Swift

    func sendMessage(channel: Int, message: Data) throws
  • Terminal ip of connected terminal. Returns empty string if the terminal ip address is not known. The terminal ip address is available after connecting to the terminal.

    Declaration

    Swift

    var terminalIp: String? { get }