| Modifier and Type | Field and Description |
|---|---|
| pack-priv final short | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv final short | |
| pack-priv final short | |
| private boolean | |
| private boolean | |
| private String | |
| private boolean | |
| private boolean | |
| private NetworkInterface | |
| pack-priv final byte | |
| private ProtocolFamily | |
| private Protocol | |
| private Sock | |
| private SocketAddress | |
| private SocketType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress, Sock sock, SocketType socketType)
|
| public | Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress, Sock sock, SocketType socketType, boolean displaysCanonical)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| public IRubyObject | |
| public static void | |
| pack-priv AddressFamily | |
| public static IRubyObject | |
| public Inet4Address | |
| public Inet6Address | |
| public InetAddress | |
| public InetSocketAddress | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public int | |
| private static InetAddress | |
| private static InetAddress | |
| private static InetAddress | |
| public SocketAddress | |
| public UnixSocketAddress | |
| private short | |
| private byte[] | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | initialize(ThreadContext context, IRubyObject _sockaddr, IRubyObject _family, IRubyObject _socktype)
|
| public IRubyObject | |
| private void | initializeCommon(ThreadContext context, IRubyObject sockaddrArg, IRubyObject protocolFamilyArg, IRubyObject socketTypeArg, IRubyObject protocolArg)
|
| private Addrinfo | initializeSimple(ThreadContext context, IRubyObject host, IRubyObject port, int socketType, int protocolFamily)
|
| public IRubyObject | inspect(ThreadContext context)
Overrides org. Overrides default org. Returns a string containing a human-readable representation of obj. |
| public IRubyObject | |
| private String | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private String | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private boolean | |
| private boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public String | |
| public IRubyObject | |
| public IRubyObject | |
| private void | |
| public IRubyObject | |
| private int | |
| private int | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public String | toString()
Overrides org. The default toString method is just a wrapper that calls the Ruby "to_s" method. |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject |
| AF_PACKET | back to summary |
|---|---|
| pack-priv final short AF_PACKET | |
| AI_ADDRCONFIG | back to summary |
|---|---|
| public static final int AI_ADDRCONFIG | |
| AI_ALL | back to summary |
|---|---|
| public static final int AI_ALL | |
| AI_CANONNAME | back to summary |
|---|---|
| public static final int AI_CANONNAME | |
| AI_DEFAULT | back to summary |
|---|---|
| public static final int AI_DEFAULT | |
| AI_MASK | back to summary |
|---|---|
| public static final int AI_MASK | |
| AI_NUMERICHOST | back to summary |
|---|---|
| public static final int AI_NUMERICHOST | |
| AI_NUMERICSERV | back to summary |
|---|---|
| public static final int AI_NUMERICSERV | |
| AI_PASSIVE | back to summary |
|---|---|
| public static final int AI_PASSIVE | |
| AI_V4MAPPED | back to summary |
|---|---|
| public static final int AI_V4MAPPED | |
| AI_V4MAPPED_CFG | back to summary |
|---|---|
| public static final int AI_V4MAPPED_CFG | |
| ARPHRD_ETHER | back to summary |
|---|---|
| pack-priv final short ARPHRD_ETHER | |
| ARPHRD_LOOPBACK | back to summary |
|---|---|
| pack-priv final short ARPHRD_LOOPBACK | |
| displaysCanonical | back to summary |
|---|---|
| private boolean displaysCanonical | |
| interfaceLink | back to summary |
|---|---|
| private boolean interfaceLink | |
| interfaceName | back to summary |
|---|---|
| private String interfaceName | |
| isBroadcast | back to summary |
|---|---|
| private boolean isBroadcast | |
| looksLikeV4ButIsV6 | back to summary |
|---|---|
| private boolean looksLikeV4ButIsV6 | |
| networkInterface | back to summary |
|---|---|
| private NetworkInterface networkInterface | |
| PACKET_HOST | back to summary |
|---|---|
| pack-priv final byte PACKET_HOST | |
| pfamily | back to summary |
|---|---|
| private ProtocolFamily pfamily | |
| protocol | back to summary |
|---|---|
| private Protocol protocol | |
| sock | back to summary |
|---|---|
| private Sock sock | |
| socketAddress | back to summary |
|---|---|
| private SocketAddress socketAddress | |
| socketType | back to summary |
|---|---|
| private SocketType socketType | |
| Addrinfo | back to summary |
|---|---|
| public Addrinfo(Ruby runtime, RubyClass cls) | |
| Addrinfo | back to summary |
|---|---|
| public Addrinfo(Ruby runtime, RubyClass cls, NetworkInterface networkInterface, boolean isBroadcast) | |
| Addrinfo | back to summary |
|---|---|
| public Addrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress) | |
| Addrinfo | back to summary |
|---|---|
| public Addrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress, int port, Sock sock) | |
| Addrinfo | back to summary |
|---|---|
| public Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress, Sock sock, SocketType socketType) | |
| Addrinfo | back to summary |
|---|---|
| public Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress, Sock sock, SocketType socketType, boolean displaysCanonical) | |
| Addrinfo | back to summary |
|---|---|
| public Addrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress, int port) | |
| Addrinfo | back to summary |
|---|---|
| public Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress) | |
| afamily | back to summary |
|---|---|
public IRubyObject afamily(ThreadContext context)
| |
| canonname | back to summary |
|---|---|
public IRubyObject canonname(ThreadContext context)
| |
| createAddrinfo | back to summary |
|---|---|
| public static void createAddrinfo(ThreadContext context, RubyClass Object) | |
| getAddressFamily | back to summary |
|---|---|
| pack-priv AddressFamily getAddressFamily() | |
| getaddrinfo | back to summary |
|---|---|
public static IRubyObject getaddrinfo(ThreadContext context, IRubyObject recv, IRubyObject[] args)
| |
| getInet4Address | back to summary |
|---|---|
| public Inet4Address getInet4Address() | |
| getInet6Address | back to summary |
|---|---|
| public Inet6Address getInet6Address() | |
| getInetAddress | back to summary |
|---|---|
| public InetAddress getInetAddress() | |
| getInetSocketAddress | back to summary |
|---|---|
| public InetSocketAddress getInetSocketAddress() | |
| getnameinfo | back to summary |
|---|---|
public IRubyObject getnameinfo(ThreadContext context)
| |
| getnameinfo | back to summary |
|---|---|
public IRubyObject getnameinfo(ThreadContext context, IRubyObject flags)
| |
| getnameinfo | back to summary |
|---|---|
| public IRubyObject getnameinfo(ThreadContext context, int flags) | |
| getPort | back to summary |
|---|---|
| public int getPort() | |
| getRubyInetAddress | back to summary |
|---|---|
| private static InetAddress getRubyInetAddress(ThreadContext context, IRubyObject node) | |
| getRubyInetAddress | back to summary |
|---|---|
| private static InetAddress getRubyInetAddress(String node) | |
| getRubyInetAddress | back to summary |
|---|---|
| private static InetAddress getRubyInetAddress(String hostname, String node) | |
| getSocketAddress | back to summary |
|---|---|
| public SocketAddress getSocketAddress() | |
| getUnixSocketAddress | back to summary |
|---|---|
| public UnixSocketAddress getUnixSocketAddress() | |
| hatype | back to summary |
|---|---|
| private short hatype() | |
| hwaddr | back to summary |
|---|---|
| private byte[] hwaddr() | |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject _sockaddr)
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject _sockaddr, IRubyObject _family)
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject _sockaddr, IRubyObject _family, IRubyObject _socktype)
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject[] args)
| |
| initializeCommon | back to summary |
|---|---|
| private void initializeCommon(ThreadContext context, IRubyObject sockaddrArg, IRubyObject protocolFamilyArg, IRubyObject socketTypeArg, IRubyObject protocolArg) | |
| initializeSimple | back to summary |
|---|---|
| private Addrinfo initializeSimple(ThreadContext context, IRubyObject host, IRubyObject port, int socketType, int protocolFamily) | |
| 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
| |
| inspect_sockaddr | back to summary |
|---|---|
public IRubyObject inspect_sockaddr(ThreadContext context)
| |
| inspectname | back to summary |
|---|---|
| private String inspectname() | |
| ip | back to summary |
|---|---|
public static IRubyObject ip(ThreadContext context, IRubyObject recv, IRubyObject arg)
| |
| ip_address | back to summary |
|---|---|
public IRubyObject ip_address(ThreadContext context)
| |
| ip_p | back to summary |
|---|---|
public IRubyObject ip_p(ThreadContext context)
| |
| ip_port | back to summary |
|---|---|
public IRubyObject ip_port(ThreadContext context)
| |
| ip_unpack | back to summary |
|---|---|
public IRubyObject ip_unpack(ThreadContext context)
| |
| ipv4_loopback_p | back to summary |
|---|---|
public IRubyObject ipv4_loopback_p(ThreadContext context)
| |
| ipv4_multicast_p | back to summary |
|---|---|
public IRubyObject ipv4_multicast_p(ThreadContext context)
| |
| ipv4_p | back to summary |
|---|---|
public IRubyObject ipv4_p(ThreadContext context)
| |
| ipv4_private_p | back to summary |
|---|---|
public IRubyObject ipv4_private_p(ThreadContext context)
| |
| ipv6_ip | back to summary |
|---|---|
| private String ipv6_ip() | |
| ipv6_linklocal_p | back to summary |
|---|---|
public IRubyObject ipv6_linklocal_p(ThreadContext context)
| |
| ipv6_loopback_p | back to summary |
|---|---|
public IRubyObject ipv6_loopback_p(ThreadContext context)
| |
| ipv6_mc_global_p | back to summary |
|---|---|
public IRubyObject ipv6_mc_global_p(ThreadContext context)
| |
| ipv6_mc_linklocal_p | back to summary |
|---|---|
public IRubyObject ipv6_mc_linklocal_p(ThreadContext context)
| |
| ipv6_mc_nodelocal_p | back to summary |
|---|---|
public IRubyObject ipv6_mc_nodelocal_p(ThreadContext context)
| |
| ipv6_mc_orglocal_p | back to summary |
|---|---|
public IRubyObject ipv6_mc_orglocal_p(ThreadContext context)
| |
| ipv6_mc_sitelocal_p | back to summary |
|---|---|
public IRubyObject ipv6_mc_sitelocal_p(ThreadContext context)
| |
| ipv6_multicast_p | back to summary |
|---|---|
public IRubyObject ipv6_multicast_p(ThreadContext context)
| |
| ipv6_p | back to summary |
|---|---|
public IRubyObject ipv6_p(ThreadContext context)
| |
| ipv6_sitelocal_p | back to summary |
|---|---|
public IRubyObject ipv6_sitelocal_p(ThreadContext context)
| |
| ipv6_to_ipv4 | back to summary |
|---|---|
public IRubyObject ipv6_to_ipv4(ThreadContext context)
| |
| ipv6_unique_local_p | back to summary |
|---|---|
public IRubyObject ipv6_unique_local_p(ThreadContext context)
| |
| ipv6_unspecified_p | back to summary |
|---|---|
public IRubyObject ipv6_unspecified_p(ThreadContext context)
| |
| ipv6_v4compat_p | back to summary |
|---|---|
public IRubyObject ipv6_v4compat_p(ThreadContext context)
| |
| ipv6_v4mapped_p | back to summary |
|---|---|
public IRubyObject ipv6_v4mapped_p(ThreadContext context)
| |
| is_0001 | back to summary |
|---|---|
| private boolean is_0001(byte[] raw) | |
| isIPV6 | back to summary |
|---|---|
| private boolean isIPV6() | |
| marshal_dump | back to summary |
|---|---|
public IRubyObject marshal_dump(ThreadContext context)
| |
| marshal_load | back to summary |
|---|---|
public IRubyObject marshal_load(ThreadContext context, IRubyObject arg)
| |
| packet_inspect | back to summary |
|---|---|
| public String packet_inspect() | |
| pfamily | back to summary |
|---|---|
public IRubyObject pfamily(ThreadContext context)
| |
| protocol | back to summary |
|---|---|
public IRubyObject protocol(ThreadContext context)
| |
| setSockAndProtocol | back to summary |
|---|---|
| private void setSockAndProtocol(Sock sock) | |
| socktype | back to summary |
|---|---|
public IRubyObject socktype(ThreadContext context)
| |
| swapIntEndian | back to summary |
|---|---|
| private int swapIntEndian(int i) | |
| swapShortEndian | back to summary |
|---|---|
| private int swapShortEndian(short i) | |
| tcp | back to summary |
|---|---|
public static IRubyObject tcp(ThreadContext context, IRubyObject recv, IRubyObject host, IRubyObject port)
| |
| to_sockaddr | back to summary |
|---|---|
public IRubyObject to_sockaddr(ThreadContext context)
| |
| to_str | back to summary |
|---|---|
public IRubyObject to_str(ThreadContext context)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from org. The default toString method is just a wrapper that calls the Ruby "to_s" method.
| |
| udp | back to summary |
|---|---|
public static IRubyObject udp(ThreadContext context, IRubyObject recv, IRubyObject host, IRubyObject port)
| |
| unix | back to summary |
|---|---|
public static IRubyObject unix(ThreadContext context, IRubyObject recv, IRubyObject path)
| |
| unix | back to summary |
|---|---|
public static IRubyObject unix(ThreadContext context, IRubyObject recv, IRubyObject path, IRubyObject type)
| |
| unix_p | back to summary |
|---|---|
public IRubyObject unix_p(ThreadContext context)
| |
| unix_path | back to summary |
|---|---|
public IRubyObject unix_path(ThreadContext context)
| |