org.objectweb.dream.channel
Class BasicIPChannelSourceChunk

java.lang.Object
  extended byorg.objectweb.dream.message.AbstractChunk
      extended byorg.objectweb.dream.channel.BasicIPChannelSourceChunk
All Implemented Interfaces:
Chunk, Cloneable, IPChannelSourceChunk, Serializable

public class BasicIPChannelSourceChunk
extends AbstractChunk
implements IPChannelSourceChunk

Basic Implementation of IPChannelSourceChunk

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.objectweb.dream.channel.IPChannelSourceChunk
DEFAULT_NAME, TYPE
 
Constructor Summary
BasicIPChannelSourceChunk()
           
 
Method Summary
 InetAddress getChannelSourceAddr()
          Returns the inet address of the ChannelOut.
 int getChannelSourcePort()
          Returns the listening port of the ChannelOut.
 ChunkType getType()
           
 void recycle()
           
 void setChannelSourceAddr(InetAddress addr)
          Sets the inet address of the ChannelOut.
 void setChannelSourcePort(int port)
          Sets the listening port of the ChannelOut.
 String toString()
           
 void transfertState(Chunk newInstance)
           
 
Methods inherited from class org.objectweb.dream.message.AbstractChunk
getMessageManagerId, setMessageManagerId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicIPChannelSourceChunk

public BasicIPChannelSourceChunk()
Method Detail

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 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.