예제 #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_;
}
예제 #2
0
파일: qzsock.cpp 프로젝트: digideskio/zebra
///
//  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;
}
예제 #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);
};