|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerConnectionFactory
Method Summary | |
---|---|
ServerConnection |
createConnection(java.util.Properties connectionProperties)
Establish a connection to the server. |
void |
initialize(java.util.Properties info)
|
boolean |
isAlive()
Is the connection factory alive |
void |
shutdown(boolean restart)
Shutdown the connection factory, including the DQP and all its existing connections |
Method Detail |
---|
void initialize(java.util.Properties info) throws MetaMatrixCoreException
MetaMatrixCoreException
ServerConnection createConnection(java.util.Properties connectionProperties) throws CommunicationException, ConnectionException
connProps
- The properties used by the transport to find a connection. These
properties are typically specific to the transport.
ConnectionException
- If an error occurs communicating between client and server
CommunicationException
- If an error occurs in connecting, typically due to
problems with the connection properties (bad user name, bad password, bad host name, etc)void shutdown(boolean restart)
boolean isAlive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |