Transport

public class Transport : LGV_MeetingSDK_Transport_Protocol

This transport is dedicated to the BMLT. We make this a class, so we can be weakly referenced.

Parser

Initiator

LGV_MeetingSDK_Transport_Protocol Conformance

  • This will contain the URL to the Root Server that is being accessed by this transport instance.

    Declaration

    Swift

    public var baseURL: URL?
  • The parser

    Declaration

    Swift

    public var parser: LGV_MeetingSDK_Parser_Protocol? { get }

Instance Properties

Mocking Properties

  • This is a special dummy URL that we use to allow mocking.

    Declaration

    Swift

    public static let testingRootServerURL: URL?
  • This is used to “short-circuit” the actual network call.

    If this is non-nil, then the Data instance is sent to the callback closure as a “one-shot” call. The property is immediately cleared, after being read. The URL is ignored.

    Declaration

    Swift

    public var debugMockDataResponse: Data?

Initializer

  • Default initializer.

    Declaration

    Swift

    public init(rootServerURL inRootServerURL: URL)

    Parameters

    rootServerURL

    The URL to the BMLT Root Server that will be accessed by this instance.

BMLT Transport Extension

  • These are the specific fields that we request. It shortens the response.

    Declaration

    Swift

    private static let _dataFields: [String]
  • This prepares the “baseline” URL string for the request.

    Declaration

    Swift

    var preparedURLString: String { get }
  • Creates a URL Request, for the given search parameters.

    Declaration

    Swift

    func ceateURLRequest(type inSearchType: LGV_MeetingSDK_Meeting_Data_Set.SearchConstraints,
                         refinements inSearchRefinements: Set<LGV_MeetingSDK_Meeting_Data_Set.Search_Refinements>
    ) -> URLRequest?

    Parameters

    type

    Any search type that was specified.

    refinements

    Any search refinements.

    Return Value

    A new URL Request object, ready for a task.