org.objectweb.dream.channel
Class BasicIPChannelDestinationChunk
java.lang.Object
org.objectweb.dream.message.AbstractChunk
org.objectweb.dream.channel.BasicIPChannelDestinationChunk
- All Implemented Interfaces:
- Chunk, Cloneable, IPChannelDestinationChunk, Serializable
- public class BasicIPChannelDestinationChunk
- extends AbstractChunk
- implements IPChannelDestinationChunk
Basic Implementation of IPChannelDestinationChunk
- See Also:
- Serialized Form
BasicIPChannelDestinationChunk
public BasicIPChannelDestinationChunk()
getChannelDestinationAddr
public InetAddress getChannelDestinationAddr()
- Description copied from interface:
IPChannelDestinationChunk
- Returns the inet address of the ChannelIn.
- Specified by:
getChannelDestinationAddr
in interface IPChannelDestinationChunk
- Returns:
- the inet address of the ChannelIn.
- See Also:
IPChannelDestinationChunk.getChannelDestinationAddr()
setChannelDestinationAddr
public void setChannelDestinationAddr(InetAddress addr)
- Description copied from interface:
IPChannelDestinationChunk
- Sets the inet address of the ChannelIn.
- Specified by:
setChannelDestinationAddr
in interface IPChannelDestinationChunk
- Parameters:
addr
- the inet address.- See Also:
IPChannelDestinationChunk.setChannelDestinationAddr(InetAddress)
getChannelDestinationPort
public int getChannelDestinationPort()
- Description copied from interface:
IPChannelDestinationChunk
- Returns the listening port of the ChannelIn.
- Specified by:
getChannelDestinationPort
in interface IPChannelDestinationChunk
- Returns:
- the listening port of the ChannelIn.
- See Also:
IPChannelDestinationChunk.getChannelDestinationPort()
setChannelDestinationPort
public void setChannelDestinationPort(int port)
- Description copied from interface:
IPChannelDestinationChunk
- Sets the listening port of the ChannelIn.
- Specified by:
setChannelDestinationPort
in interface IPChannelDestinationChunk
- Parameters:
port
- the listening port- See Also:
IPChannelDestinationChunk.setChannelDestinationPort(int)
getType
public ChunkType getType()
- Specified by:
getType
in interface Chunk
- See Also:
Chunk.getType()
recycle
public void recycle()
- Specified by:
recycle
in interface Chunk
- See Also:
Chunk.recycle()
transfertState
public void transfertState(Chunk newInstance)
- Specified by:
transfertState
in interface Chunk
- See Also:
Chunk.transfertState(Chunk)
toString
public String toString()
- See Also:
Object.toString()
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.