Exemplo n.º 1
0
JNIEXPORT jint JNICALL
Java_org_zeromq_czmq_Zsock__1_1routingId (JNIEnv *env, jclass c, jlong self)
{
    jint routing_id_ = (jint) zsock_routing_id ((zsock_t *) (intptr_t) self);
    return routing_id_;
}
Exemplo n.º 2
0
///
//  Return socket routing ID if any. This returns 0 if the socket is not
//  of type ZMQ_SERVER or if no request was already received on it.     
quint32 QZsock::routingId ()
{
    uint32_t rv = zsock_routing_id (self);
    return rv;
}
Exemplo n.º 3
0
///
//  Return socket routing ID if any. This returns 0 if the socket is not
//  of type ZMQ_SERVER or if no request was already received on it.     
uint32_t QmlZsock::routingId () {
    return zsock_routing_id (self);
};