org.objectweb.dream.channel
Interface MultiConnTCPChannelOutAttributeController

All Superinterfaces:
AttributeController, ChannelOutAttributeController, MultiDestinationChannelOutAttributeController
All Known Implementing Classes:
MultiConnTCPChannelOutImpl

public interface MultiConnTCPChannelOutAttributeController
extends MultiDestinationChannelOutAttributeController

Attribute controller for MultiConnTCPChannelOutImplcomponent. 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.MultiDestinationChannelOutAttributeController
getDestinationChunkName, setDestinationChunkName
 
Methods inherited from interface org.objectweb.dream.channel.ChannelOutAttributeController
getConnectionRetry, setConnectionRetry
 

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.