JNIEXPORT jlong JNICALL Java_org_zeromq_czmq_Zsock__1_1newXpub (JNIEnv *env, jclass c, jstring endpoint) { char *endpoint_ = (char *) (*env)->GetStringUTFChars (env, endpoint, NULL); jlong new_xpub_ = (jlong) (intptr_t) zsock_new_xpub (endpoint_); (*env)->ReleaseStringUTFChars (env, endpoint, endpoint_); return new_xpub_; }
/// // Create an XPUB socket. Default action is bind. QZsock* QZsock::newXpub (const QString &endpoint, QObject *qObjParent) { return new QZsock (zsock_new_xpub (endpoint.toUtf8().data()), qObjParent); }
/// // Create an XPUB socket. Default action is bind. QmlZsock *QmlZsockAttached::constructXpub (const QString &endpoint) { QmlZsock *qmlSelf = new QmlZsock (); qmlSelf->self = zsock_new_xpub (endpoint.toUtf8().data()); return qmlSelf; };
Z K1(zsocknewxpub){R ptr(zsock_new_xpub(xs));}
/// // Create an XPUB socket. Default action is bind. QmlZsock *QmlZsockAttached::newXpub (const QString &endpoint) { QmlZsock *retQ_ = new QmlZsock (); retQ_->self = zsock_new_xpub (endpoint.toUtf8().data()); return retQ_; };