Top Fields Constructors Methods
org.jruby.ext.socket

public Class RubyUNIXServer

extends RubyUNIXSocket
Class Inheritance
Annotations
@JRubyClass
name:UNIXServer
parent:UNIXSocket
Imports
jnr.unixsocket.UnixServerSocketChannel, .UnixSocketAddress, .UnixSocketChannel, org.jruby.Ruby, .RubyClass, org.jruby.anno.JRubyClass, .JRubyMethod, org.jruby.api.Access, .Define, org.jruby.runtime.Helpers, .ThreadContext, .Visibility, org.jruby.runtime.builtin.IRubyObject, java.io.IOException, java.net.SocketAddress, java.nio.channels.SelectableChannel, .SelectionKey

Field Summary

Inherited from org.jruby.ext.socket.RubyUNIXSocket:
F_GETFLF_SETFLO_NONBLOCK

Constructor Summary

AccessConstructor and Description
public
RubyUNIXServer(Ruby runtime, RubyClass type)

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
accept_nonblock(ThreadContext context, Ruby runtime, boolean ex)

public IRubyObject
private UnixServerSocketChannel
pack-priv static void
protected UnixSocketAddress
protected UnixSocketAddress
public IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
Inherited from org.jruby.ext.socket.RubyUNIXSocket:
createUNIXSocketfor_fdinit_sockinit_sockinit_unixsockrb_sys_failrecv_iorecvfromsend_iosetsockoptsocketpair

Constructor Detail

RubyUNIXServerback to summary
public RubyUNIXServer(Ruby runtime, RubyClass type)

Method Detail

acceptback to summary
public IRubyObject accept(ThreadContext context)
Annotations
@JRubyMethod
accept_nonblockback to summary
public IRubyObject accept_nonblock(ThreadContext context)
Annotations
@JRubyMethod
accept_nonblockback to summary
public IRubyObject accept_nonblock(ThreadContext context, IRubyObject opts)
Annotations
@JRubyMethod
accept_nonblockback to summary
public IRubyObject accept_nonblock(ThreadContext context, Ruby runtime, boolean ex)
addrback to summary
public IRubyObject addr(ThreadContext context)

Overrides org.jruby.ext.socket.RubyUNIXSocket.addr.

Annotations
@JRubyMethod
asUnixServerback to summary
private UnixServerSocketChannel asUnixServer()
createUNIXServerback to summary
pack-priv static void createUNIXServer(ThreadContext context, RubyClass UNIXSocket)
getUnixRemoteSocketback to summary
protected UnixSocketAddress getUnixRemoteSocket(ThreadContext context)

Overrides org.jruby.ext.socket.RubyBasicSocket.getUnixRemoteSocket.

Annotations
@Override
getUnixSocketAddressback to summary
protected UnixSocketAddress getUnixSocketAddress()

Overrides org.jruby.ext.socket.RubyBasicSocket.getUnixSocketAddress.

Annotations
@Override
initializeback to summary
public IRubyObject initialize(ThreadContext context, IRubyObject path)

Overrides org.jruby.ext.socket.RubyUNIXSocket.initialize.

Annotations
@JRubyMethod
visibility:PRIVATE
listenback to summary
public IRubyObject listen(ThreadContext context, IRubyObject log)
Annotations
@JRubyMethod
pathback to summary
public IRubyObject path(ThreadContext context)

Overrides org.jruby.ext.socket.RubyUNIXSocket.path.

Annotations
@JRubyMethod
peeraddrback to summary
public IRubyObject peeraddr(ThreadContext context)

Overrides org.jruby.ext.socket.RubyUNIXSocket.peeraddr.

Annotations
@JRubyMethod
sysacceptback to summary
public IRubyObject sysaccept(ThreadContext context)
Annotations
@JRubyMethod