createTransport

abstract fun createTransport(    authDelegate: AuthDelegate,     messageConsumer: MessageConsumer,     transportObserver: TransportListener,     isStartReceiveServerInitiatedDirective: () -> Boolean): Transport

Creates a new transport.

Return

A new transport object.

Parameters

authDelegate

the delegate implementation for authorization

messageConsumer

consume a Message

transportObserver

Listener the transport