Search in sources :

Example 1 with ClusterAddressProvider

use of com.navercorp.pinpoint.collector.cluster.ClusterAddressProvider in project pinpoint by naver.

the class CollectorClusterConnector method connect.

PinpointSocket connect(Address address) {
    Objects.requireNonNull(clientFactory, "not started.");
    Objects.requireNonNull(address, "address");
    ClusterAddressProvider clusterAddressProvider = new ClusterAddressProvider(address);
    PinpointSocket socket = ClientFactoryUtils.createPinpointClient(clusterAddressProvider, clientFactory);
    return socket;
}
Also used : PinpointSocket(com.navercorp.pinpoint.rpc.PinpointSocket) ClusterAddressProvider(com.navercorp.pinpoint.collector.cluster.ClusterAddressProvider)

Aggregations

ClusterAddressProvider (com.navercorp.pinpoint.collector.cluster.ClusterAddressProvider)1 PinpointSocket (com.navercorp.pinpoint.rpc.PinpointSocket)1