#include <xmog_connection_provider.h>
Collaboration diagram for xmog_connection_provider:

Public Types | |
| typedef int(XMOG_CALLING_CONVENTION * | XMOG_CONNECT_METHOD )(xmog_jvm **result, const char *connect, xmog_authentication_provider *auth, xmog_encryption_provider *enc) |
| The function prototype for connecting to the server. | |
| typedef int(XMOG_CALLING_CONVENTION * | XMOG_DISCONNECT_METHOD )(xmog_jvm *) |
| The function prototype for disconnecting from the server. | |
Public Member Functions | |
| int | connect (xmog_jvm **result) |
| Attempts to connect to the server using the specified settings. | |
| int | disconnect (xmog_jvm *jvm) |
| Attempts to disconnect from the server. | |
| xmog_connection_provider (const char *connect, xmog_authentication_provider *auth, xmog_encryption_provider *enc) | |
| Creates an connection provider instance based on an connection string. | |
| ~xmog_connection_provider () | |
|
||||||||||||||||
|
Creates an connection provider instance based on an connection string.
|
|
|
Cleans up the internal information. |
|
|
Attempts to connect to the server using the specified settings.
|
|
|
Attempts to disconnect from the server.
|
1.4.1