From 4494683db25cd8ecb7653610f8b406ec18d19578 Mon Sep 17 00:00:00 2001 From: Redkale <22250530@qq.com> Date: Mon, 21 May 2018 12:04:15 +0800 Subject: [PATCH] --- src/org/redkale/net/ProtocolServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/redkale/net/ProtocolServer.java b/src/org/redkale/net/ProtocolServer.java index 29caf918f..e06d5e6a6 100644 --- a/src/org/redkale/net/ProtocolServer.java +++ b/src/org/redkale/net/ProtocolServer.java @@ -85,7 +85,7 @@ public abstract class ProtocolServer { //--------------------------------------------------------------------- public static ProtocolServer create(String protocol, Context context) { - if ("TCP".equalsIgnoreCase(protocol)) return new ProtocolNIOTCPServer(context); + if ("TCP".equalsIgnoreCase(protocol)) return new ProtocolAIOTCPServer(context); if ("UDP".equalsIgnoreCase(protocol)) return new ProtocolBIOUDPServer(context); throw new RuntimeException("ProtocolServer not support protocol " + protocol); }