|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.RubyBasicObject
org.jruby.RubyObject
org.jruby.RubyIO
org.jruby.ext.socket.RubyBasicSocket
org.jruby.ext.socket.RubyIPSocket
org.jruby.ext.socket.RubyUDPSocket
public class RubyUDPSocket
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jruby.RubyObject |
---|
RubyObject.Data |
Nested classes/interfaces inherited from class org.jruby.RubyBasicObject |
---|
RubyBasicObject.Finalizer |
Field Summary |
---|
Fields inherited from class org.jruby.ext.socket.RubyBasicSocket |
---|
multicastStateManager |
Fields inherited from class org.jruby.RubyIO |
---|
blockingThreads, externalEncoding, internalEncoding, openFile |
Fields inherited from class org.jruby.RubyObject |
---|
OBJECT_ALLOCATOR, REIFYING_OBJECT_ALLOCATOR |
Fields inherited from class org.jruby.RubyBasicObject |
---|
ALL_F, BASICOBJECT_ALLOCATOR, COMPARE_BY_IDENTITY_F, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, metaClass, NEVER, NIL_F, TAINTED_F, UNDEF, UNTRUSTED_F, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F, USER8_F |
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject |
---|
NULL_ARRAY |
Constructor Summary | |
---|---|
RubyUDPSocket(Ruby runtime,
RubyClass type)
|
Method Summary | |
---|---|
IRubyObject |
bind(IRubyObject host,
IRubyObject port)
Deprecated. |
IRubyObject |
bind(ThreadContext context,
IRubyObject host,
IRubyObject port)
|
IRubyObject |
connect(IRubyObject host,
IRubyObject port)
Deprecated. |
IRubyObject |
connect(ThreadContext context,
IRubyObject host,
IRubyObject port)
|
IRubyObject |
initialize(ThreadContext context)
|
IRubyObject |
initialize(ThreadContext context,
IRubyObject protocol)
|
static IRubyObject |
open(IRubyObject recv,
IRubyObject[] args,
Block block)
Deprecated. |
static IRubyObject |
open(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
IRubyObject |
recv(ThreadContext context,
IRubyObject[] args)
|
IRubyObject |
recvfrom(IRubyObject[] args)
Deprecated. |
IRubyObject |
recvfrom(ThreadContext context,
IRubyObject[] args)
|
IRubyObject |
send(IRubyObject[] args)
Deprecated. |
IRubyObject |
send(ThreadContext context,
IRubyObject[] args)
|
Methods inherited from class org.jruby.ext.socket.RubyIPSocket |
---|
addr, addr, getaddress, getaddress, getpeername, getSocknameCommon, packSockaddrFromAddress, peeraddr, peeraddr, sockerr |
Methods inherited from class org.jruby.ext.socket.RubyBasicSocket |
---|
asBoolean, close_read, close_write, do_not_reverse_lookup, do_not_reverse_lookup19, doNotReverseLookup, getLocalSocket, getpeername, getRemoteSocket, getsockname_u, getsockname, getsockname, getsockopt, getsockopt, getSoTypeDefault, initSocket, recv, set_do_not_reverse_lookup, set_do_not_reverse_lookup19, setsockopt, setsockopt, shutdown, write_send |
Methods inherited from class org.jruby.RubyObject |
---|
attachToObjectSpace, callInit, callInit, callInit, callInit, callInit, convertToType, createObjectClass, eqlInternal, equalInternal, equals, hashCode, initialize, op_eqq, puts, specificEval |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RubyUDPSocket(Ruby runtime, RubyClass type)
Method Detail |
---|
public IRubyObject initialize(ThreadContext context)
public IRubyObject initialize(ThreadContext context, IRubyObject protocol)
@Deprecated public IRubyObject bind(IRubyObject host, IRubyObject port)
public IRubyObject bind(ThreadContext context, IRubyObject host, IRubyObject port)
@Deprecated public IRubyObject connect(IRubyObject host, IRubyObject port)
public IRubyObject connect(ThreadContext context, IRubyObject host, IRubyObject port)
@Deprecated public IRubyObject recvfrom(IRubyObject[] args)
public IRubyObject recvfrom(ThreadContext context, IRubyObject[] args)
recvfrom
in class RubyIPSocket
public IRubyObject recv(ThreadContext context, IRubyObject[] args)
recv
in class RubyBasicSocket
@Deprecated public IRubyObject send(IRubyObject[] args)
public IRubyObject send(ThreadContext context, IRubyObject[] args)
@Deprecated public static IRubyObject open(IRubyObject recv, IRubyObject[] args, Block block)
public static IRubyObject open(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |