create

abstract fun create(context: Context, dispatcherProvider: IDispatcherProvider): IEndpointInternal(source)

Creates an IEndpoint instance.

The endpoint should use the dispatcherProvider to get the correct dispatcher for processing frames.

Return

an IEndpoint

Parameters

context

the application context

dispatcherProvider