ApplicationProtocolHandlerFactory

Factory for creating ApplicationProtocolHandler objects.

Functions

Link copied to clipboard
abstract fun create(communicationsContext: CommunicationsClientContext, serviceProviderId: ServiceProviderId, sendMessageCallBack: (data: ByteArray) -> Unit): ApplicationProtocolHandler

Creates an application protocol handler using the specified communicationsContext and for the service provider with the specified serviceProviderId. The specified sendMessageCallBack is called when outgoing data becomes available.