JNIEXPORT jlong JNICALL
Java_org_zeromq_zebra_XrapMsg__1_1recvNowait (JNIEnv *env, jclass c, jlong input)
{
    jlong recv_nowait_ = (jlong) (intptr_t) xrap_msg_recv_nowait ((void *) (intptr_t) input);
    return recv_nowait_;
}
Beispiel #2
0
///
//  Receive and parse a xrap_msg from the socket. Returns new object,         
//  or NULL either if there was no input waiting, or the recv was interrupted.
QXrapMsg * QXrapMsg::recvNowait (void *input)
{
    QXrapMsg *rv = new QXrapMsg (xrap_msg_recv_nowait (input));
    return rv;
}