org.objectweb.dream.channel
Interface AddIPChannelAttributeController

All Superinterfaces:
AttributeController
All Known Implementing Classes:
AddIPChannelDestinationChunkImpl, AddIPChannelSourceChunkImpl

public interface AddIPChannelAttributeController
extends AttributeController

Attribute controller interface for AddIPChannel components.


Method Summary
 String getChunkName()
          Returns the name of added chunks.
 String getInetAddress()
          Returns the inet addresse put in chunks.
 int getPort()
          Returns the port number put in chunks.
 void setChunkName(String chunkName)
          Sets the name of the added chunk.
 void setInetAddress(String inetAddress)
          Sets the inet addresse put in chunks.
 void setPort(int port)
          Sets the port number put in chunks.
 

Method Detail

getChunkName

public String getChunkName()
Returns the name of added chunks.

Returns:
the name of added chunks.

setChunkName

public void setChunkName(String chunkName)
Sets the name of the added chunk.

Parameters:
chunkName - the name of added chunks .

getInetAddress

public String getInetAddress()
Returns the inet addresse put in chunks.

Returns:
a string representation of the inet addresse put in chunks.

setInetAddress

public void setInetAddress(String inetAddress)
                    throws UnknownHostException
Sets the inet addresse put in chunks.

Parameters:
inetAddress - a String representing the inet addresse put in chunks.
Throws:
UnknownHostException - if the given inet address can't be resolved
See Also:
InetAddress.getByName(java.lang.String)

getPort

public int getPort()
Returns the port number put in chunks.

Returns:
the port number put in chunks.

setPort

public void setPort(int port)
Sets the port number put in chunks.

Parameters:
port - the port number put in chunks.


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