|
Project JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.ext.config.Transport
public abstract class Transport
Transport configuration container base class.
Nested Class Summary | |
---|---|
static class |
Transport.Scheme
|
Constructor Summary | |
---|---|
Transport(String scheme)
Constructor for the Transport object |
Method Summary | |
---|---|
void |
addAddress(Address address)
Adds a feature to the Address attribute of the Transport object |
void |
addAddresses(List addresses)
Adds a feature to the Addresses attribute of the Transport object |
void |
addPublicAddress(PublicAddress address)
Adds a feature to the PublicAddress attribute of the Transport object |
void |
addPublicAddresses(List addresses)
Adds a feature to the PublicAddresses attribute of the Transport object |
void |
clearAddresses()
Description of the Method |
void |
clearPublicAddresses()
Description of the Method |
List |
getAddresses()
Gets the addresses attribute of the Transport object |
ProxyAddress |
getProxyAddress()
Gets the proxyAddress attribute of the Transport object |
List |
getPublicAddresses()
Gets the publicAddresses attribute of the Transport object |
String |
getScheme()
Gets the scheme attribute of the Transport object |
boolean |
isEnabled()
Gets the enabled attribute of the Transport object |
boolean |
isIncoming()
Gets the incoming attribute of the Transport object |
boolean |
isOutgoing()
Gets the outgoing attribute of the Transport object |
boolean |
isProxy()
Gets the proxy attribute of the Transport object |
Address |
removeAddress(Address address)
Description of the Method |
Address |
removePublicAddress(PublicAddress address)
Description of the Method |
void |
setAddress(Address address)
Sets the address attribute of the Transport object |
void |
setAddresses(List addresses)
Sets the addresses attribute of the Transport object |
void |
setEnabled(boolean isEnabled)
Sets the enabled attribute of the Transport object |
void |
setIncoming(boolean isIncoming)
Sets the incoming attribute of the Transport object |
void |
setOutgoing(boolean isOutgoing)
Sets the outgoing attribute of the Transport object |
void |
setProxy(boolean isProxyEnabled)
Sets the proxy attribute of the Transport object |
void |
setProxyAddress(ProxyAddress proxy)
Sets the proxyAddress attribute of the Transport object |
void |
setPublicAddress(PublicAddress address)
Sets the publicAddress attribute of the Transport object |
void |
setPublicAddresses(List addresses)
Sets the publicAddresses attribute of the Transport object |
void |
setScheme(String scheme)
Sets the scheme attribute of the Transport object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Transport(String scheme)
scheme
- Description of the ParameterMethod Detail |
---|
public String getScheme()
public void setScheme(String scheme)
scheme
- The new scheme valuepublic boolean isEnabled()
public void setEnabled(boolean isEnabled)
isEnabled
- The new enabled valuepublic boolean isIncoming()
public void setIncoming(boolean isIncoming)
isIncoming
- The new incoming valuepublic boolean isOutgoing()
public void setOutgoing(boolean isOutgoing)
isOutgoing
- The new outgoing valuepublic List getAddresses()
public void setAddress(Address address)
address
- The new address valuepublic void setAddresses(List addresses)
addresses
- The new addresses valuepublic void addAddress(Address address)
address
- The feature to be added to the Address attributepublic void addAddresses(List addresses)
addresses
- The feature to be added to the Addresses attributepublic Address removeAddress(Address address)
address
- Description of the Parameter
null
if absentpublic void clearAddresses()
public List getPublicAddresses()
public void addPublicAddress(PublicAddress address)
address
- The feature to be added to the PublicAddress attributepublic void addPublicAddresses(List addresses)
addresses
- The feature to be added to the PublicAddresses
attributepublic void setPublicAddress(PublicAddress address)
address
- The new publicAddress valuepublic void setPublicAddresses(List addresses)
addresses
- The new publicAddresses valuepublic Address removePublicAddress(PublicAddress address)
address
- Description of the Parameter
public void clearPublicAddresses()
public boolean isProxy()
public void setProxy(boolean isProxyEnabled)
isProxyEnabled
- The new proxy valuepublic ProxyAddress getProxyAddress()
public void setProxyAddress(ProxyAddress proxy)
proxy
- The new proxyAddress value
IllegalArgumentException
- Description of the Exception
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |