use of com.navercorp.pinpoint.plugin.thrift.field.getter.TNonblockingTransportFieldGetter in project pinpoint by naver.
the class TAsyncMethodCallConstructInterceptor method after.
@Override
public void after(Object target, Object[] args, Object result, Throwable throwable) {
if (isDebug) {
logger.afterInterceptor(target, args, result, throwable);
}
if (validate(target)) {
TNonblockingTransport transport = ((TNonblockingTransportFieldGetter) target)._$PINPOINT$_getTNonblockingTransport();
if (validateTransport(transport)) {
SocketAddress socketAddress = ((SocketAddressFieldAccessor) transport)._$PINPOINT$_getSocketAddress();
((SocketAddressFieldAccessor) target)._$PINPOINT$_setSocketAddress(socketAddress);
}
}
}
Aggregations