You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2013/03/27 17:40:55 UTC
[3/6] git commit: Added the Bio_tcp and Bio_udp types
Added the Bio_tcp and Bio_udp types
Project: http://git-wip-us.apache.org/repos/asf/mina/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/9e62ed7d
Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/9e62ed7d
Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/9e62ed7d
Branch: refs/heads/trunk
Commit: 9e62ed7d969f0184ba2ec8fd7e4b3353a367c3a7
Parents: 6ac2897
Author: Emmanuel Lécharny <el...@apache.org>
Authored: Wed Mar 27 17:36:15 2013 +0100
Committer: Emmanuel Lécharny <el...@apache.org>
Committed: Wed Mar 27 17:36:15 2013 +0100
----------------------------------------------------------------------
.../apache/mina/core/BenchmarkClientFactory.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina/blob/9e62ed7d/benchmarks/src/test/java/org/apache/mina/core/BenchmarkClientFactory.java
----------------------------------------------------------------------
diff --git a/benchmarks/src/test/java/org/apache/mina/core/BenchmarkClientFactory.java b/benchmarks/src/test/java/org/apache/mina/core/BenchmarkClientFactory.java
index 2330b6e..7af63c5 100755
--- a/benchmarks/src/test/java/org/apache/mina/core/BenchmarkClientFactory.java
+++ b/benchmarks/src/test/java/org/apache/mina/core/BenchmarkClientFactory.java
@@ -21,6 +21,7 @@ package org.apache.mina.core;
import org.apache.mina.core.nio.tcp.Mina3TcpBenchmarkClient;
import org.apache.mina.core.nio.tcp.Netty3TcpBenchmarkClient;
+import org.apache.mina.core.nio.udp.BioUdpBenchmarkClient;
import org.apache.mina.core.nio.udp.Mina3UdpBenchmarkClient;
import org.apache.mina.core.nio.udp.Netty3UdpBenchmarkClient;
@@ -41,6 +42,10 @@ public class BenchmarkClientFactory implements BenchmarkFactory<BenchmarkClient>
return new Netty3TcpBenchmarkClient();
case Netty3_udp:
return new Netty3UdpBenchmarkClient();
+ case Bio_tcp:
+ //return new BioTcpBenchmarkClient();
+ case Bio_udp:
+ return new BioUdpBenchmarkClient();
default:
throw new IllegalArgumentException("Invalid type " + type);
}