@Plugin(name="SocketOptions", category="Core", printObject=true) public class SocketOptions extends Object implements Builder<SocketOptions>, Cloneable
Socket
methods.Constructor and Description |
---|
SocketOptions() |
@PluginBuilderFactory public static SocketOptions newBuilder()
public void apply(Socket socket) throws SocketException
SocketException
public SocketOptions build()
Builder
build
in interface Builder<SocketOptions>
public Integer getActualTrafficClass()
public SocketPerformancePreferences getPerformancePreferences()
public Integer getReceiveBufferSize()
public Rfc1349TrafficClass getRfc1349TrafficClass()
public Integer getSendBufferSize()
public Integer getSoLinger()
public Integer getSoTimeout()
public Integer getTrafficClass()
public Boolean isKeepAlive()
public Boolean isOobInline()
public Boolean isReuseAddress()
public Boolean isTcpNoDelay()
public void setKeepAlive(boolean keepAlive)
public void setOobInline(boolean oobInline)
public void setPerformancePreferences(SocketPerformancePreferences performancePreferences)
public void setReceiveBufferSize(int receiveBufferSize)
public void setReuseAddress(boolean reuseAddress)
public void setRfc1349TrafficClass(Rfc1349TrafficClass trafficClass)
public void setSendBufferSize(int sendBufferSize)
public void setSoLinger(int soLinger)
public void setSoTimeout(int soTimeout)
public void setTcpNoDelay(boolean tcpNoDelay)
public void setTrafficClass(int trafficClass)
Copyright © 1999-2017 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.