XPSDKServerInfo

@objc
open class XPSDKServerInfo : NSObject

Class that represents a server info, setup by the user, with its settings

  • Server name or IP Address

    Declaration

    Swift

    open var serverHost: String?
  • Server port

    Declaration

    Swift

    open var serverPort: NSNumber
  • Server secure port

    Declaration

    Swift

    open var serverSecurePort: NSNumber
  • Flag set to YES when the connection is secure

    Declaration

    Swift

    open var isSecureConnection: Bool
  • Service alias

    Declaration

    Swift

    open var serviceAlias: String?
  • Communication Path

    Declaration

    Swift

    open var communicationPath: String?
  • init: Init server info with host and port

    Declaration

    Swift

    public convenience init(host: String, port: NSNumber)

    Parameters

    host

    the server host

    port

    the server port

  • init: Init server info with urlString

    Declaration

    Swift

    public convenience init(withUrlString urlString: String)

    Parameters

    urlString

    the url

  • communicationURL: Returns the communication url for server connection

    Declaration

    Swift

    public func communicationURL() -> URL