Class UDPConduit

All Implemented Interfaces:
Conduit, Observable

public class UDPConduit extends AbstractConduit
  • Field Details

    • NETWORK_INTERFACE

      public static final String NETWORK_INTERFACE
      For broadcast/multicast, the specific network interface to use. This can either be a specific java.net.NetworkInterface or a string for NetworkInterface.getByName(String name)
  • Constructor Details

    • UDPConduit

      public UDPConduit(org.apache.cxf.ws.addressing.EndpointReferenceType t, Bus bus)
  • Method Details

    • close

      public void close(Message msg) throws IOException
      Description copied from interface: Conduit
      Close the connections associated with the message
      Specified by:
      close in interface Conduit
      Overrides:
      close in class AbstractConduit
      Parameters:
      msg - for which content should be closed.
      Throws:
      IOException
    • close

      public void close()
      Description copied from class: AbstractConduit
      Close the conduit.
      Specified by:
      close in interface Conduit
      Overrides:
      close in class AbstractConduit
    • prepare

      public void prepare(Message message) throws IOException
      Description copied from interface: Conduit
      Prepare the message for sending. This will typically involve setting an OutputStream on the message, but it may do nothing at all.
      Parameters:
      message - the message to be sent.
      Throws:
      IOException
    • getLogger

      protected Logger getLogger()
      Specified by:
      getLogger in class AbstractObservable
      Returns:
      the logger to use