com.cafesoft.core.message
Interface ConnectionFactory

All Known Implementing Classes:
StandardConnectionFactory

public interface ConnectionFactory

Defines the interface for message framework classes that create client-side Connections used to transport messages.

Since:
2/26/02

Method Summary
 Connection createConnection(String host, int port)
          Create a Connection on a Socket.
 

Method Detail

createConnection

public Connection createConnection(String host,
                                   int port)
                            throws MessageServiceException
Create a Connection on a Socket.

Parameters:
host - the server host name.
port - the port on which the server host is listening
Returns:
a new connection for the specified host and port
Throws:
MessageServiceException - if an error while attempting to create the Connection


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.