Package com.bytedesk.call.mrcp4j.client
Class MrcpFactory
java.lang.Object
com.bytedesk.call.mrcp4j.client.MrcpFactory
Provides factory methods for MRCPv2 clients to gain access to
MrcpProvider instances.
Currently having to go through a factory to construct an MrcpProvider may seem like a bit of overkill. However, this is implemented this way in order to facilitate transitioning in the future to a design in which there may be multiple provider implementations accessible through a single factory method.
- Author:
- Niels Godfredsen <ngodfredsen@users.sourceforge.net>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConstructs a newMrcpProviderinstance which provides client access to MRCP resources.static MrcpFactoryConstructs a newMrcpFactoryinstance.
-
Constructor Details
-
MrcpFactory
private MrcpFactory()
-
-
Method Details
-
createProvider
Constructs a newMrcpProviderinstance which provides client access to MRCP resources.- Returns:
- new provider instance.
-
newInstance
Constructs a newMrcpFactoryinstance.- Returns:
- new factory instance.
-