6061626364656667686970
{ WebSocketFrame copy; switch (original.getOpCode()) { case OpCode.BINARY: copy = new BinaryFrame(); break; case OpCode.TEXT: copy = new TextFrame(); break; case OpCode.CLOSE:
60616263646566
this.outgoing = outgoing; this.bufferPool = bufferPool; this.blocker = new BlockingWriteCallback(); this.buffer = bufferPool.acquire(bufferSize, true); BufferUtil.flipToFill(buffer); this.frame = new BinaryFrame(); }