|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageConnectorFactory
Factory class for MessageConnector
.
Method Summary | |
---|---|
MessageConnector |
createMessageConnector(com.devexperts.connector.proto.ApplicationConnectionFactory applicationConnectionFactory,
java.lang.String address)
Creates message connector with a given address. |
java.lang.Class<? extends MessageConnector> |
getResultingClass()
Returns the exact class of produced MessageConnectors. |
Method Detail |
---|
MessageConnector createMessageConnector(com.devexperts.connector.proto.ApplicationConnectionFactory applicationConnectionFactory, java.lang.String address) throws InvalidFormatException
applicationConnectionFactory
- ProtocolFactory to use.address
- address to connect to.
null
if this
factory does not support the specified address.
InvalidFormatException
- if connector supports the specified address, but there
are some errors in its specification.java.lang.Class<? extends MessageConnector> getResultingClass()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |