org.eclipse.net4j
Interface ITransportConfig

All Superinterfaces:
INegotiatorAware

public interface ITransportConfig
extends 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 Summary
 IBufferProvider getBufferProvider()
           
 ILifecycle getLifecycle()
          Returns the lifecycle delegate used for inactivity checks in the setter implementations of this transport configuration.
 IProtocolProvider getProtocolProvider()
           
 ExecutorService getReceiveExecutor()
           
 void setBufferProvider(IBufferProvider bufferProvider)
           
 void setLifecycle(ILifecycle lifecycle)
          Sets the lifecycle delegate to be used for inactivity checks in the setter implementations of this transport configuration.
 void setProtocolProvider(IProtocolProvider protocolProvider)
           
 void setReceiveExecutor(ExecutorService receiveExecutor)
           
 
Methods inherited from interface org.eclipse.net4j.util.security.INegotiatorAware
getNegotiator, setNegotiator
 

Method Detail

getLifecycle

ILifecycle getLifecycle()
Returns the lifecycle delegate used for inactivity checks in the setter implementations of this transport configuration.


setLifecycle

void setLifecycle(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()

setReceiveExecutor

void setReceiveExecutor(ExecutorService receiveExecutor)

getProtocolProvider

IProtocolProvider getProtocolProvider()

setProtocolProvider

void setProtocolProvider(IProtocolProvider protocolProvider)


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.