本文整理了Java中org.zeromq.ZeroMQLibrary.zmq_getsockopt()
方法的一些代码示例,展示了ZeroMQLibrary.zmq_getsockopt()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZeroMQLibrary.zmq_getsockopt()
方法的具体详情如下:
包路径:org.zeromq.ZeroMQLibrary
类名称:ZeroMQLibrary
方法名:zmq_getsockopt
暂无
代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding_2.10
private long getLongSockopt(int option) {
Memory value = new Memory(Long.SIZE / 8);
LongByReference length = new LongByReference(Long.SIZE / 8);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getLong(0);
}
代码示例来源:origin: org.zeromq/zeromq-scala-binding
private long getLongSockopt(int option) {
Memory value = new Memory(Long.SIZE / 8);
LongByReference length = new LongByReference(Long.SIZE / 8);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getLong(0);
}
代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding
private long getLongSockopt(int option) {
Memory value = new Memory(Long.SIZE / 8);
LongByReference length = new LongByReference(Long.SIZE / 8);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getLong(0);
}
代码示例来源:origin: org.zeromq/zeromq-scala-binding_2.10
private long getLongSockopt(int option) {
Memory value = new Memory(Long.SIZE / 8);
LongByReference length = new LongByReference(Long.SIZE / 8);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getLong(0);
}
代码示例来源:origin: org.zeromq/zeromq-scala-binding
private int getIntSockopt(int option) {
Memory value = new Memory(Integer.SIZE / 8);
LongByReference length = new LongByReference(Integer.SIZE / 8);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getInt(0);
}
代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding
private byte[] getBytesSockopt(int option) {
Memory value = new Memory(1024);
LongByReference length = new LongByReference(1024);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getByteArray(0, (int) length.getValue());
}
代码示例来源:origin: org.zeromq/zeromq-scala-binding_2.10
private byte[] getBytesSockopt(int option) {
Memory value = new Memory(1024);
LongByReference length = new LongByReference(1024);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getByteArray(0, (int) length.getValue());
}
代码示例来源:origin: org.zeromq/zeromq-scala-binding
private byte[] getBytesSockopt(int option) {
Memory value = new Memory(1024);
LongByReference length = new LongByReference(1024);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getByteArray(0, (int) length.getValue());
}
代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding_2.10
private byte[] getBytesSockopt(int option) {
Memory value = new Memory(1024);
LongByReference length = new LongByReference(1024);
zmq.zmq_getsockopt(ptr, option, value, length);
return value.getByteArray(0, (int) length.getValue());
}
内容来源于网络,如有侵权,请联系作者删除!