org.glyptodon.guacamole.net.auth.simple
public class SimpleConnectionGroup extends AbstractConnectionGroup
ConnectionGroup.Type| Constructor and Description |
|---|
SimpleConnectionGroup(String name,
String identifier,
Directory<String,Connection> connectionDirectory,
Directory<String,ConnectionGroup> connectionGroupDirectory)
Creates a new SimpleConnectionGroup having the given name and identifier
which will expose the given directories as its contents.
|
| Modifier and Type | Method and Description |
|---|---|
org.glyptodon.guacamole.net.GuacamoleSocket |
connect(org.glyptodon.guacamole.protocol.GuacamoleClientInformation info)
Establishes a connection to guacd using a connection chosen from among
the connections in this ConnectionGroup, and returns the resulting,
connected GuacamoleSocket.
|
Directory<String,Connection> |
getConnectionDirectory()
Retrieves a Directory which can be used to view and manipulate
connections and their configurations, but only as allowed by the
permissions given to the user.
|
Directory<String,ConnectionGroup> |
getConnectionGroupDirectory()
Retrieves a Directory which can be used to view and manipulate
connection groups and their members, but only as allowed by the
permissions given to the user.
|
equals, getIdentifier, getName, getParentIdentifier, getType, hashCode, setIdentifier, setName, setParentIdentifier, setTypepublic SimpleConnectionGroup(String name, String identifier, Directory<String,Connection> connectionDirectory, Directory<String,ConnectionGroup> connectionGroupDirectory)
name - The name to associate with this connection.identifier - The identifier to associate with this connection.connectionDirectory - The connection directory to expose when
requested.connectionGroupDirectory - The connection group directory to expose
when requested.public Directory<String,Connection> getConnectionDirectory() throws org.glyptodon.guacamole.GuacamoleException
ConnectionGrouporg.glyptodon.guacamole.GuacamoleException - If an error occurs while creating the
Directory.public Directory<String,ConnectionGroup> getConnectionGroupDirectory() throws org.glyptodon.guacamole.GuacamoleException
ConnectionGrouporg.glyptodon.guacamole.GuacamoleException - If an error occurs while creating the
Directory.public org.glyptodon.guacamole.net.GuacamoleSocket connect(org.glyptodon.guacamole.protocol.GuacamoleClientInformation info)
throws org.glyptodon.guacamole.GuacamoleException
ConnectionGroupinfo - Information associated with the connecting client.org.glyptodon.guacamole.GuacamoleException - If an error occurs while connecting to guacd,
or if permission to connect is denied.Copyright © 2014. All Rights Reserved.