示例#1
0
 public Connection(bool robotmode)
 {
     RobotMode = robotmode;
     connected = false;
     timeOut   = 8000;
     recvBuf   = ByteBuf.allocOne(65536 * 10);
 }
 public LengthFieldPrepender()
 {
     tempBuf = ByteBuf.allocOne(MAX_SIZE);
 }
示例#3
0
 public LengthFieldBasedFrameDecoder()
 {
     receivedBuf = ByteBuf.allocOne(MAX_SIZE);
 }