org.objectweb.dream.channel
Interface IPSocketManagerCachingAttributeController

All Superinterfaces:
AttributeController
All Known Implementing Classes:
IPSocketManagerCachingImpl

public interface IPSocketManagerCachingAttributeController
extends AttributeController

Attribute controller interface for socket cache.


Method Summary
 boolean getBlocking()
          Returns the blocking parameter value.
 int getNbMaxSocket()
          Returns the number of maximum open sockets.
 void setBlocking(boolean blocking)
          Sets the blocking property of this IPSocketManager.
 void setNbMaxSocket(int nbMaxSocket)
          Sets the nbMaxSocket attribute value.
 

Method Detail

getNbMaxSocket

public int getNbMaxSocket()
Returns the number of maximum open sockets.

Returns:
the nbMaxSocket attribute value.

setNbMaxSocket

public void setNbMaxSocket(int nbMaxSocket)
Sets the nbMaxSocket attribute value.

Parameters:
nbMaxSocket - the new nbMaxSocket attribute value.

setBlocking

public void setBlocking(boolean blocking)
Sets the blocking property of this IPSocketManager. If blocking is set to true then the manager waits if the required socket is in use. Otherwise, it raises an exeption.

Parameters:
blocking - the boolean value to set.

getBlocking

public boolean getBlocking()
Returns the blocking parameter value.

Returns:
the blocking parameter value.
See Also:
setBlocking(boolean)


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