Package org.apache.guacamole.net.auth
Interface ConnectionGroup
- All Superinterfaces:
Attributes,Connectable,Identifiable,Nameable,ReadableAttributes
- All Known Implementing Classes:
AbstractConnectionGroup,DelegatingConnectionGroup,SimpleConnectionGroup,TokenInjectingConnectionGroup
Represents a connection group, which can contain both other connection groups
as well as connections.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAll legal types of connection group. -
Method Summary
Modifier and TypeMethodDescriptionReturns the identifiers of all readable connection groups that are children of this connection group.Returns the identifiers of all readable connections that are children of this connection group.Returns the unique identifier of the parent ConnectionGroup for this ConnectionGroup.getType()Returns the type of this connection.voidsetParentIdentifier(String parentIdentifier) Sets the unique identifier of the parent ConnectionGroup for this ConnectionGroup.voidsetType(ConnectionGroup.Type type) Set the type of this ConnectionGroup.Methods inherited from interface org.apache.guacamole.net.auth.Attributes
setAttributesMethods inherited from interface org.apache.guacamole.net.auth.Connectable
connect, connect, getActiveConnectionsMethods inherited from interface org.apache.guacamole.net.auth.Identifiable
getIdentifier, setIdentifierMethods inherited from interface org.apache.guacamole.net.auth.ReadableAttributes
getAttributes
-
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
Sets the unique identifier of the parent ConnectionGroup for this ConnectionGroup.- Parameters:
parentIdentifier- The unique identifier of the parent ConnectionGroup for this ConnectionGroup.
-
setType
Set the type of this ConnectionGroup.- Parameters:
type- The type of this ConnectionGroup.
-
getType
ConnectionGroup.Type getType()Returns the type of this connection.- Returns:
- the type of this connection.
-
getConnectionIdentifiers
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
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.
-