org.sourceforge.jemm.comm.connection.socket
Class SocketClientConnectionFactory

java.lang.Object
  extended by org.sourceforge.jemm.comm.connection.socket.SocketClientConnectionFactory
All Implemented Interfaces:
ClientConnectionFactory

public class SocketClientConnectionFactory
extends java.lang.Object
implements ClientConnectionFactory


Constructor Summary
SocketClientConnectionFactory(java.lang.String hostname, int port)
           
 
Method Summary
 Connection connect()
           
 java.lang.String getConnectionAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketClientConnectionFactory

public SocketClientConnectionFactory(java.lang.String hostname,
                                     int port)
Method Detail

connect

public Connection connect()
                   throws ConnectionException
Specified by:
connect in interface ClientConnectionFactory
Throws:
ConnectionException

getConnectionAddress

public java.lang.String getConnectionAddress()
Specified by:
getConnectionAddress in interface ClientConnectionFactory


Copyright © 2009. All Rights Reserved.