Searched refs:frameParser (Results 1 – 2 of 2) sorted by relevance
55 private AltsFraming.Parser frameParser = new AltsFraming.Parser(); field in FakeTsiHandshaker170 frameParser.readBytes(bytes); in processBytesFromPeer()171 if (frameParser.isComplete()) { in processBytesFromPeer()172 ByteBuffer messageBytes = frameParser.getRawFrame(); in processBytesFromPeer()
125 type frameParser func(fc *frameCache, fh FrameHeader, payload []byte) (Frame, error) type127 var frameParsers = map[FrameType]frameParser{140 func typeFrameParser(t FrameType) frameParser {