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.
-
This is the parser. Most functionality will be in the extension.
See moreDeclaration
Swift
public class Parser
extension LGV_MeetingSDK_BMLT.Transport.Parser: LGV_MeetingSDK_Parser_Protocol
-
This is an initiator. It forms queries to the BMLT Root Server. Most functionality will be in the extension. We make it a class, so it will be referencable.
See moreDeclaration
Swift
public class Initiator
extension LGV_MeetingSDK_BMLT.Transport.Initiator: LGV_MeetingSDK_SearchInitiator_Protocol
-
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 }
-
The initiator goes here.
Declaration
Swift
public var initiator: LGV_MeetingSDK_SearchInitiator_Protocol?
-
The transport organization to which this instance is assigned.
Declaration
Swift
public var organization: LGV_MeetingSDK_Organization_Transport_Protocol?
-
This contains the last search result set.
Declaration
Swift
public var lastSearch: LGV_MeetingSDK_Meeting_Data_Set?
-
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?
-
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.
-
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.