Groovy Documentation

org.hidetake.gradle.ssh.ssh.api
[Groovy] Interface ConnectionFactory


interface ConnectionFactory

A factory of Connection.

Authors:
hidetake.org


Method Summary
void cleanup()

Cleanup all connections.

Connection establish(Remote remote)

Establish a connection.

boolean isAllClosed()

Return if all connections have been closed.

boolean isAllSuccess()

Return if all connections was success.

 

Method Detail

cleanup

void cleanup()
Cleanup all connections.


establish

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


isAllClosed

boolean isAllClosed()
Return if all connections have been closed.
Returns:


isAllSuccess

boolean isAllSuccess()
Return if all connections was success.
Returns:


 

Groovy Documentation