org.objectweb.dream.channel
Interface IPChannelInAttributeController

All Superinterfaces:
AttributeController
All Known Subinterfaces:
MultiConnTCPChannelInAttributeController
All Known Implementing Classes:
AbstractTCPChannelInImpl, MultiConnTCPChannelInImpl

public interface IPChannelInAttributeController
extends AttributeController

Attribute controller for IP channel in, It defines a listening port number attribute.


Method Summary
 int getListeningPort()
          Returns the listening port.
 int getOpenRetry()
          Returns the number of attempts to open a ServerSocket before aborting.
 void setListeningPort(int port)
          Sets the listening port.
 void setOpenRetry(int retry)
          Sets the number of attempts to open a ServerSocketbefore aborting.
 

Method Detail

getListeningPort

public int getListeningPort()
Returns the listening port.

Returns:
the listening port.

setListeningPort

public void setListeningPort(int port)
                      throws IllegalLifeCycleException
Sets the listening port.

Parameters:
port - the listening port.
Throws:
IllegalLifeCycleException - cannot change port number if the component is started.

getOpenRetry

public int getOpenRetry()
Returns the number of attempts to open a ServerSocket before aborting.

Returns:
the number of attempts to open a ServerSocket before aborting.

setOpenRetry

public void setOpenRetry(int retry)
Sets the number of attempts to open a ServerSocketbefore aborting.

Parameters:
retry - the number of attempts to open a ServerSocketbefore aborting.


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