com.web_visage.ichat
Class DefaultConnectionResourceFactory

java.lang.Object
  extended by com.web_visage.ichat.DefaultConnectionResourceFactory
All Implemented Interfaces:
ConnectionResourceFactory

public class DefaultConnectionResourceFactory
extends java.lang.Object
implements ConnectionResourceFactory

Default connection resource factory.

Author:
K.Baturytski

Constructor Summary
DefaultConnectionResourceFactory(IChatMessageFactory messageFactory, java.lang.String remoteIp, int remotePort)
          Constructor.
 
Method Summary
 ConnectionResource createConnectionResource()
          Creates new connection resource.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConnectionResourceFactory

public DefaultConnectionResourceFactory(IChatMessageFactory messageFactory,
                                        java.lang.String remoteIp,
                                        int remotePort)
Constructor.

Parameters:
messageFactory -
remoteIp -
remotePort -
Method Detail

createConnectionResource

public ConnectionResource createConnectionResource()
Description copied from interface: ConnectionResourceFactory
Creates new connection resource.

Specified by:
createConnectionResource in interface ConnectionResourceFactory
Returns:
See Also:
ConnectionResourceFactory.createConnectionResource()