net.anotheria.net.tcp.proxy
Class ProxyConnectionFactory

java.lang.Object
  extended by net.anotheria.net.tcp.proxy.ProxyConnectionFactory
All Implemented Interfaces:
IConnectionFactory

public class ProxyConnectionFactory
extends Object
implements IConnectionFactory

A factory for proxy connections.

Author:
lrosenberg

Constructor Summary
ProxyConnectionFactory(String aHost, int aPort)
           
 
Method Summary
 IConnection createConnection(IConnectionCreationContext context)
          Creates a new connection parametrized by the context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyConnectionFactory

public ProxyConnectionFactory(String aHost,
                              int aPort)
Method Detail

createConnection

public IConnection createConnection(IConnectionCreationContext context)
Description copied from interface: IConnectionFactory
Creates a new connection parametrized by the context

Specified by:
createConnection in interface IConnectionFactory
Parameters:
context - connection creation context
Returns:
a new connection object


Copyright © 2010-2013 anotheria.net. All Rights Reserved.