Search in sources :

Example 1 with ClientListenerRequestHandler

use of org.apache.ignite.internal.processors.odbc.ClientListenerRequestHandler in project ignite by apache.

the class ClientConnectionView method version.

/**
 * @return Protocol version.
 */
public String version() {
    if (ctx == null)
        return null;
    ClientListenerRequestHandler hnd = ctx.handler();
    if (hnd == null)
        return null;
    ClientListenerProtocolVersion ver = hnd.protocolVersion();
    return ver == null ? null : ver.asString();
}
Also used : ClientListenerProtocolVersion(org.apache.ignite.internal.processors.odbc.ClientListenerProtocolVersion) ClientListenerRequestHandler(org.apache.ignite.internal.processors.odbc.ClientListenerRequestHandler)

Aggregations

ClientListenerProtocolVersion (org.apache.ignite.internal.processors.odbc.ClientListenerProtocolVersion)1 ClientListenerRequestHandler (org.apache.ignite.internal.processors.odbc.ClientListenerRequestHandler)1