Interface Connection
-
public interface Connection
Represents a base connection that other connections should implement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Close the connection and cleanup resourcesvoid
connect(ConnectionConfig config)
Make the connection
-
-
-
Method Detail
-
connect
void connect(ConnectionConfig config) throws ConnectException
Make the connection- Throws:
ConnectException
-
close
void close() throws ConnectException
Close the connection and cleanup resources- Throws:
ConnectException
-
-