# Uses of Class
net.md_5.bungee.api.config.ListenerInfo

Packages that use ListenerInfo
Package
Description
net.md_5.bungee.api
net.md_5.bungee.api.config
net.md_5.bungee.api.connection
net.md_5.bungee.api.event

- ## Uses of ListenerInfo in net.md_5.bungee.api

  Methods in net.md_5.bungee.api that return types with arguments of type ListenerInfo
  Modifier and Type
  Method
  Description
  `Collection<ListenerInfo>`
  ProxyConfig.`getListeners()`
  Deprecated.
  Set of all listeners.

- ## Uses of ListenerInfo in net.md_5.bungee.api.config

  Methods in net.md_5.bungee.api.config that return types with arguments of type ListenerInfo
  Modifier and Type
  Method
  Description
  `Collection<ListenerInfo>`
  ConfigurationAdapter.`getListeners()`
  Get information about all hosts to bind the proxy to.

- ## Uses of ListenerInfo in net.md_5.bungee.api.connection

  Methods in net.md_5.bungee.api.connection that return ListenerInfo
  Modifier and Type
  Method
  Description
  `ListenerInfo`
  PendingConnection.`getListener()`
  Get the listener that accepted this connection.

- ## Uses of ListenerInfo in net.md_5.bungee.api.event

  Methods in net.md_5.bungee.api.event that return ListenerInfo
  Modifier and Type
  Method
  Description
  `ListenerInfo`
  ClientConnectEvent.`getListener()`
  Listener that accepted the connection.
  Constructors in net.md_5.bungee.api.event with parameters of type ListenerInfo
  Modifier
  Constructor
  Description
  ``
  `ClientConnectEvent(SocketAddress socketAddress, ListenerInfo listener)`
  Creates a new `ClientConnectEvent` instance.