Package akka.io
Class Tcp.SO$.TcpNoDelay
- java.lang.Object
-
- akka.io.Tcp.SO$.TcpNoDelay
-
- All Implemented Interfaces:
Inet.SocketOption
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Tcp.SO$
public final class Tcp.SO$.TcpNoDelay extends java.lang.Object implements Inet.SocketOption, scala.Product, java.io.Serializable
Inet.SocketOption
to enable or disable TCP_NODELAY (disable or enable Nagle's algorithm)Please note, that TCP_NODELAY is enabled by default.
For more information see
java.net.Socket.setTcpNoDelay
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TcpNoDelay(boolean on)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterConnect(java.net.Socket s)
Action to be taken for this option after connect returned.static akka.io.Tcp.SO.TcpNoDelay
apply(boolean on)
boolean
canEqual(java.lang.Object x$1)
akka.io.Tcp.SO.TcpNoDelay
copy(boolean on)
boolean
copy$default$1()
boolean
equals(java.lang.Object x$1)
int
hashCode()
boolean
on()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
static scala.Option<java.lang.Object>
unapply(akka.io.Tcp.SO.TcpNoDelay x$0)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.io.Inet.SocketOption
beforeConnect, beforeDatagramBind, beforeServerSocketBind
-
-
-
-
Method Detail
-
apply
public static akka.io.Tcp.SO.TcpNoDelay apply(boolean on)
-
unapply
public static scala.Option<java.lang.Object> unapply(akka.io.Tcp.SO.TcpNoDelay x$0)
-
on
public boolean on()
-
afterConnect
public void afterConnect(java.net.Socket s)
Description copied from interface:Inet.SocketOption
Action to be taken for this option after connect returned.- Specified by:
afterConnect
in interfaceInet.SocketOption
-
copy
public akka.io.Tcp.SO.TcpNoDelay copy(boolean on)
-
copy$default$1
public boolean copy$default$1()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-