| Modifier and Type | Field and Description |
|---|---|
| private volatile Class | |
| private volatile ProtocolFamily | |
| public static final double |
| Access | Constructor and Description |
|---|---|
| public |
| explicitFamily | back to summary |
|---|---|
| private volatile Class<? extends InetAddress> explicitFamily | |
| family | back to summary |
|---|---|
| private volatile ProtocolFamily family | |
| RECV_BUFFER_COPY_SCALE | back to summary |
|---|---|
| public static final double RECV_BUFFER_COPY_SCALE | |
| RubyUDPSocket | back to summary |
|---|---|
| public RubyUDPSocket(Ruby runtime, RubyClass type) | |
| bind | back to summary |
|---|---|
public IRubyObject bind(ThreadContext context, IRubyObject host, IRubyObject _port)
| |
| bind | back to summary |
|---|---|
| public IRubyObject bind(IRubyObject host, IRubyObject port)
Deprecated
| |
| connect | back to summary |
|---|---|
public IRubyObject connect(ThreadContext context, IRubyObject _host, IRubyObject port)
| |
| connect | back to summary |
|---|---|
| public IRubyObject connect(IRubyObject host, IRubyObject port)
Deprecated
| |
| createUDPSocket | back to summary |
|---|---|
| pack-priv static void createUDPSocket(ThreadContext context, RubyClass IPSocket, RubyClass Socket) | |
| doReceive | back to summary |
|---|---|
| private static IRubyObject doReceive(RubyBasicSocket socket, final Ruby runtime, final boolean non_block, int length) throws IOException | |
| doReceive | back to summary |
|---|---|
| protected static IRubyObject doReceive(RubyBasicSocket socket, final Ruby runtime, final boolean non_block, int length, RubyBasicSocket. | |
| doReceiveMulticast | back to summary |
|---|---|
| private static IRubyObject doReceiveMulticast(RubyBasicSocket socket, final Ruby runtime, final boolean non_block, int length, RubyBasicSocket. | |
| doReceiveNonblockTuple | back to summary |
|---|---|
| private static RubyBasicSocket. | |
| doReceiveTuple | back to summary |
|---|---|
| private static RubyBasicSocket. | |
| getDatagramChannel | back to summary |
|---|---|
| private DatagramChannel getDatagramChannel() | |
| getInetSocketAddress | back to summary |
|---|---|
| private InetSocketAddress getInetSocketAddress(ThreadContext context, IRubyObject host, int port) throws UnknownHostException | |
| initialize | back to summary |
|---|---|
| public IRubyObject initialize(ThreadContext context) Overrides org.
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject _family)
| |
| initialize | back to summary |
|---|---|
| public IRubyObject initialize(ThreadContext context, ProtocolFamily family) | |
| inspect | back to summary |
|---|---|
| public IRubyObject inspect(ThreadContext context) Overrides org. Overrides default org. Doc from org. Returns a string containing a human-readable representation of
obj. If not overridden, uses the
| |
| inspectExtraInfo | back to summary |
|---|---|
| private String inspectExtraInfo(OpenFile openFile) | |
| open | back to summary |
|---|---|
| public static IRubyObject open(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) Hides org.
| |
| open | back to summary |
|---|---|
| public static IRubyObject open(IRubyObject recv, IRubyObject[] args, Block block)
Deprecated
| |
| recv | back to summary |
|---|---|
| public IRubyObject recv(ThreadContext context, IRubyObject length) Overrides org. Overrides BasicSocket#recv
| |
| recvfrom | back to summary |
|---|---|
| public IRubyObject recvfrom(ThreadContext context, IRubyObject length) Overrides org. Overrides IPSocket#recvfrom
| |
| recvfrom | back to summary |
|---|---|
| public static IRubyObject recvfrom(RubyBasicSocket socket, ThreadContext context, IRubyObject length) | |
| recvfrom | back to summary |
|---|---|
| public IRubyObject recvfrom(ThreadContext context, IRubyObject _length, IRubyObject _flags) Overrides org. Overrides IPSocket#recvfrom
| |
| recvfrom | back to summary |
|---|---|
| public IRubyObject recvfrom(IRubyObject[] args)
Deprecated
| |
| recvfrom_nonblock | back to summary |
|---|---|
public IRubyObject recvfrom_nonblock(ThreadContext context, IRubyObject[] args)
| |
| recvfrom_nonblock | back to summary |
|---|---|
| public static IRubyObject recvfrom_nonblock(RubyBasicSocket socket, ThreadContext context, IRubyObject[] args) | |
| recvfrom_nonblock | back to summary |
|---|---|
| private static IRubyObject recvfrom_nonblock(RubyBasicSocket socket, ThreadContext context, IRubyObject length, IRubyObject flags, IRubyObject str, boolean exception) | |
| send | back to summary |
|---|---|
| public IRubyObject send(ThreadContext context, IRubyObject _mesg, IRubyObject _flags) Overrides org.
| |
| send | back to summary |
|---|---|
public IRubyObject send(ThreadContext context, IRubyObject[] args)
| |
| send | back to summary |
|---|---|
| public IRubyObject send(IRubyObject[] args)
Deprecated
| |