Interface ManagerFactory<M,​T>

  • Type Parameters:
    M - The Manager type.
    T - The Factory data type.
    All Known Implementing Classes:
    TcpSocketManager.TcpSocketManagerFactory

    public interface ManagerFactory<M,​T>
    Creates Manager objects.
    • Method Detail

      • createManager

        M createManager​(String name,
                        T data)
        Creates a Manager.
        Parameters:
        name - The name of the entity to manage.
        data - The data required to create the entity.
        Returns:
        A Manager for the entity.