Ejemplo n.º 1
0
///
//  Get socket option `last_endpoint`.
QString QZsock::lastEndpoint ()
{
    char *retStr_ = zsock_last_endpoint (self);
    QString rv = QString (retStr_);
    zstr_free (&retStr_);
    return rv;
}
Ejemplo n.º 2
0
JNIEXPORT jstring JNICALL
Java_org_zeromq_czmq_Zsock__1_1lastEndpoint (JNIEnv *env, jclass c, jlong self)
{
    char *last_endpoint_ = (char *) zsock_last_endpoint ((zsock_t *) (intptr_t) self);
    jstring return_string_ = (*env)->NewStringUTF (env, last_endpoint_);
    zstr_free (&last_endpoint_);
    return return_string_;
}
Ejemplo n.º 3
0
///
//  Get socket option `last_endpoint`.
QString QmlZsock::lastEndpoint () {
    char *retStr_ = zsock_last_endpoint (self);
    QString retQStr_ = QString (retStr_);
    free (retStr_);
    return retQStr_;
};