org.zeromq.ZeroMQLibrary.zmq_getsockopt()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(157)

本文整理了Java中org.zeromq.ZeroMQLibrary.zmq_getsockopt()方法的一些代码示例,展示了ZeroMQLibrary.zmq_getsockopt()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZeroMQLibrary.zmq_getsockopt()方法的具体详情如下:
包路径:org.zeromq.ZeroMQLibrary
类名称:ZeroMQLibrary
方法名:zmq_getsockopt

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());
}

相关文章