Codota Logo
DefaultNioSocketChannelIoSessionConfig
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
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 getTrafficClass() {
  checkIsSet(TRAFFICCLASS_MASK);
  return trafficClass;
}
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 getReceiveBufferSize() {
  checkIsSet(RECEIVEBUFFERSIZE_MASK);
  return receiveBufferSize;
}
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 setSendBufferSize(int sendBufferSize) {
  setMask(SENDBUFFERSIZE_MASK);
  this.sendBufferSize = sendBufferSize;
}
origin: kaazing/gateway

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

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

@Override
public void setReceiveBufferSize(int receiveBufferSize) {
  setMask(RECEIVEBUFFERSIZE_MASK);
  this.receiveBufferSize = receiveBufferSize;
}
org.kaazing.mina.netty.socket.nioDefaultNioSocketChannelIoSessionConfig

Most used methods

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Path (java.nio.file)
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now