Project JXTA

net.jxta.ext.config
Class TcpTransportAddress

java.lang.Object
  extended bynet.jxta.ext.config.Address
      extended bynet.jxta.ext.config.TcpTransportAddress
All Implemented Interfaces:
Cloneable

public class TcpTransportAddress
extends Address
implements Cloneable

Container for Tcp addresses.

Version:
Author:
james todd [gonzo at jxta dot org]

Constructor Summary
TcpTransportAddress()
          Constructor for the TcpTransportAddress object
TcpTransportAddress(TcpTransportAddress ta)
          Constructor for the TcpTransportAddress object
 
Method Summary
 void addMulticastAddress(MulticastAddress address)
          Adds a feature to the Address attribute of the Transport object
 void addMulticastAddresses(List addresses)
          Adds a feature to the Addresses attribute of the Transport object
 void clearMulticastAddresses()
          Description of the Method
 List getMulticastAddresses()
          Gets the addresses attribute of the Transport object
 Address removeMulticastAddress(Address address)
          Description of the Method
 void setMulticastAddress(MulticastAddress address)
          Sets the address attribute of the Transport object
 void setMulticastAddresses(List addresses)
          Sets the addresses attribute of the Transport object
 
Methods inherited from class net.jxta.ext.config.Address
equals, getAddress, getPortRange, hashCode, setAddress, setPortRange
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpTransportAddress

public TcpTransportAddress()
Constructor for the TcpTransportAddress object


TcpTransportAddress

public TcpTransportAddress(TcpTransportAddress ta)
Constructor for the TcpTransportAddress object

Parameters:
ta - Description of the Parameter
Method Detail

getMulticastAddresses

public List getMulticastAddresses()
Gets the addresses attribute of the Transport object

Returns:
The addresses value

setMulticastAddress

public void setMulticastAddress(MulticastAddress address)
Sets the address attribute of the Transport object

Parameters:
address - The new address value

setMulticastAddresses

public void setMulticastAddresses(List addresses)
Sets the addresses attribute of the Transport object

Parameters:
addresses - The new addresses value

addMulticastAddress

public void addMulticastAddress(MulticastAddress address)
Adds a feature to the Address attribute of the Transport object

Parameters:
address - The feature to be added to the Address attribute

addMulticastAddresses

public void addMulticastAddresses(List addresses)
Adds a feature to the Addresses attribute of the Transport object

Parameters:
addresses - The feature to be added to the Addresses attribute

removeMulticastAddress

public Address removeMulticastAddress(Address address)
Description of the Method

Parameters:
address - Description of the Parameter
Returns:
Description of the Return Value

clearMulticastAddresses

public void clearMulticastAddresses()
Description of the Method


JXTA J2SE