## Uses of Interface
py4j.GatewayServerListener

- Packages that use GatewayServerListener
  Package | Description
  --- | ---
  py4j |

- - ### Uses of GatewayServerListener in py4j

    Classes in py4j that implement GatewayServerListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultGatewayServerListener` This class implements a default `GatewayServerListener`.
    `class` | `GatewayServer` This class enables Python programs to access a Java program.

    Fields in py4j with type parameters of type GatewayServerListener
    Modifier and Type | Field and Description
    --- | ---
    `protected List<GatewayServerListener>` | GatewayConnection.`listeners`

    Methods in py4j that return types with arguments of type GatewayServerListener
    Modifier and Type | Method and Description
    --- | ---
    `List<GatewayServerListener>` | GatewayServer.`getListeners()`

    Methods in py4j with parameters of type GatewayServerListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | GatewayServer.`addListener(GatewayServerListener listener)`
    `void` | GatewayServer.`removeListener(GatewayServerListener listener)`

    Constructor parameters in py4j with type arguments of type GatewayServerListener
    Constructor and Description
    `GatewayConnection(Gateway gateway, Socket socket, List<Class<? extends Command>> customCommands, List<GatewayServerListener> listeners)`