java.net.Socket.sendUrgentData()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(437)

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

Socket.sendUrgentData介绍

[英]Sends the given single byte data which is represented by the lowest octet of value as "TCP urgent data".
[中]发送给定的单字节数据,该数据由值的最低八位字节表示为“TCP紧急数据”。

代码示例

代码示例来源:origin: aws/aws-sdk-java

@Override
public void sendUrgentData(int data) throws IOException {
  sock.sendUrgentData(data);
}

代码示例来源:origin: apache/zookeeper

/**
 * See {@link Socket#sendUrgentData(int)}. Calling this method triggers mode detection, which is a potentially
 * blocking operation, so it should not be done in the accept() thread.
 */
@Override
public void sendUrgentData(int data) throws IOException {
  getSocket().sendUrgentData(data);
}

代码示例来源:origin: jphp-group/jphp

@Signature(@Arg("data"))
  public Memory sendUrgentData(Environment env, Memory... args) throws IOException {
    socket.sendUrgentData(args[0].toInteger());
    return Memory.NULL;
  }
}

代码示例来源:origin: stackoverflow.com

delegate.sendUrgentData(value);

代码示例来源:origin: stackoverflow.com

delegate.sendUrgentData(value);

代码示例来源:origin: stackoverflow.com

delegate.sendUrgentData(value);

代码示例来源:origin: com.sun.mail/javax.mail

@Override
public void sendUrgentData(int data) throws IOException {
  socket.sendUrgentData(data);
}

代码示例来源:origin: camunda/camunda-bpm-platform

@Override
public void sendUrgentData(int data) throws IOException {
  socket.sendUrgentData(data);
}

代码示例来源:origin: com.amazonaws/aws-java-sdk-core

@Override
public void sendUrgentData(int data) throws IOException {
  sock.sendUrgentData(data);
}

代码示例来源:origin: theotherp/nzbhydra2

@Override
public boolean isClose() {
  try {
    socket.sendUrgentData(0);
    return false;
  } catch (IOException expected) {
    return true;
  }
}

代码示例来源:origin: fengyouchao/sockslib

@Override
public boolean isClose() {
 try {
  socket.sendUrgentData(0);
  return false;
 } catch (IOException expected) {
  return true;
 }
}

代码示例来源:origin: jitsi/ice4j

/**
 * {@inheritDoc}
 */
@Override
public void sendUrgentData(int data) throws IOException
{
  if (delegate == null)
    super.sendUrgentData(data);
  else
    delegate.sendUrgentData(data);
}

代码示例来源:origin: org.jboss/jboss-common-core

public void sendUrgentData(int data) throws IOException
{
 s.sendUrgentData(data);
}

代码示例来源:origin: aws/aws-sdk-java-v2

@Override
public void sendUrgentData(int data) throws IOException {
  sock.sendUrgentData(data);
}

代码示例来源:origin: org.simplejavamail/simple-java-mail

@Override
public void sendUrgentData(final int data)
    throws IOException {
  proxy.getProxySocket().sendUrgentData(data);
}

代码示例来源:origin: org.wildfly.openssl/wildfly-openssl

@Override
public void sendUrgentData(int data) throws IOException {
  if (delegate == null) {
    super.sendUrgentData(data);
  } else {
    delegate.sendUrgentData(data);
  }
}

代码示例来源:origin: org.wildfly.openssl/wildfly-openssl-java

@Override
public void sendUrgentData(int data) throws IOException {
  if (delegate == null) {
    super.sendUrgentData(data);
  } else {
    delegate.sendUrgentData(data);
  }
}

代码示例来源:origin: com.blackducksoftware.magpie/magpie

@Override
public void sendUrgentData(int data) throws IOException {
  delegate().sendUrgentData(data);
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.ecf.provider.filetransfer

public void sendUrgentData(int data) throws IOException {
  checkCancel();
  socket.sendUrgentData(data);
}

代码示例来源:origin: theotherp/nzbhydra2

@Override
public void sendUrgentData(int data) throws IOException {
  proxy.getProxySocket().sendUrgentData(data);
}

相关文章