use of com.navercorp.pinpoint.io.header.HeaderReader in project pinpoint by naver.
the class ChunkHeaderTBaseDeserializer method readInternal.
private Message<TBase<?, ?>> readInternal() throws TException {
final HeaderReader reader = newHeaderReader();
final Header header = readHeader(reader);
final HeaderEntity headerEntity = readHeaderEntity(reader, header);
skipHeaderOffset(reader);
final TBase<?, ?> base = locator.bodyLookup(header.getType());
if (base == null) {
throw new TException("base must not be null type:" + header.getType());
}
base.read(protocol);
return new DefaultMessage<TBase<?, ?>>(header, headerEntity, base);
}
use of com.navercorp.pinpoint.io.header.HeaderReader in project pinpoint by naver.
the class ChunkHeaderTBaseDeserializer method readHeader.
private Header readHeader() throws TException {
HeaderReader reader = newHeaderReader();
Header header = readHeader(reader);
skipHeaderOffset(reader);
return header;
}
Aggregations