use of com.navercorp.pinpoint.rpc.control.ProtocolException in project pinpoint by naver.
the class DefaultPinpointServer method sendHandshakeResponse0.
private void sendHandshakeResponse0(int requestId, Map<String, Object> data) {
try {
byte[] resultPayload = ControlMessageEncodingUtils.encode(data);
ControlHandshakeResponsePacket packet = new ControlHandshakeResponsePacket(requestId, resultPayload);
write0(packet);
} catch (ProtocolException e) {
logger.warn(e.getMessage(), e);
}
}
Aggregations