Sha256: c483a903950795b492c259d5d13f6d3c5ecafc0feb104e4f89e6bc22280a3996

Contents?: true

Size: 1.23 KB

Versions: 18

Compression:

Stored size: 1.23 KB

Contents

/**
 * $Id$
 * 
 * Author:: Francis Cianfrocca (gmail: blackhedd)
 * Homepage::  http://rubyeventmachine.com
 * Date:: 15 Jul 2007
 * 
 * See EventMachine and EventMachine::Connection for documentation and
 * usage examples.
 * 
 *
 *----------------------------------------------------------------------------
 *
 * Copyright (C) 2006-07 by Francis Cianfrocca. All Rights Reserved.
 * Gmail: blackhedd
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of either: 1) the GNU General Public License
 * as published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version; or 2) Ruby's License.
 * 
 * See the file COPYING for complete licensing information.
 *
 *---------------------------------------------------------------------------
 *
 * 
 */



package com.rubyeventmachine;

import com.rubyeventmachine.ConnectionFactory;

public class DefaultConnectionFactory implements ConnectionFactory {

	/**
	 * Convenience class. Its connection() method returns an instance of class
	 * Connection, which is usually overridden. This class is probably most
	 * useful for unit testing.
	 */
	public Connection connection() {
		return new Connection();
	}

}

Version data entries

18 entries across 18 versions & 6 rubygems

Version Path
MattHulse-eventmachine-0.0.1 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
MattHulse-eventmachine-0.12.10 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
careo-eventmachine-0.12.5.1 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
davidsmalley-eventmachine-0.12.3.1 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-eventmachine-0.12.3 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-eventmachine-0.12.4 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-eventmachine-0.12.5 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-eventmachine-0.12.6 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-eventmachine-0.12.7 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-eventmachine-0.12.8 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-eventmachine-0.12.9 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
libc-eventmachine-0.12.5.42 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
libc-eventmachine-0.12.7.42 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-0.12.4 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-0.12.6 java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-0.12.8-java java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-0.12.6-java java/src/com/rubyeventmachine/DefaultConnectionFactory.java
eventmachine-0.12.8 java/src/com/rubyeventmachine/DefaultConnectionFactory.java