本文整理了Java中javax.net.ssl.SSLServerSocket.getLocalSocketAddress()
方法的一些代码示例,展示了SSLServerSocket.getLocalSocketAddress()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SSLServerSocket.getLocalSocketAddress()
方法的具体详情如下:
包路径:javax.net.ssl.SSLServerSocket
类名称:SSLServerSocket
方法名:getLocalSocketAddress
暂无
代码示例来源:origin: wildfly/wildfly
public SocketAddress getLocalSocketAddress() {
return delegate.getLocalSocketAddress();
}
代码示例来源:origin: wildfly/wildfly
protected synchronized void becomeKeyserver() throws Exception {
if(srv_sock == null || srv_sock.isClosed()) {
log.debug("%s: becoming keyserver; creating server socket", local_addr);
srv_sock=createServerSocket();
srv_sock_handler=new Runner(getThreadFactory(), SSL_KEY_EXCHANGE.class.getSimpleName() + "-runner",
this::accept, () -> Util.close(srv_sock));
srv_sock_handler.start();
log.debug("SSL server socket listening on %s", srv_sock.getLocalSocketAddress());
}
}
代码示例来源:origin: i2p/i2p.i2p
public SocketAddress getLocalAddress() {
return _socket.getLocalSocketAddress();
}
代码示例来源:origin: apache/karaf
@Override
public SocketAddress getLocalSocketAddress() {
return ss.getLocalSocketAddress();
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public SocketAddress getLocalSocketAddress() {
return delegate.getLocalSocketAddress();
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
public SocketAddress getLocalSocketAddress() {
return delegate.getLocalSocketAddress();
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron-ssl
public SocketAddress getLocalSocketAddress() {
return delegate.getLocalSocketAddress();
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
protected synchronized void becomeKeyserver() throws Exception {
if(srv_sock == null || srv_sock.isClosed()) {
log.debug("%s: becoming keyserver; creating server socket", local_addr);
srv_sock=createServerSocket();
srv_sock_handler=new Runner(getThreadFactory(), SSL_KEY_EXCHANGE.class.getSimpleName() + "-runner",
this::accept, () -> Util.close(srv_sock));
srv_sock_handler.start();
log.debug("SSL server socket listening on %s", srv_sock.getLocalSocketAddress());
}
}
内容来源于网络,如有侵权,请联系作者删除!