public interface MessageConnectorFactory
MessageConnector
.Modifier and Type | Method and Description |
---|---|
MessageConnector |
createMessageConnector(com.devexperts.connector.proto.ApplicationConnectionFactory applicationConnectionFactory,
String address)
Creates message connector with a given address.
|
Class<? extends MessageConnector> |
getResultingClass()
Returns the exact class of produced MessageConnectors.
|
MessageConnector createMessageConnector(com.devexperts.connector.proto.ApplicationConnectionFactory applicationConnectionFactory, String address) throws com.devexperts.util.InvalidFormatException
applicationConnectionFactory
- ProtocolFactory to use.address
- address to connect to.null
if this
factory does not support the specified address.com.devexperts.util.InvalidFormatException
- if connector supports the specified address, but there
are some errors in its specification.Class<? extends MessageConnector> getResultingClass()
Copyright © 2002–2025 Devexperts LLC. All rights reserved.