create

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

Creates an IEndpointInternal instance.

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

Return

an IEndpointInternal

Parameters

context

the application context

dispatcherProvider