Interface ConnectionGroup

All Superinterfaces:
Attributes, Connectable, Identifiable, Nameable, ReadableAttributes
All Known Implementing Classes:
AbstractConnectionGroup, DelegatingConnectionGroup, SimpleConnectionGroup, TokenInjectingConnectionGroup

public interface ConnectionGroup extends Identifiable, Connectable, Attributes, Nameable
Represents a connection group, which can contain both other connection groups as well as connections.
  • Method Details

    • getParentIdentifier

      String getParentIdentifier()
      Returns the unique identifier of the parent ConnectionGroup for this ConnectionGroup.
      Returns:
      The unique identifier of the parent ConnectionGroup for this ConnectionGroup.
    • setParentIdentifier

      void setParentIdentifier(String parentIdentifier)
      Sets the unique identifier of the parent ConnectionGroup for this ConnectionGroup.
      Parameters:
      parentIdentifier - The unique identifier of the parent ConnectionGroup for this ConnectionGroup.
    • setType

      void setType(ConnectionGroup.Type type)
      Set the type of this ConnectionGroup.
      Parameters:
      type - The type of this ConnectionGroup.
    • getType

      Returns the type of this connection.
      Returns:
      the type of this connection.
    • getConnectionIdentifiers

      Set<String> getConnectionIdentifiers() throws org.apache.guacamole.GuacamoleException
      Returns the identifiers of all readable connections that are children of this connection group.
      Returns:
      The set of identifiers of all readable connections that are children of this connection group.
      Throws:
      org.apache.guacamole.GuacamoleException - If an error occurs while retrieving the identifiers.
    • getConnectionGroupIdentifiers

      Set<String> getConnectionGroupIdentifiers() throws org.apache.guacamole.GuacamoleException
      Returns the identifiers of all readable connection groups that are children of this connection group.
      Returns:
      The set of identifiers of all readable connection groups that are children of this connection group.
      Throws:
      org.apache.guacamole.GuacamoleException - If an error occurs while retrieving the identifiers.