Exemplo n.º 1
0
JNIEXPORT jlong JNICALL
Java_org_zeromq_zebra_XrapMsg__1_1recv (JNIEnv *env, jclass c, jlong input)
{
    jlong recv_ = (jlong) (intptr_t) xrap_msg_recv ((void *) (intptr_t) input);
    return recv_;
}
Exemplo n.º 2
0
///
//  Receive and parse a xrap_msg from the socket. Returns new object,
//  or NULL if error. Will block if there's no message waiting.      
QXrapMsg * QXrapMsg::recv (void *input)
{
    QXrapMsg *rv = new QXrapMsg (xrap_msg_recv (input));
    return rv;
}