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