mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	Added missing constructors.
This commit is contained in:
		| @@ -24,6 +24,19 @@ public class TunnelAttachEvent implements CredentialEvent, TunnelEvent { | ||||
|      */ | ||||
|     private GuacamoleTunnel tunnel; | ||||
|  | ||||
|     /** | ||||
|      * Creates a new TunnelAttachEvent which represents the attaching of the | ||||
|      * given tunnel via a request associated with the given credentials. | ||||
|      *  | ||||
|      * @param credentials The credentials associated with the request | ||||
|      *                    attaching the tunnel. | ||||
|      * @param tunnel The tunnel being attached. | ||||
|      */ | ||||
|     public TunnelAttachEvent(Credentials credentials, GuacamoleTunnel tunnel) { | ||||
|         this.credentials = credentials; | ||||
|         this.tunnel = tunnel; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public Credentials getCredentials() { | ||||
|         return credentials; | ||||
|   | ||||
| @@ -24,6 +24,19 @@ public class TunnelDetachEvent implements CredentialEvent, TunnelEvent { | ||||
|      */ | ||||
|     private GuacamoleTunnel tunnel; | ||||
|  | ||||
|     /** | ||||
|      * Creates a new TunnelDetachEvent which represents the detaching of the | ||||
|      * given tunnel via a request associated with the given credentials. | ||||
|      *  | ||||
|      * @param credentials The credentials associated with the request | ||||
|      *                    detaching the tunnel. | ||||
|      * @param tunnel The tunnel being detached. | ||||
|      */ | ||||
|     public TunnelDetachEvent(Credentials credentials, GuacamoleTunnel tunnel) { | ||||
|         this.credentials = credentials; | ||||
|         this.tunnel = tunnel; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public Credentials getCredentials() { | ||||
|         return credentials; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user