Interface ClientInfo

All Known Implementing Classes:
ClientListener

public interface ClientInfo
Client info.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the host and port of a client.
    Returns the name of the current client.
    default String
    Returns the name of a client, taken from the specified object or from the logged in user.
  • Method Details

    • clientAddress

      String clientAddress()
      Returns the host and port of a client.
      Returns:
      address of client
    • clientName

      String clientName()
      Returns the name of the current client.
      Returns:
      name of client
    • clientName

      default String clientName(Object id, Context ctx)
      Returns the name of a client, taken from the specified object or from the logged in user.
      Parameters:
      id - object with user id (can be null)
      ctx - database context
      Returns:
      name of client or null