| Modifier and Type | Field and Description |
|---|---|
| private ByteList | |
| private ProtocolFamily | |
| private SocketLevel | |
| private SocketOption |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | Option(Ruby runtime, RubyClass klass, ProtocolFamily family, SocketLevel level, SocketOption option, ByteList data)
|
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| public static void | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | inspect(ThreadContext context)
Overrides org. Overrides default org. Returns a string containing a human-readable representation of obj. |
| public IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| private String | |
| private String | |
| private String | |
| public IRubyObject | |
| public static ByteList | |
| public static ByteList | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public static int | |
| public static int[] | |
| private static void |
| data | back to summary |
|---|---|
| private ByteList data | |
| family | back to summary |
|---|---|
| private ProtocolFamily family | |
| level | back to summary |
|---|---|
| private SocketLevel level | |
| option | back to summary |
|---|---|
| private SocketOption option | |
| Option | back to summary |
|---|---|
| public Option(Ruby runtime, RubyClass klass) | |
| Option | back to summary |
|---|---|
| public Option(Ruby runtime, ProtocolFamily family, SocketLevel level, SocketOption option, ByteList data) | |
| Option | back to summary |
|---|---|
| public Option(Ruby runtime, RubyClass klass, ProtocolFamily family, SocketLevel level, SocketOption option, ByteList data) | |
| asInt | back to summary |
|---|---|
public IRubyObject asInt(ThreadContext context)
| |
| bool | back to summary |
|---|---|
public static IRubyObject bool(ThreadContext context, IRubyObject self, IRubyObject[] args)
| |
| bool | back to summary |
|---|---|
public IRubyObject bool(ThreadContext context)
| |
| createOption | back to summary |
|---|---|
| public static void createOption(ThreadContext context, RubyClass Object, RubyClass Socket) | |
| data | back to summary |
|---|---|
public IRubyObject data(ThreadContext context)
| |
| family | back to summary |
|---|---|
public IRubyObject family(ThreadContext context)
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject[] args)
| |
| 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
| |
| level | back to summary |
|---|---|
public IRubyObject level(ThreadContext context)
| |
| linger | back to summary |
|---|---|
public static IRubyObject linger(ThreadContext context, IRubyObject self, IRubyObject vonoffArg, IRubyObject vsecs)
| |
| linger | back to summary |
|---|---|
public IRubyObject linger(ThreadContext context)
| |
| noPrefix | back to summary |
|---|---|
| private String noPrefix(ProtocolFamily family) | |
| noPrefix | back to summary |
|---|---|
| private String noPrefix(SocketOption option) | |
| optionValue | back to summary |
|---|---|
| private String optionValue() | |
| optname | back to summary |
|---|---|
public IRubyObject optname(ThreadContext context)
| |
| packInt | back to summary |
|---|---|
| public static ByteList packInt(int i) | |
| packLinger | back to summary |
|---|---|
| public static ByteList packLinger(int vonoff, int vsecs) | |
| rb_int | back to summary |
|---|---|
public static IRubyObject rb_int(ThreadContext context, IRubyObject self, IRubyObject[] args)
| |
| to_s | back to summary |
|---|---|
| public IRubyObject to_s(ThreadContext context) Overrides org.
| |
| unpack | back to summary |
|---|---|
public IRubyObject unpack(ThreadContext context, IRubyObject arg0)
| |
| unpackInt | back to summary |
|---|---|
| public static int unpackInt(ByteList data) | |
| unpackLinger | back to summary |
|---|---|
| public static int[] unpackLinger(ByteList data) | |
| validateDataSize | back to summary |
|---|---|
| private static void validateDataSize(ThreadContext context, ByteList data, int size) | |