Interface ITransportConfig

All Superinterfaces:
org.eclipse.net4j.util.security.INegotiatorAware

public interface ITransportConfig extends org.eclipse.net4j.util.security.INegotiatorAware
A common transport configuration that specifies basic dependencies for channel multiplexers, connectors and acceptors.
Since:
2.0
Author:
Eike Stepper
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.
  • Method Details

    • getLifecycle

      org.eclipse.net4j.util.lifecycle.ILifecycle getLifecycle()
      Returns the lifecycle delegate used for inactivity checks in the setter implementations of this transport configuration.
    • setLifecycle

      void setLifecycle(org.eclipse.net4j.util.lifecycle.ILifecycle lifecycle)
      Sets the lifecycle delegate to be used for inactivity checks in the setter implementations of this transport configuration.
    • getBufferProvider

      IBufferProvider getBufferProvider()
    • setBufferProvider

      void setBufferProvider(IBufferProvider bufferProvider)
    • getReceiveExecutor

      ExecutorService getReceiveExecutor()
      Returns the executor used for transport receive work and exposed to channel protocols. Callers must provide enough capacity for handlers and protocols that may block. In particular, blocking signal reactors can occupy workers and prevent other receive work from progressing; SignalProtocol uses this executor directly for unordered reactors and as the delegate for its default serial reactor lanes.
    • setReceiveExecutor

      void setReceiveExecutor(ExecutorService receiveExecutor)
    • getProtocolProvider

      IProtocolProvider getProtocolProvider()
    • setProtocolProvider

      void setProtocolProvider(IProtocolProvider protocolProvider)