org.objectweb.dream.channel
Interface MultiConnTCPChannelInAttributeController

All Superinterfaces:
AttributeController, IPChannelInAttributeController
All Known Implementing Classes:
MultiConnTCPChannelInImpl

public interface MultiConnTCPChannelInAttributeController
extends IPChannelInAttributeController

Attribute controller for MultiConnTCPChannelInImplcomponent. Defines attribute to control the maximum number of connections.


Method Summary
 int getMaxConnection()
          Returns the maximum number of connections.
 int getSoTimeout()
          Returns the SO_TIMEOUT.
 void setMaxConnection(int maxConnection)
          Sets the maximum number of connections.
 void setSoTimeout(int timeout)
          Sets the SO_TIMEOUT.
 
Methods inherited from interface org.objectweb.dream.channel.IPChannelInAttributeController
getListeningPort, getOpenRetry, setListeningPort, setOpenRetry
 

Method Detail

setMaxConnection

public void setMaxConnection(int maxConnection)
Sets the maximum number of connections.

Parameters:
maxConnection - the maximum number of connections.

getMaxConnection

public int getMaxConnection()
Returns the maximum number of connections.

Returns:
the maximum number of connections.

setSoTimeout

public void setSoTimeout(int timeout)
Sets the SO_TIMEOUT.

Parameters:
timeout - timeout, in milliseconds. if negative, use default value.
See Also:
Socket.setSoTimeout(int)

getSoTimeout

public int getSoTimeout()
Returns the SO_TIMEOUT.

Returns:
timeout, in milliseconds.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.