Groovy Documentation

org.hidetake.gradle.ssh.internal.connection
[Groovy] Interface ConnectionManager


interface ConnectionManager

A manager of Connections.

Authors:
hidetake.org


Method Summary
Connection connect(Remote remote)

Establish a connection.

void waitAndClose()

Wait for pending connections and close all.

 

Method Detail

connect

Connection connect(Remote remote)
Establish a connection.
Returns:
a connection
Parameters:
remote - the remote host


waitAndClose

void waitAndClose()
Wait for pending connections and close all.
throws:
org.hidetake.gradle.ssh.plugin.session.BackgroundCommandException if any error occurs


 

Groovy Documentation