org.objectweb.dream.channel
Class IPChannelSourceChunkImpl
java.lang.Object
org.objectweb.dream.message.AbstractChunk
org.objectweb.dream.channel.IPChannelSourceChunkImpl
- All Implemented Interfaces:
- Chunk, Cloneable, Externalizable, IPChannelSourceChunk, Recyclable, Serializable
- public class IPChannelSourceChunkImpl
- extends AbstractChunk
- implements IPChannelSourceChunk, Externalizable
Basic Implementation of IPChannelSourceChunk
- See Also:
- Serialized Form
IPChannelSourceChunkImpl
public IPChannelSourceChunkImpl()
getChannelSourceAddr
public InetAddress getChannelSourceAddr()
- Description copied from interface:
IPChannelSourceChunk
- Returns the inet address of the ChannelOut.
- Specified by:
getChannelSourceAddr
in interface IPChannelSourceChunk
- Returns:
- the inet address of the ChannelOut.
- See Also:
IPChannelSourceChunk.getChannelSourceAddr()
setChannelSourceAddr
public void setChannelSourceAddr(InetAddress addr)
- Description copied from interface:
IPChannelSourceChunk
- Sets the inet address of the ChannelOut.
- Specified by:
setChannelSourceAddr
in interface IPChannelSourceChunk
- Parameters:
addr
- the inet address.- See Also:
IPChannelSourceChunk.setChannelSourceAddr(InetAddress)
getChannelSourcePort
public int getChannelSourcePort()
- Description copied from interface:
IPChannelSourceChunk
- Returns the listening port of the ChannelOut.
- Specified by:
getChannelSourcePort
in interface IPChannelSourceChunk
- Returns:
- the listening port of the ChannelOut.
- See Also:
IPChannelSourceChunk.getChannelSourcePort()
setChannelSourcePort
public void setChannelSourcePort(int port)
- Description copied from interface:
IPChannelSourceChunk
- Sets the listening port of the ChannelOut.
- Specified by:
setChannelSourcePort
in interface IPChannelSourceChunk
- Parameters:
port
- the listening port.- See Also:
IPChannelSourceChunk.setChannelSourcePort(int)
getType
public ChunkType getType()
- Specified by:
getType
in interface Chunk
- See Also:
Chunk.getType()
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- See Also:
Recyclable.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()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
- See Also:
Externalizable.readExternal(ObjectInput)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
- See Also:
Externalizable.writeExternal(ObjectOutput)
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.