congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DefaultNioSocketChannelIoSessionConfig
Code IndexAdd Tabnine to your IDE (free)

How to use
DefaultNioSocketChannelIoSessionConfig
in
org.kaazing.mina.netty.socket.nio

Best Java code snippets using org.kaazing.mina.netty.socket.nio.DefaultNioSocketChannelIoSessionConfig (Showing top 20 results out of 315)

origin: kaazing/gateway

@Override
public boolean isOobInline() {
  checkIsSet(OOBINLINE_MASK);
  return oobInline;
}
origin: kaazing/gateway

@Override
protected boolean isReceiveBufferSizeChanged() {
  return isFieldSet(RECEIVEBUFFERSIZE_MASK);
}
origin: kaazing/gateway

@Override
public void setTrafficClass(int trafficClass) {
  setMask(TRAFFICCLASS_MASK);
  this.trafficClass = trafficClass;
}
origin: kaazing/gateway

    bossCount,
    workerPool);
connector = new NioSocketChannelIoConnector(new DefaultNioSocketChannelIoSessionConfig(), clientChannelFactory);
origin: kaazing/gateway

public DefaultNioSocketChannelIoSessionConfig() {
  super(new DefaultNioSocketChannelConfig(new Socket()));
  // We could make this conditional (if !ENABLE_BUFFER_SIZE) to allow users to turn on variable buffer size via
  // the System property (as we used to in pure Mina days), but we won't because it would break zero copy and
  // is known to break TrafficShapingFilter so we don't want anyone ever to use it.
  channelConfig.setReceiveBufferSizePredictorFactory(
    new FixedReceiveBufferSizePredictorFactory(getReadBufferSize()));
}
origin: kaazing/gateway

    Executors.newCachedThreadPool(),
    workerPool);
acceptor = new NioSocketChannelIoAcceptor(new DefaultNioSocketChannelIoSessionConfig(),
                     serverChannelFactory,
                     new AffinityIoAcceptorChannelHandlerFactory());
origin: kaazing/gateway

@Override
protected boolean isReuseAddressChanged() {
  return isFieldSet(REUSEADDRESS_MASK);
}
origin: kaazing/gateway

@Override
public void setKeepAlive(boolean keepAlive) {
  setMask(KEEPALIVE_MASK);
  this.keepAlive = keepAlive;
}
origin: kaazing/gateway

@Override
public int getReceiveBufferSize() {
  checkIsSet(RECEIVEBUFFERSIZE_MASK);
  return receiveBufferSize;
}
origin: kaazing/gateway

@Override
protected boolean isSoLingerChanged() {
  return isFieldSet(SOLINGER_MASK);
}
origin: kaazing/gateway

@Override
public void setOobInline(boolean oobInline) {
  setMask(OOBINLINE_MASK);
  this.oobInline = oobInline;
}
origin: kaazing/gateway

@Override
public int getTrafficClass() {
  checkIsSet(TRAFFICCLASS_MASK);
  return trafficClass;
}
origin: kaazing/gateway

@Override
protected boolean isTcpNoDelayChanged() {
  return isFieldSet(TCPNODELAY_MASK);
}
origin: kaazing/gateway

@Override
public void setTcpNoDelay(boolean tcpNoDelay) {
  setMask(TCPNODELAY_MASK);
  this.tcpNoDelay = tcpNoDelay;
}
origin: kaazing/gateway

@Override
public boolean isKeepAlive() {
  checkIsSet(KEEPALIVE_MASK);
  return keepAlive;
}
origin: kaazing/gateway

@Override
protected boolean isSendBufferSizeChanged() {
  return isFieldSet(SENDBUFFERSIZE_MASK);
}
origin: kaazing/gateway

@Override
public void setReceiveBufferSize(int receiveBufferSize) {
  setMask(RECEIVEBUFFERSIZE_MASK);
  this.receiveBufferSize = receiveBufferSize;
}
origin: kaazing/gateway

@Override
public int getSoLinger() {
  checkIsSet(SOLINGER_MASK);
  return soLinger;
}
origin: kaazing/gateway

@Override
protected boolean isKeepAliveChanged() {
  return isFieldSet(KEEPALIVE_MASK);
}
origin: kaazing/gateway

@Override
public void setSendBufferSize(int sendBufferSize) {
  setMask(SENDBUFFERSIZE_MASK);
  this.sendBufferSize = sendBufferSize;
}
org.kaazing.mina.netty.socket.nioDefaultNioSocketChannelIoSessionConfig

Most used methods

  • <init>
  • checkIsSet
  • getReadBufferSize
  • isFieldSet
  • setMask

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now