net.sourceforge.cruisecontrol.publishers
Interface SocketFactory


public interface SocketFactory

Simple factory interface for creating Sockets. Allows for a Constructor Dependency Injection model.

Author:
Paul Julius

Method Summary
 java.net.Socket createSocket(java.lang.String server, int port)
           
 

Method Detail

createSocket

public java.net.Socket createSocket(java.lang.String server,
                                    int port)
                             throws java.io.IOException
Throws:
java.io.IOException