Browse Source

Netty test wasn't compiling, needed to change protected method to public

Patrick Falls 12 years ago
parent
commit
e4838b5033
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netty/src/main/java/hello/HelloServerHandler.java

+ 1 - 1
netty/src/main/java/hello/HelloServerHandler.java

@@ -43,7 +43,7 @@ public class HelloServerHandler extends ChannelInboundMessageHandlerAdapter<Obje
     private boolean flush;
 
     @Override
-    protected boolean beginMessageReceived(ChannelHandlerContext ctx) throws Exception {
+    public boolean beginMessageReceived(ChannelHandlerContext ctx) throws Exception {
         flush = false;
         return super.beginMessageReceived(ctx);
     }