Class UDPEmitter

java.lang.Object
com.amazonaws.xray.emitters.Emitter
com.amazonaws.xray.emitters.UDPEmitter
Direct Known Subclasses:
DefaultEmitter

@Deprecated
public class UDPEmitter
extends Emitter
Deprecated.
  • Constructor Details

    • UDPEmitter

      public UDPEmitter() throws java.net.SocketException
      Deprecated.
      Constructs a UDPEmitter. Sets the daemon address to the value of the AWS_XRAY_DAEMON_ADDRESS environment variable or com.amazonaws.xray.emitters.daemonAddress system property, if either are set to a non-empty value. Otherwise, points to InetAddress.getLoopbackAddress() at port 2000.
      Throws:
      java.net.SocketException - if an error occurs while instantiating a DatagramSocket.
    • UDPEmitter

      public UDPEmitter​(DaemonConfiguration config) throws java.net.SocketException
      Deprecated.
      Constructs a UDPEmitter. This overload allows you to specify the configuration.
      Parameters:
      config - The DaemonConfiguration for the Emitter.
      Throws:
      java.net.SocketException - if an error occurs while instantiating a DatagramSocket.
  • Method Details