org.objectweb.dream.channel
Interface SocketManagerIPStaticAttributeController

All Superinterfaces:
AttributeController
All Known Implementing Classes:
SocketManagerIPStaticImpl

public interface SocketManagerIPStaticAttributeController
extends AttributeController

Attribute controller for socket managers that only manage one opened socket.


Method Summary
 String getDestinationHostname()
          Returns the destination hostname.
 int getDestinationPort()
          Returns the destination port.
 void setDestinationHostname(String hostname)
          Sets the destinationHostname attribute value.
 void setDestinationPort(int port)
          Sets the destinationPort attribute value.
 

Method Detail

getDestinationHostname

public String getDestinationHostname()
Returns the destination hostname. Each message will be send to this hostname.

Returns:
the destinationHostname attribute value.

setDestinationHostname

public void setDestinationHostname(String hostname)
                            throws UnknownHostException
Sets the destinationHostname attribute value.

Parameters:
hostname - the new destinationHostname attribute value.
Throws:
UnknownHostException - if the given hostname can't be resolved.
See Also:
getDestinationHostname()

getDestinationPort

public int getDestinationPort()
Returns the destination port.

Returns:
the destinationPort attribute value.

setDestinationPort

public void setDestinationPort(int port)
Sets the destinationPort attribute value.

Parameters:
port - the new destinationPort attribute value.


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