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 enum
All 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.void
setParentIdentifier
(String parentIdentifier) Sets the unique identifier of the parent ConnectionGroup for this ConnectionGroup.void
setType
(ConnectionGroup.Type type) Set the type of this ConnectionGroup.Methods inherited from interface org.apache.guacamole.net.auth.Attributes
setAttributes
Methods inherited from interface org.apache.guacamole.net.auth.Connectable
connect, connect, getActiveConnections
Methods inherited from interface org.apache.guacamole.net.auth.Identifiable
getIdentifier, setIdentifier
Methods 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.
-