예제 #1
0
///
//  Create a PUB socket. Default action is bind.
QmlZsock *QmlZsockAttached::constructPub (const QString &endpoint) {
    QmlZsock *qmlSelf = new QmlZsock ();
    qmlSelf->self = zsock_new_pub (endpoint.toUtf8().data());
    return qmlSelf;
};
예제 #2
0
파일: qzsock.cpp 프로젝트: sappo/zebra
///
//  Create a PUB socket. Default action is bind.
QZsock* QZsock::newPub (const QString &endpoint, QObject *qObjParent)
{
    return new QZsock (zsock_new_pub (endpoint.toUtf8().data()), qObjParent);
}
예제 #3
0
파일: QmlZsock.cpp 프로젝트: dadavita/stalk
///
//  Create a PUB socket. Default action is bind.
QmlZsock *QmlZsockAttached::newPub (const QString &endpoint) {
    QmlZsock *retQ_ = new QmlZsock ();
    retQ_->self = zsock_new_pub (endpoint.toUtf8().data());
    return retQ_;
};