gpt4 book ai didi

org.zeromq.ZMQ.getFullVersion()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 04:22:40 30 4
gpt4 key购买 nike

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

ZMQ.getFullVersion介绍

暂无

代码示例

代码示例来源:origin: org.zeromq/zeromq-scala-binding_2.10

public int getType() {
 if (getFullVersion() < makeVersion(2, 1, 0))
  return -1;
 return (int) getLongSockopt(ZeroMQ$.MODULE$.ZMQ_TYPE());
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding_2.10

public void setLinger(long linger) {
 if (getFullVersion() < makeVersion(2, 1, 0))
  return;
 setLongSockopt(ZeroMQ$.MODULE$.ZMQ_LINGER(), linger);
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding_2.10

public void setMulticastLoop(boolean mcast_loop) {
 if (getFullVersion() >= makeVersion(3, 0, 0))
  return;
 setLongSockopt(ZeroMQ$.MODULE$.ZMQ_MCAST_LOOP(), mcast_loop ? 1 : 0);
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding

public int getReconnectIVLMax() {
 if (getFullVersion() < makeVersion(2, 1, 0))
  return -1;
 return getIntSockopt(ZeroMQ$.MODULE$.ZMQ_RECONNECT_IVL_MAX());
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding

public long getMaxMsgSize() {
 if (getFullVersion() < makeVersion(3, 0, 0))
  return -1;
 return getLongSockopt(ZeroMQ$.MODULE$.ZMQ_MAXMSGSIZE());
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding

public int getSendTimeOut() {
 if (getFullVersion() < makeVersion(2, 2, 0))
  return -1;
 return getIntSockopt(ZeroMQ$.MODULE$.ZMQ_SNDTIMEO());
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding

public long getFD() {
 if (getFullVersion() < makeVersion(2, 1, 0))
  return -1;
 return getLongSockopt(ZeroMQ$.MODULE$.ZMQ_FD());
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding

public void setReconnectIVLMax(int reconnectIVLMax) {
 if (getFullVersion() < makeVersion(2, 1, 0))
  return;
 setIntSockopt(ZeroMQ$.MODULE$.ZMQ_RECONNECT_IVL_MAX(), reconnectIVLMax);
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding

public void setMulticastLoop(boolean mcast_loop) {
 if (getFullVersion() >= makeVersion(3, 0, 0))
  return;
 setLongSockopt(ZeroMQ$.MODULE$.ZMQ_MCAST_LOOP(), mcast_loop ? 1 : 0);
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding

public int getType() {
 if (getFullVersion() < makeVersion(2, 1, 0))
  return -1;
 return (int) getLongSockopt(ZeroMQ$.MODULE$.ZMQ_TYPE());
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding

public long getSendTimeOut() {
 if (getFullVersion() < makeVersion(3, 0, 0))
  return -1;
 return getLongSockopt(ZeroMQ$.MODULE$.ZMQ_SNDTIMEO());
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding

public void setHWM(long hwm) {
 if (getFullVersion() >= makeVersion(3, 0, 0))
  return;
 setLongSockopt(ZeroMQ$.MODULE$.ZMQ_HWM(), hwm);
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding

public void setMulticastLoop(boolean mcast_loop) {
 if (getFullVersion() >= makeVersion(3, 0, 0))
  return;
 setLongSockopt(ZeroMQ$.MODULE$.ZMQ_MCAST_LOOP(), mcast_loop ? 1 : 0);
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding_2.10

public long getLinger() {
 if (getFullVersion() < makeVersion(2, 1, 0))
  return -1;
 return (int) getLongSockopt(ZeroMQ$.MODULE$.ZMQ_LINGER());
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding_2.10

public long getSndHWM() {
 if (getFullVersion() < makeVersion(3, 0, 0))
  return -1;
 return getLongSockopt(ZeroMQ$.MODULE$.ZMQ_SNDHWM());
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding_2.10

public void setSendTimeOut(long timeout) {
 if (getFullVersion() < makeVersion(3, 0, 0))
  return;
 setLongSockopt(ZeroMQ$.MODULE$.ZMQ_SNDTIMEO(), timeout);
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding_2.10

public long getEvents() {
 if (getFullVersion() < makeVersion(2, 1, 0))
  return -1;
 return getLongSockopt(ZeroMQ$.MODULE$.ZMQ_EVENTS());
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding_2.10

public void setReconnectIVLMax(long reconnectIVLMax) {
 if (getFullVersion() < makeVersion(3, 0, 0))
  return;
 setLongSockopt(ZeroMQ$.MODULE$.ZMQ_RECONNECT_IVL_MAX(), reconnectIVLMax);
}

代码示例来源:origin: org.spark-project.zeromq/zeromq-scala-binding_2.10

public void setHWM(long hwm) {
 if (getFullVersion() >= makeVersion(3, 0, 0))
  return;
 setLongSockopt(ZeroMQ$.MODULE$.ZMQ_HWM(), hwm);
}

代码示例来源:origin: org.zeromq/zeromq-scala-binding_2.10

public long getSndHWM() {
 if (getFullVersion() < makeVersion(3, 0, 0))
  return -1;
 return getLongSockopt(ZeroMQ$.MODULE$.ZMQ_SNDHWM());
}

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com