Interface PortBased

All Superinterfaces:
NetworkBased
All Known Implementing Classes:
MulticastAppender, MulticastReceiver, UDPAppender, UDPReceiver, XMLSocketReceiver

public interface PortBased extends NetworkBased
Net based entities that 'work with' a Port should consider implementing this interface so that they can be treated generically.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the Port # that this net based thing is using.

    Methods inherited from interface org.apache.log4j.net.NetworkBased

    getName, isActive
  • Method Details

    • getPort

      int getPort()
      Returns the Port # that this net based thing is using.
      Returns:
      int port number