summaryrefslogtreecommitdiffstats
blob: e8ff75543dad4f7e6ac5d24b3443e4e1301a0cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2011 Tobias Markmann
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */
/*
 * Copyright (c) 2015 Tarun Gupta.
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

package com.isode.stroke.network;

import com.isode.stroke.eventloop.EventLoop;

public class DummyConnectionFactory implements ConnectionFactory {

	private EventLoop eventLoop;

	public DummyConnectionFactory(EventLoop eventLoop) {
		this.eventLoop = eventLoop;
	}

	public Connection createConnection() {
		return new DummyConnection(eventLoop);
	}
}