anvil.core.net
Class AnySocket
java.lang.Object
|
+--anvil.core.Any
|
+--anvil.core.AnyAbstractClass
|
+--anvil.core.net.AnySocket
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable
- public class AnySocket
- extends AnyAbstractClass
class AnySocket
| Fields inherited from class anvil.core.Any |
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO |
|
Constructor Summary |
AnySocket(java.net.Socket url)
|
|
Method Summary |
ClassType |
classOf()
Returns the type of this Any. |
Any |
m_close(Context context)
|
Any |
m_getAddress()
|
Any |
m_getInput(Context context)
|
Any |
m_getLocalAddress()
|
Any |
m_getLocalPort()
|
Any |
m_getOutput(Context context)
|
Any |
m_getPort()
|
Any |
m_getReceiveBufferSize(Context context)
|
Any |
m_getSendBufferSize(Context context)
|
Any |
m_getSoLinger(Context context)
|
Any |
m_getSoTimeout(Context context)
|
Any |
m_getTcpNoDelay(Context context)
|
Any |
m_setReceiveBufferSize(Context context,
int bufferSize)
|
Any |
m_setSendBufferSize(Context context,
int bufferSize)
|
Any |
m_setSoLinger(Context context,
boolean enabled,
int linger)
|
Any |
m_setSoTimeout(Context context,
int timeout)
|
Any |
m_setTcpNoDelay(Context context,
boolean enabled)
|
static Any |
newInstance(Context context,
Any remote,
int remotePort,
Any local,
int localPort)
|
java.lang.Object |
toObject()
Gets the contained value as java.lang.Object. |
| Methods inherited from class anvil.core.Any |
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, add, classNameOf, clone, coerce, compare, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getAttribute, getRef, getReference, has, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, m_toString, minus, modulo, multiply, not, plus, setAttribute, setRef, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toPattern, toRange, toTuple, type |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
newInstance
public static final java.lang.Object[] newInstance
p_setSoTimeout
public static final java.lang.Object[] p_setSoTimeout
p_setTcpNoDelay
public static final java.lang.Object[] p_setTcpNoDelay
p_setSoLinger
public static final java.lang.Object[] p_setSoLinger
p_setReceiveBufferSize
public static final java.lang.Object[] p_setReceiveBufferSize
p_setSendBufferSize
public static final java.lang.Object[] p_setSendBufferSize
_class
public static final NativeClass _class
AnySocket
public AnySocket(java.net.Socket url)
newInstance
public static final Any newInstance(Context context,
Any remote,
int remotePort,
Any local,
int localPort)
classOf
public final ClassType classOf()
- Description copied from class:
Any
- Returns the type of this Any.
- Specified by:
classOf in class AnyAbstractClass
toObject
public java.lang.Object toObject()
- Description copied from class:
Any
- Gets the contained value as
java.lang.Object.
- Overrides:
toObject in class Any
- Returns:
- Value as Object.
m_close
public Any m_close(Context context)
m_getAddress
public Any m_getAddress()
m_getPort
public Any m_getPort()
m_getLocalAddress
public Any m_getLocalAddress()
m_getLocalPort
public Any m_getLocalPort()
m_getInput
public Any m_getInput(Context context)
m_getOutput
public Any m_getOutput(Context context)
m_getSoTimeout
public Any m_getSoTimeout(Context context)
m_setSoTimeout
public Any m_setSoTimeout(Context context,
int timeout)
m_getTcpNoDelay
public Any m_getTcpNoDelay(Context context)
m_setTcpNoDelay
public Any m_setTcpNoDelay(Context context,
boolean enabled)
m_getSoLinger
public Any m_getSoLinger(Context context)
m_setSoLinger
public Any m_setSoLinger(Context context,
boolean enabled,
int linger)
m_getReceiveBufferSize
public Any m_getReceiveBufferSize(Context context)
m_setReceiveBufferSize
public Any m_setReceiveBufferSize(Context context,
int bufferSize)
m_getSendBufferSize
public Any m_getSendBufferSize(Context context)
m_setSendBufferSize
public Any m_setSendBufferSize(Context context,
int bufferSize)