use of com.navercorp.pinpoint.io.header.v2.HeaderV2 in project pinpoint by naver.
the class MetadataService method newMessage.
private <T> Message<T> newMessage(T requestData, short type) {
final Header header = new HeaderV2(Header.SIGNATURE, HeaderV2.VERSION, type);
final HeaderEntity headerEntity = new HeaderEntity(Collections.emptyMap());
return new DefaultMessage<>(header, headerEntity, requestData);
}
use of com.navercorp.pinpoint.io.header.v2.HeaderV2 in project pinpoint by naver.
the class StatService method newMessage.
private <T> Message<T> newMessage(T requestData, short serviceType) {
final Header header = new HeaderV2(Header.SIGNATURE, HeaderV2.VERSION, serviceType);
final HeaderEntity headerEntity = new HeaderEntity(new HashMap<>());
return new DefaultMessage<>(header, headerEntity, requestData);
}
use of com.navercorp.pinpoint.io.header.v2.HeaderV2 in project pinpoint by naver.
the class SpanService method newMessage.
private <T> Message<T> newMessage(T requestData, short serviceType) {
final Header header = new HeaderV2(Header.SIGNATURE, HeaderV2.VERSION, serviceType);
final HeaderEntity headerEntity = new HeaderEntity(new HashMap<>());
return new DefaultMessage<>(header, headerEntity, requestData);
}
use of com.navercorp.pinpoint.io.header.v2.HeaderV2 in project pinpoint by naver.
the class AgentService method newMessage.
private <T> Message<T> newMessage(T requestData, short type) {
final Header header = new HeaderV2(Header.SIGNATURE, HeaderV2.VERSION, type);
final HeaderEntity headerEntity = new HeaderEntity(Collections.emptyMap());
return new DefaultMessage<T>(header, headerEntity, requestData);
}
Aggregations