Package org.apache.log4j.net

## 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.
  Author:
    Paul Smith (psmith@apache.org)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getPort()` | Returns the Port # that this net based thing is using.

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

      `getName, isActive`

- - ### Method Detail

    - #### getPort

          int getPort()

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