AdapterFactory
open class AdapterFactory
The base class of adapter factory.
-
Undocumented
Declaration
Swift
open class AdapterFactory
-
Build an adapter.
Declaration
Swift
open func getAdapterFor(session: ConnectSession) -> AdapterSocket
Parameters
session
The connect session.
Return Value
The built adapter.
-
Helper method to get a
DirectAdapter
.Declaration
Swift
public func getDirectAdapter() -> AdapterSocket
Return Value
A direct adapter.