/**
 * $Id: CAsyncClientSocketFactoryImpl.java,v 1.2 2005/05/04 07:50:07 rampil Exp $
 * LOGICAL-PARADOX.ORG
 * Copyright (C)2004 satoshi akabane(akabane@logical-paradox.org)
 *
 */
package org.logical_paradox.common.net.async.impl;

import java.io.IOException;
import java.nio.channels.SocketChannel;

import org.logical_paradox.common.net.async.CAsyncClientSocket;
import org.logical_paradox.common.net.async.CAsyncClientSocketFactory;

/**
 * 非同期クライアントソケットファクトリのUT用の実装
 * @author satoshi akabane@logical-paradox.org
 * @version $Revision: 1.2 $
 */
public class CAsyncClientSocketFactoryImpl
	implements CAsyncClientSocketFactory {

	public CAsyncClientSocket createClientSocket(String hostname, int port) throws IOException {
		return new CAsyncClientSocketImpl(hostname, port);
	}

	public CAsyncClientSocket createClientSocket(SocketChannel channel) throws IOException {
		return new CAsyncClientSocketImpl(channel);
	}
}
