From f8f1f2ca632d2df7c93643e18b4ee88b294e6fab Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 28 Apr 2009 05:10:46 +0000 Subject: [PATCH] ServerBootstrap cannot be used with UDP/IP --- .../java/org/jboss/netty/bootstrap/ServerBootstrap.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/jboss/netty/bootstrap/ServerBootstrap.java b/src/main/java/org/jboss/netty/bootstrap/ServerBootstrap.java index d222d39698..2efa08dde0 100644 --- a/src/main/java/org/jboss/netty/bootstrap/ServerBootstrap.java +++ b/src/main/java/org/jboss/netty/bootstrap/ServerBootstrap.java @@ -53,6 +53,12 @@ import org.jboss.netty.channel.SimpleChannelUpstreamHandler; * A helper class which creates a new server-side {@link Channel} and accepts * incoming connections. * + *

Only for connection oriented transports

+ * + * Do not use this helper if you are using a connectionless transport such as + * UDP/IP which does not accept an incoming connection but receives messages by + * itself without creating a child channel. + * *

Parent channel and its children

* * A parent channel is a channel which is supposed to accept incoming