org.objectweb.dream.channel
Interface IPChannelSourceChunk

All Known Implementing Classes:
BasicIPChannelSourceChunk

public interface IPChannelSourceChunk

Chunk interface used to identify the IP channel that send the message.


Field Summary
static String DEFAULT_NAME
          The default name of chunks of this type.
static ChunkType TYPE
          The Chunk type of chunks that implements this interface.
 
Method Summary
 InetAddress getChannelSourceAddr()
          Returns the inet address of the ChannelOut.
 int getChannelSourcePort()
          Returns the listening port of the ChannelOut.
 void setChannelSourceAddr(InetAddress addr)
          Sets the inet address of the ChannelOut.
 void setChannelSourcePort(int port)
          Sets the listening port of the ChannelOut.
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
The default name of chunks of this type.

See Also:
Constant Field Values

TYPE

public static final ChunkType TYPE
The Chunk type of chunks that implements this interface.

Method Detail

getChannelSourceAddr

public InetAddress getChannelSourceAddr()
Returns the inet address of the ChannelOut.

Returns:
the inet address of the ChannelOut.

setChannelSourceAddr

public void setChannelSourceAddr(InetAddress addr)
Sets the inet address of the ChannelOut.

Parameters:
addr - the inet address.

getChannelSourcePort

public int getChannelSourcePort()
Returns the listening port of the ChannelOut.

Returns:
the listening port of the ChannelOut.

setChannelSourcePort

public void setChannelSourcePort(int port)
Sets the listening port of the ChannelOut.

Parameters:
port - the listening port.


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