Class HostPortConfig

  • All Implemented Interfaces:
    Cloneable, org.apache.mina.common.IoSessionConfig, org.apache.mina.transport.socket.nio.SocketSessionConfig

    public class HostPortConfig
    extends org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
    • Constructor Summary

      Constructors 
      Constructor Description
      HostPortConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureSocketAcceptor​(org.apache.mina.transport.socket.nio.SocketAcceptorConfig socketConfig)  
      void configureSocketConnector​(org.apache.mina.transport.socket.nio.SocketConnectorConfig socketConfig)  
      int getAcceptorBackLog()  
      int getConnectionTimeout()  
      int getReadBufferSize()  
      void setAcceptorBackLog​(int acceptorBackLog)  
      void setConnectionTimeout​(int connectionTimeout)  
      void setReadBufferSize​(int readBufferSize)  
      • Methods inherited from class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl

        getReceiveBufferSize, getSendBufferSize, getSoLinger, getTrafficClass, isGetTrafficClassAvailable, isKeepAlive, isOobInline, isReuseAddress, isSetReceiveBufferSizeAvailable, isSetSendBufferSizeAvailable, isSetTrafficClassAvailable, isTcpNoDelay, setKeepAlive, setOobInline, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setTcpNoDelay, setTrafficClass
      • Methods inherited from class org.apache.mina.common.support.BaseIoSessionConfig

        clone
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.mina.common.IoSessionConfig

        clone
    • Constructor Detail

      • HostPortConfig

        public HostPortConfig()
    • Method Detail

      • configureSocketConnector

        public void configureSocketConnector​(org.apache.mina.transport.socket.nio.SocketConnectorConfig socketConfig)
      • configureSocketAcceptor

        public void configureSocketAcceptor​(org.apache.mina.transport.socket.nio.SocketAcceptorConfig socketConfig)
      • getAcceptorBackLog

        public int getAcceptorBackLog()
      • setAcceptorBackLog

        public void setAcceptorBackLog​(int acceptorBackLog)
      • getConnectionTimeout

        public int getConnectionTimeout()
      • setConnectionTimeout

        public void setConnectionTimeout​(int connectionTimeout)
      • getReadBufferSize

        public int getReadBufferSize()
        Specified by:
        getReadBufferSize in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
        Overrides:
        getReadBufferSize in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
      • setReadBufferSize

        public void setReadBufferSize​(int readBufferSize)
        Specified by:
        setReadBufferSize in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
        Overrides:
        setReadBufferSize in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl